rpg/400
below program write a records to xodstsf in two times…. i am not sure where i missing… can you advice. FWDRPIK CF E WORKSTN FXODSTSF O E DISK FTFL01 UF E K DISK DORDINV S 15A D*ORD S 8A C* *IN03 DOWEQ *OFF C DOW *IN03=*OFF C EXFMT PKSCR C PKLBL CHAIN TFOOD00 C* *IN25 [...]
Answer Question
| April 2, 2009 1:39 PM
RPG, RPG/400, xodstsf
below program write a records to xodstsf in two times…. i am not sure where i missing… can you advice. FWDRPIK CF E WORKSTN FXODSTSF O E DISK FTFL01 UF E K DISK DORDINV S 15A D*ORD S 8A C* *IN03 DOWEQ *OFF C DOW *IN03=*OFF C EXFMT PKSCR C PKLBL CHAIN TFOOD00 C* *IN25 [...]
SETLL
Hi I have a set of records whose key has duplicates. Can SETLL be used to read these set of records.I need this to be done as part of a loop.
Answer Question
| April 1, 2009 10:08 AM
RPG, RPG/400, Set Lower Limit, SETLL
Hi I have a set of records whose key has duplicates. Can SETLL be used to read these set of records.I need this to be done as part of a loop.
Comparing ID and password in an AS/400 login screen
Dear friends iam quite new to this AS/400 . could you please let me know how to compare the id and password in a login screen..how to connect the cl program and display file to perform login operation .Do i need to write rpg code for that ..Pls help me out with this code in [...]
Answer Question
| March 30, 2009 6:39 AM
AS/400 login, AS/400 passwords, AS/400 user sessions, CL, CL/400, RPG, RPG/400
Dear friends iam quite new to this AS/400 . could you please let me know how to compare the id and password in a login screen..how to connect the cl program and display file to perform login operation .Do i need to write rpg code for that ..Pls help me out with this code in [...]
No Source Showing
When I compile my RPGLE source I do it with the *source for dubugging. I just noticed this was happening. Now when I try to do a display object descrition i do not get where the source was compiled from. ANy Ideas why? I need this ASAP. Thanks Source file . . . . . [...]
Answer Question
| April 3, 2009 6:28 PM
AS/400, RPG, RPGLE, V5R4, V5R4M0
When I compile my RPGLE source I do it with the *source for dubugging. I just noticed this was happening. Now when I try to do a display object descrition i do not get where the source was compiled from. ANy Ideas why? I need this ASAP. Thanks Source file . . . . . [...]
Describing files using Data Description Specifications (DDS)
Describing Files Using Data Description Specifications (DDS)’can u tell me what is the probleme IN PF
Answer Question
| March 24, 2009 9:14 AM
Data Description Specifications, DDS, DDS Error Messages, Physical File, RPG
Describing Files Using Data Description Specifications (DDS)’can u tell me what is the probleme IN PF
Journal Codes
Where can I find a list of Journal Codes? Or do you have one to share. I have all these codes like , DL, CO, OP in my journals. I can figure out some of them but i want to know what they all are. Thanks in advance
Answer Question
| March 24, 2009 7:50 PM
AS/400 journaling, Journal Codes, RPG
Where can I find a list of Journal Codes? Or do you have one to share. I have all these codes like , DL, CO, OP in my journals. I can figure out some of them but i want to know what they all are. Thanks in advance
what is the max length for an sql cursor name?
what is the max length for an embeded sql cursor name in RPG?
Answer Question
| March 20, 2009 1:19 PM
Cursor Length, Embedded SQL, RPG, SQL Cursors
what is the max length for an embeded sql cursor name in RPG?
Reading an unknown file in RPG
Hi All, I am working on a DBU like utility which will provide a maintainance screen for each file. I need to read the file in an rpg program but i dont know the program name till runtime. I can’t declare the file in F specs as i dont know the file name. SQL is [...]
Answer Question
| March 19, 2009 12:27 PM
DBU, RPG, RPG ILE, SQL
Hi All, I am working on a DBU like utility which will provide a maintainance screen for each file. I need to read the file in an rpg program but i dont know the program name till runtime. I can’t declare the file in F specs as i dont know the file name. SQL is [...]
RPG/400
i have a physical file name with length of 10 same file i need to declare in rpg/400 but here accepting only 8 length so any way to overcome….
Answer Question
| March 19, 2009 10:45 AM
Physical File, RPG, RPG/400
i have a physical file name with length of 10 same file i need to declare in rpg/400 but here accepting only 8 length so any way to overcome….
Setting lower limits In CL
I know how to declare a file and read through the data in CL….but how can you reset it? Like setll in CL. I have searched and searched but nothing works. I have closed opend…etc.. Any ideas? Example: PGM DCLF FILEA Loop: RCVF FILEA If %EOF ne ’0′ DO Goto Loop: Enddo. Now I want [...]
Answer Question
| March 19, 2009 3:32 PM
CL, CL Commands, RPG, SETLL
I know how to declare a file and read through the data in CL….but how can you reset it? Like setll in CL. I have searched and searched but nothing works. I have closed opend…etc.. Any ideas? Example: PGM DCLF FILEA Loop: RCVF FILEA If %EOF ne ’0′ DO Goto Loop: Enddo. Now I want [...]
ISeries System Debug Manager
I have recently started using the ISeries System Debug Manager (I know, finally making the move to RPGLE). I have having trouble setting up the library list for it. We do not use the SYSVAL library lists normally for our users. We have a menu system that controls the users library list outside of the [...]
Answer Question
| March 18, 2009 6:30 PM
AS/400 debugging, iSeries System Debug Manager, RPG, RPG debugging, RPGILE
I have recently started using the ISeries System Debug Manager (I know, finally making the move to RPGLE). I have having trouble setting up the library list for it. We do not use the SYSVAL library lists normally for our users. We have a menu system that controls the users library list outside of the [...]
Change AS/400 Library List for a Batch Job
HI, Is there a way by which we can override the Library List for a batch job, when the job is active?
Answer Question
| March 11, 2009 9:48 AM
AS/400 batch jobs, AS/400 Library, RPG, RPG/400, RPGLE
HI, Is there a way by which we can override the Library List for a batch job, when the job is active?
What language “Next” from RPG(LE)
Hi everyone; I took a hiatus as a stay-at-home mom and am just back into the programming world. 13 years experience – 8 year break – back 1 year. Pure AS400 (can’t say iSeries yet) do use RPGLE (thankfully) understand free – used to be MAPICS guru (can’t say Infor either). Do any of you [...]
Answer Question
| March 9, 2009 4:10 PM
AS/400 careers, IT careers, Programming Languages, RPG, RPGLE
Hi everyone; I took a hiatus as a stay-at-home mom and am just back into the programming world. 13 years experience – 8 year break – back 1 year. Pure AS400 (can’t say iSeries yet) do use RPGLE (thankfully) understand free – used to be MAPICS guru (can’t say Infor either). Do any of you [...]
RPGILE comparing values
i have a value say for example ASD12246. i need to check this value against afile which contains similar values lik this. i need to pick the value that has maximum matches with this number. Sa y for example if the File has ASD122 and ASD1224 i have to selct the code corresponding to ASD1224 [...]
Answer Question
| March 4, 2009 6:13 AM
RPG, RPG ILE, RPGILE
i have a value say for example ASD12246. i need to check this value against afile which contains similar values lik this. i need to pick the value that has maximum matches with this number. Sa y for example if the File has ASD122 and ASD1224 i have to selct the code corresponding to ASD1224 [...]
SFLRCDNBR
I want to know the use of SFLRCDNBR Keyword used in Subfile . I also want any sample Code of how it is handled in the RPGLE Program?
Answer Question
| May 20, 2011 11:06 AM
RPG, RPG/400, RPGLE, SFLRCDNBR, Subfile, Subfile Record Number
I want to know the use of SFLRCDNBR Keyword used in Subfile . I also want any sample Code of how it is handled in the RPGLE Program?
Mixed record format Subfiles
I’ve been writing standard subfiles for a while now but I’ve seen some where, to me, it looks like the subfile has a mixed record format – i.e. a header and then a variable number of detail lines. (The fields are of different length and position in the header and detail lines). I’m writing an [...]
Answer Question
| March 11, 2009 10:47 AM
RPG, RPG/400, RPGLE, Subfile
I’ve been writing standard subfiles for a while now but I’ve seen some where, to me, it looks like the subfile has a mixed record format – i.e. a header and then a variable number of detail lines. (The fields are of different length and position in the header and detail lines). I’m writing an [...]
How to add one Module to the existing Service Program
Hi, I want to add or append one new module called ‘C’ to the already existing service program(SRVPGM) For Example: I have one service program called SRVPGM consits of 2 Modules are A, B. Now i want to add one new Module called ‘C’ to SRVPGM. how can i do this ?
Answer Question
| March 3, 2009 12:18 PM
*SRVPGM, AS/400 administration, RPG, RPG/400, RPGLE
Hi, I want to add or append one new module called ‘C’ to the already existing service program(SRVPGM) For Example: I have one service program called SRVPGM consits of 2 Modules are A, B. Now i want to add one new Module called ‘C’ to SRVPGM. how can i do this ?
Pass-Through API
QPASTRPT- i can use this API to do Pass thru from one system to another, but i can’t return any values back to the calling program thru this. is there any API for that ?
Answer Question
| February 26, 2009 11:32 AM
AS/400 API, QPASTRPT, RPG, RPGLE, Start Pass-Through
QPASTRPT- i can use this API to do Pass thru from one system to another, but i can’t return any values back to the calling program thru this. is there any API for that ?
Learning RPG
Hi, I am a COBOL programmer. I want to learn RPG. Can you please suggest the best internet site to learn interactive RPG. Thank you.
Answer Question
| February 27, 2009 10:44 AM
Report Program Generator, RPG, RPG training
Hi, I am a COBOL programmer. I want to learn RPG. Can you please suggest the best internet site to learn interactive RPG. Thank you.
How to determine the RPG version
Hi, Can you tell me how to know the RPG version (III or IV) in our AS400? Also, if it’s ILE? Thank you.
Answer Question
| August 4, 2009 10:41 AM
RPG, RPG III, RPG ILE, RPG IV
Hi, Can you tell me how to know the RPG version (III or IV) in our AS400? Also, if it’s ILE? Thank you.





