Password Expiry
Hi,if i want to change my password after 15 days ..then plz gv me a coding for that in rpgiv....
Hi,if i want to change my password after 15 days ..then plz gv me a coding for that in rpgiv....
RPG //EJECT
Used to use //EJECT to force page breaks while printing out source (usually at end of each subroutine. Doesn't seem to work anymore. Any suggestions?
Used to use //EJECT to force page breaks while printing out source (usually at end of each subroutine. Doesn't seem to work anymore. Any suggestions?
Using *HIVAL
Can I use *HIVAL in Free? (e.g. SetGT (*Hival) Rcd01;) Will this statement position the file cursor after the last record? Thanks. RE
Can I use *HIVAL in Free? (e.g. SetGT (*Hival) Rcd01;) Will this statement position the file cursor after the last record? Thanks. RE
Using system() function in RPG IV
Could someone please tell why this doesn't work? Path = '\SOMENAME. I get a CPF006 ('Errors occurred in command.') The message in the joblog is 'String '\XMLDATA\A' contains a character that is not valid.' D path S 63A Varying D cpfmsg S ...
Could someone please tell why this doesn't work? Path = '\SOMENAME. I get a CPF006 ('Errors occurred in command.') The message in the joblog is 'String '\XMLDATA\A' contains a character that is not valid.' D path S 63A Varying D cpfmsg S ...
XML-INTO
I'm trying to use XML-INTO with %XML to convert an XML document into a DB2 database file. The XML file has four levels of data with elements from each level that need to be used for the database record. Naturally, the relationships between the level are important, too. The levels are Header...
I'm trying to use XML-INTO with %XML to convert an XML document into a DB2 database file. The XML file has four levels of data with elements from each level that need to be used for the database record. Naturally, the relationships between the level are important, too. The levels are Header...
RPQSQL / SQLRPG
Any body please help Wanted to know the advantage and disadvantage using RPGSQL / SQLRPG I've heard that this is the new one its not only RPG but become one with SQL. Thanks in advance
Any body please help Wanted to know the advantage and disadvantage using RPGSQL / SQLRPG I've heard that this is the new one its not only RPG but become one with SQL. Thanks in advance
Automated file transfer from AS400 to Word?
A search400.com reader wrote in with this question: I need to take a spool file (say a Collection Letter) generated from RPGIV. I can copy this spool file to a physical file if needed. I want to automatically import or send this file to Microsoft Word for editing purposes. I have used the...
A search400.com reader wrote in with this question: I need to take a spool file (say a Collection Letter) generated from RPGIV. I can copy this spool file to a physical file if needed. I want to automatically import or send this file to Microsoft Word for editing purposes. I have used the...
RPG %SCAN Question
I am unable to get all the scanned records for a string in a file. For example, my file itemmast has 1000 records in it. When I use Query 400 and search for 'cable' I get 50 records with the word cable in various positions of a 30 character field. When I use the statement "x = %scan (xcust_pn :...
I am unable to get all the scanned records for a string in a file. For example, my file itemmast has 1000 records in it. When I use Query 400 and search for 'cable' I get 50 records with the word cable in various positions of a 30 character field. When I use the statement "x = %scan (xcust_pn :...
Printing Logos
We are eliminating some preprinted forms and creating the forms ourselves. The problem is these preprinted forms have our company logo on it. How can I add a logo to a report created on the AS400 in RPGLE?
We are eliminating some preprinted forms and creating the forms ourselves. The problem is these preprinted forms have our company logo on it. How can I add a logo to a report created on the AS400 in RPGLE?
Writing Information to the JobLog
I've seen a number of snippets here and there on the internet regarding the ability to write specific information to the job log in order to figure out exact problems, based on the conditions placed within. I've seen reference being made to some API, but have been unable to actually find useful...
I've seen a number of snippets here and there on the internet regarding the ability to write specific information to the job log in order to figure out exact problems, based on the conditions placed within. I've seen reference being made to some API, but have been unable to actually find useful...
How to read records in all of the members of a single pf?
I have a file name file1. it has 30 members. i have a input value from a display file and i need to check it in all the members. If it match i write the record in file2. How to read records in all members of a single pf?
I have a file name file1. it has 30 members. i have a input value from a display file and i need to check it in all the members. If it match i write the record in file2. How to read records in all members of a single pf?
Advanced Trigger question for *insert *before to allow update of field value
I need to update a field in a record being written prior to it being written. I want to do it with a trigger because many programs write and update this file. I have tried several things and the closest I have gotten is to do a *before *insert where I can see the values of the fields in the after...
I need to update a field in a record being written prior to it being written. I want to do it with a trigger because many programs write and update this file. I have tried several things and the closest I have gotten is to do a *before *insert where I can see the values of the fields in the after...
open(open file for processing)
OPEN commmand is used for what purpose in rpgiv.pls also give me the short program of this command.
OPEN commmand is used for what purpose in rpgiv.pls also give me the short program of this command.


