Can I move a data structue(along with positional-values) into a Data area of same length.
Can I move a data structue(along with positional-values) into a Data area of same length. Can I move a data structue having positional-values exactly into the same positions of the data area. my code is as follows:- 0014.00 FCS86C00 CF E WORKSTN 0015.00 * 0016.00 I@DS001 DS 452 0017.00 I 1 256 @DTA 0018.00 I [...]
Answer Question
| May 22, 2013 7:10 AM
AS/400, RPG/400
Can I move a data structue(along with positional-values) into a Data area of same length. Can I move a data structue having positional-values exactly into the same positions of the data area. my code is as follows:- 0014.00 FCS86C00 CF E WORKSTN 0015.00 * 0016.00 I@DS001 DS 452 0017.00 I 1 256 @DTA 0018.00 I [...]
How to implement MOUBTN using RPG III/RPG400
We are converting some code in a legacy application and, in its simplest form, want to know that a mouse has been used/clicked rather than ENTER pressed. We are not that familiar with the MOUBTN keyword, which we assume will tell us what we want, and are having trouble getting this to work. Though we’ve [...]
Answer Question
| January 17, 2013 2:58 PM
AS/400, DSPF, MOUBTN, Mouse, RPG III, RPG/400
We are converting some code in a legacy application and, in its simplest form, want to know that a mouse has been used/clicked rather than ENTER pressed. We are not that familiar with the MOUBTN keyword, which we assume will tell us what we want, and are having trouble getting this to work. Though we’ve [...]
Can I Declare a variable-length Array?
Is it possible to Declare a variable-length Array viz.. like we have in “VARLEN” in DDS?
Answer Question
| March 17, 2012 1:31 PM
AS/400, RPG/400, RPGILE
Is it possible to Declare a variable-length Array viz.. like we have in “VARLEN” in DDS?
Are there any Synon experts out there? (20 plus years)
Experienced, 20 years plus, synon developers have probably forgotten more about synon than the new generation (yes there are young people learning synon) will ever know. Does any of those experts remember the phantom + sign on subfile displays when there were no more records to display? If so, what is the solution to [...]
Answer Question
| March 17, 2012 7:46 PM
RPG, RPG ILE, RPG IV, RPG Language Support, RPG/400, RPGILE, RPGLE, Synon, Synon 2E, Synon/2E, Synon/Cool 2E
Experienced, 20 years plus, synon developers have probably forgotten more about synon than the new generation (yes there are young people learning synon) will ever know. Does any of those experts remember the phantom + sign on subfile displays when there were no more records to display? If so, what is the solution to [...]
RPG/400 array
Hi, This is verry good website for learners and realtime questioners and others.I recieved this web site name from one of my friend. I am facing real senario from it guies where i am working.Please give me your experienced answers for my clarify questions. !.What is the difference between array types with pros and cons? [...]
Answer Question
| October 19, 2011 3:30 AM
Arrays, RPG/400, SFL
Hi, This is verry good website for learners and realtime questioners and others.I recieved this web site name from one of my friend. I am facing real senario from it guies where i am working.Please give me your experienced answers for my clarify questions. !.What is the difference between array types with pros and cons? [...]
RPG FREE Reference Book
Currently, I am using RPG IV. However, I need to learn how to code in RPG Free. Can anyone tell me the names of some good books and/or tutorials which would help with this?
Answer Question
| October 14, 2011 5:59 PM
RPG, RPG ILE, RPG IV, RPG Language Support, RPG/400, RPGLE
Currently, I am using RPG IV. However, I need to learn how to code in RPG Free. Can anyone tell me the names of some good books and/or tutorials which would help with this?
Read & Write Flat file
I want to read & write same flat file(CSV).For eg.If I have flat file structure in this way 1′PL’,'ABC’ 2 ‘PL’,'DEF’ 3′PP’,'BGC’ In this I am reading only PL type of records.If it is PL type like ‘ABC’then i am doing some processing & writing ‘PL’,'RIC’ record in to the same.After writing the record pointer will come [...]
Answer Question
| October 13, 2011 7:42 AM
AS/400 flat file, Flat files, RPG/400
I want to read & write same flat file(CSV).For eg.If I have flat file structure in this way 1′PL’,'ABC’ 2 ‘PL’,'DEF’ 3′PP’,'BGC’ In this I am reading only PL type of records.If it is PL type like ‘ABC’then i am doing some processing & writing ‘PL’,'RIC’ record in to the same.After writing the record pointer will come [...]
Reading only the active records in a flat file
I have a physical flat file which has thousands of deleted records. (I can’t get exclusive use of the system to do a reorg) I am doing a sequential read of the file because the file only has a few active records. However, it is taking the program awhile to finish and I’m guessing it is [...]
Answer Question
| March 31, 2012 7:05 PM
AS/400 flat file, RPG, RPG ILE, RPG IV, RPG/400, RPGILE, RPGLE
I have a physical flat file which has thousands of deleted records. (I can’t get exclusive use of the system to do a reorg) I am doing a sequential read of the file because the file only has a few active records. However, it is taking the program awhile to finish and I’m guessing it is [...]
create 39 barcode using PCL commands
what is PCL command for 39 barcode sent from AS400
Answer Question
| October 6, 2011 12:34 PM
AS/400 commands, CL Commands, PCL, RPG/400
what is PCL command for 39 barcode sent from AS400
RPG window subfile
Can I dynamically alter the number of lines displayed in a window?
Answer Question
| March 31, 2012 4:50 PM
AS/400, RPG/400, RPG/400 Subfile, Subfile Truncation
Can I dynamically alter the number of lines displayed in a window?
Using CL Commands
Hi, How run the cl commands using rpg/400? how to use the chkobj command in rpg program? (That mean without using command line from wrkmbrpdm?
Answer Question
| March 31, 2012 10:27 AM
AS/400 objects, CL Commands, RPG/400
Hi, How run the cl commands using rpg/400? how to use the chkobj command in rpg program? (That mean without using command line from wrkmbrpdm?
Upgrading from RPG3 to RPG400
how to upgrade rpg 3 to rpg400
Answer Question
| March 31, 2012 7:14 AM
iSeries Upgrades, RPG upgrades, RPG/400, RPG3
how to upgrade rpg 3 to rpg400
how to explore a new AS/400 application?
Dear esteemed AS/400 Gurus! I am faced with a new problem. I have been put on a new AS/400 application(Banking related) & am expected to deliver results within very short time(of about 15-days). Hence I request you to let me know How to learn any new AS/400 application fast/quickly & explore it. (NOTE: I don’t [...]
Answer Question
| March 31, 2012 5:09 AM
AS/400, AS/400 applications, RPG/400, RPGILE
Dear esteemed AS/400 Gurus! I am faced with a new problem. I have been put on a new AS/400 application(Banking related) & am expected to deliver results within very short time(of about 15-days). Hence I request you to let me know How to learn any new AS/400 application fast/quickly & explore it. (NOTE: I don’t [...]
Autorefresh in RPG
Once the display file is displyed, the control should be come back to the program after specified time and do the refresh of the screen. Can you please suggest some of the good methods and some examples for DFRWRT in DDS.
Answer Question
| July 13, 2011 4:34 PM
AS/400 Display File, Display File, RPG Display File, RPG/400
Once the display file is displyed, the control should be come back to the program after specified time and do the refresh of the screen. Can you please suggest some of the good methods and some examples for DFRWRT in DDS.
Batch Jobs in AS/400
Hi Group, We have an application developed in RPG/400, COBOL/400, CL/400 & ILE. There are few batch jobs that are supposed to be run at the End of the Day. The execution time for these batch jobs is very high. What measures can be taken to reduce the down time? Suppose we want to move [...]
Answer Question
| April 25, 2012 1:52 AM
AS/400, AS/400 batch jobs, COBOL/400, RPG/400
Hi Group, We have an application developed in RPG/400, COBOL/400, CL/400 & ILE. There are few batch jobs that are supposed to be run at the End of the Day. The execution time for these batch jobs is very high. What measures can be taken to reduce the down time? Suppose we want to move [...]
Batch job and interactive jobs in RPG/400
In RPG, when do we need to do batch job debugging and when do we need to do interactive debugging? Can someone help me please? I’m a newbie.
Answer Question
| April 4, 2011 12:43 PM
AS/400 batch jobs, AS/400 Interactive Jobs, Batch jobs, RPG/400
In RPG, when do we need to do batch job debugging and when do we need to do interactive debugging? Can someone help me please? I’m a newbie.
File and Fields in RPG400
I have a file that contains the file and its’ respective field. In my RPG, I want to read the file as retreive from the database. And use the fields from the file for testing. For example: F Specs FILEAAA My database contains: Filename : FILEAAAA Field Name : FIELD1 Value = 30 In RPG, [...]
Answer Question
| March 1, 2011 10:00 AM
AS400 RPGLE, RPG/400, RPG/400 field validation
I have a file that contains the file and its’ respective field. In my RPG, I want to read the file as retreive from the database. And use the fields from the file for testing. For example: F Specs FILEAAA My database contains: Filename : FILEAAAA Field Name : FIELD1 Value = 30 In RPG, [...]
packed & zoned both are used for numeric data types in rpg but if packed occupies 1 byte and zoned occupied 2 bytes then why don’t we use packed?
packed & zoned both are used for numeric data types in rpg/400 but if packed occupies 1 byte and zoned occupies 2 bytes then why don’t we use packed always considering system storage capacity?
Answer Question
| February 8, 2011 5:34 PM
AS/400, RPG Data Fields, RPG/400, Storage capacity planning
packed & zoned both are used for numeric data types in rpg/400 but if packed occupies 1 byte and zoned occupies 2 bytes then why don’t we use packed always considering system storage capacity?
READC is activating even when no records in subfile have been changed?
READC is activating even when no records in subfile have been changed?
Answer Question
| January 20, 2011 3:47 PM
AS/400 Subfiles, AS/400 Workstations, READC, RPG/400
READC is activating even when no records in subfile have been changed?
Days of the week in AS/400 V5R4
I know how to determine the day of the week a date falls on. However, I was wondering if there was an easy way to figure the following information: 02/01/10 was the 5th Monday of year 2010, 01/07/11 is the 1st Friday of 2011, etc.?
Answer Question
| January 4, 2011 5:08 PM
RPG, RPG ILE, RPG IV, RPG/400, RPGLE, V5R4
I know how to determine the day of the week a date falls on. However, I was wondering if there was an easy way to figure the following information: 02/01/10 was the 5th Monday of year 2010, 01/07/11 is the 1st Friday of 2011, etc.?





