write in a PF file
Hi everyone! I have an RPGLE program that creates four physical files (using the QCMDEXC program). These physical files have no DDS. In the same program, I read another physical file (that’s a copy of a spool file). If the line (s) read met some specified criteria, it needs to be written to one of [...]
Answer Question
| November 28, 2005 10:03 AM
CLP, RPG, RPG ILE, RPGLE
Hi everyone! I have an RPGLE program that creates four physical files (using the QCMDEXC program). These physical files have no DDS. In the same program, I read another physical file (that’s a copy of a spool file). If the line (s) read met some specified criteria, it needs to be written to one of [...]
How to operating with Multiple Member PF in RPG ?
I have a multiple member physical file and I want to operate(read/update/delete) with specific member in RPG. The member name for that PF need to be set at runtime depending upon from which program this rpg program is called. I am writing the sample code that I was trying, but it ends up with compilation [...]
Answer Question
| November 20, 2009 12:06 AM
AS/400, CLP, DB2 Universal Database, RPG, RPGLE
I have a multiple member physical file and I want to operate(read/update/delete) with specific member in RPG. The member name for that PF need to be set at runtime depending upon from which program this rpg program is called. I am writing the sample code that I was trying, but it ends up with compilation [...]
STRSEU macro – how to run Repetitive tasks on source members
I want to run few CHANGE commands on list of source members and add some logic to the CHANGE commands – e.g. if a source line contains ‘AAA’ then do CHANGE ‘BBB’ to ‘CCC’ I want to be able to run it in Foreground and Batch. For those of you who understand z/VM or Z/os [...]
Answer Question
| November 20, 2009 10:22 PM
AS/400, CLP, RPG
I want to run few CHANGE commands on list of source members and add some logic to the CHANGE commands – e.g. if a source line contains ‘AAA’ then do CHANGE ‘BBB’ to ‘CCC’ I want to be able to run it in Foreground and Batch. For those of you who understand z/VM or Z/os [...]
Printek printer using tcpip
What does the spool file need to look like to print a barcode on a printek 4305 se printer? I cant figure out how to send the hex command to the printer so it understands that it is a command not just text.
Answer Question
| November 17, 2005 1:49 PM
AS/400, CLP, DB2 Universal Database, RPG, RPGLE
What does the spool file need to look like to print a barcode on a printek 4305 se printer? I cant figure out how to send the hex command to the printer so it understands that it is a command not just text.
STRSEU a member and display a message while edit is starting.
how can I run the command STRSEU and display a message to the user when the source is displayed. the message can be displayed in the TOP command line or anywhere else on the screen. thanks !
Answer Question
| November 20, 2009 11:15 AM
AS/400, CLP, RPG
how can I run the command STRSEU and display a message to the user when the source is displayed. the message can be displayed in the TOP command line or anywhere else on the screen. thanks !
List parms
I am trying to pass a list parm from my command to the CL. I need help. Mike
Answer Question
| November 18, 2005 11:11 AM
AS/400, CLP, Development
I am trying to pass a list parm from my command to the CL. I need help. Mike
rpg
We just upgraded to an iSeries box with 5.3. We were running 4.6. My RPG programs function properly until I recompile the program. Then I get an compile error 7073 regarding the length of a key field not equal. The compile shows BIN2 (and sometimes multiples) after the other key fields and I can’t get [...]
Answer Question
| November 20, 2009 3:06 PM
AS/400, CLP, DB2 Universal Database, RPG, RPGLE
We just upgraded to an iSeries box with 5.3. We were running 4.6. My RPG programs function properly until I recompile the program. Then I get an compile error 7073 regarding the length of a key field not equal. The compile shows BIN2 (and sometimes multiples) after the other key fields and I can’t get [...]





