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 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?
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 [...]
CPF5032 member already locked to this job
I have a program written in RPGLE which calls numerous other programs. These programs all share similar files. In my main program, when trying to read a particular file, I get error CPF5032 even though I unlock the file right before I do the setll reade. As a result, I figured the lock must be [...]
Answer Question
| February 21, 2012 6:39 PM
*INLR, CPF5032, RPG, RPG ILE, RPG IV, RPG Programs, RPGILE, RPGLE, V5R4
I have a program written in RPGLE which calls numerous other programs. These programs all share similar files. In my main program, when trying to read a particular file, I get error CPF5032 even though I unlock the file right before I do the setll reade. As a result, I figured the lock must be [...]
Receiving a Binary file
I have a vendor who is placing a files on a FTP Server in Binary. I need to retrieve those files and place them into an iSeries database file. Is there away to retrieve the file straight from the FTP Server into the database file using GET that will translate from binary to mixed text [...]
Answer Question
| May 3, 2011 2:32 PM
Binary data, Database Files, FTP, iSeries, RPG IV
I have a vendor who is placing a files on a FTP Server in Binary. I need to retrieve those files and place them into an iSeries database file. Is there away to retrieve the file straight from the FTP Server into the database file using GET that will translate from binary to mixed text [...]
How to send email through RPG IV or CL?
[strong]I need to send my spool file thru email [/strong]
Answer Question
| May 2, 2011 11:11 AM
AS/400 email, AS/400 Spool Files, CL programs, RPG IV, Spool files
[strong]I need to send my spool file thru email [/strong]
Problem in writing footer in windows subfile
hi if i write footer its not getting displayed… write control write footer exfmt control.. i hv coded lik above pls rep as soon as possible
Answer Question
| April 27, 2011 11:10 AM
AS/400 Subfiles, RPG IV, Subfile
hi if i write footer its not getting displayed… write control write footer exfmt control.. i hv coded lik above pls rep as soon as possible
How to display error message without using error message but from complete file time array
DEAR, HI I HAVE TO DISPLAY ERROR MESSAGES LIKE WHEN I ADD EMPLOYEE CODE,MY PROGRAM SHOULD DISPLAY ERROR MESSAGE AS “EMPLOYEE ALREADY EXISTS”… ONE THING I SHOULD NOT USE ERROR MESSAGE OR ERRMSGID SIMPLE DISPLAY FILE… NOT USING SUBFILE… THEN MAINLY I AM USING COMPILE TIME ARRAY as err1… VALUES LIKE ** RECORD ALREADY EXISTS [...]
Answer Question
| March 22, 2011 8:56 AM
AS/400 administration, AS/400 error messages, AS/400 errors, Display File, RPG IV
DEAR, HI I HAVE TO DISPLAY ERROR MESSAGES LIKE WHEN I ADD EMPLOYEE CODE,MY PROGRAM SHOULD DISPLAY ERROR MESSAGE AS “EMPLOYEE ALREADY EXISTS”… ONE THING I SHOULD NOT USE ERROR MESSAGE OR ERRMSGID SIMPLE DISPLAY FILE… NOT USING SUBFILE… THEN MAINLY I AM USING COMPILE TIME ARRAY as err1… VALUES LIKE ** RECORD ALREADY EXISTS [...]
Chain in RPG IV
What is your definition of CHAIN and when do you use it in your programming?
Answer Question
| February 17, 2011 4:01 PM
AS400 Data Definitions, CHAIN, RPG IV
What is your definition of CHAIN and when do you use it in your programming?
Help with AS/400 array
hi evryone, i’m a beginner with Java and i try this: try{ AS400Array txtarr =new AS400Array(AS400PackedDecimal(55,0),100); parmList[0] = new ProgramParameter(txtarr.toBytes(new BigDecimal(0)),55); ProgramCall pgm = new ProgramCall(sistem,”/qsys.lib/xxx.lib/….pgm”,parmList); in my RPG program i have this: D numcli s 55 0 dim(100) C parm numclie i need get this array from rpg, how can i make this happening, i [...]
Answer Question
| April 8, 2011 9:02 PM
AS/400, iSeries RPG programming, Java, Java classes, RPG ILE, RPG IV, V5R4
hi evryone, i’m a beginner with Java and i try this: try{ AS400Array txtarr =new AS400Array(AS400PackedDecimal(55,0),100); parmList[0] = new ProgramParameter(txtarr.toBytes(new BigDecimal(0)),55); ProgramCall pgm = new ProgramCall(sistem,”/qsys.lib/xxx.lib/….pgm”,parmList); in my RPG program i have this: D numcli s 55 0 dim(100) C parm numclie i need get this array from rpg, how can i make this happening, i [...]
Reorganizing AS/400 Files While Active
I work for a company which is a 24/7 company. I cannot get them tp give up the system for any length of time. As a result, any type of maintenance is almost impossible. My biggest problem is reorganizing our files. I have heard that you can do a reorg while active but you must [...]
Answer Question
| February 10, 2011 2:36 PM
AS/400, AS/400 Record Reorganization, RPG, RPG ILE, RPG IV, RPGILE, RPGLE, V5R4
I work for a company which is a 24/7 company. I cannot get them tp give up the system for any length of time. As a result, any type of maintenance is almost impossible. My biggest problem is reorganizing our files. I have heard that you can do a reorg while active but you must [...]
Available Certifications for AS/400 Developers
Hi All, I have been working on AS400 as a Developer on RPG IV, CL and DB2/400 for around 4 years and i wanted to do any certification regards to AS400. Actually I’m planned to write RPG IV Certification Exam(Certification No :268), but recently i came to know from my friend that this certification is [...]
Answer Question
| April 4, 2012 12:47 PM
AS/400, AS/400 certification, AS/400 development, RPG IV
Hi All, I have been working on AS400 as a Developer on RPG IV, CL and DB2/400 for around 4 years and i wanted to do any certification regards to AS400. Actually I’m planned to write RPG IV Certification Exam(Certification No :268), but recently i came to know from my friend that this certification is [...]
Take a date and format to MDY in RPG IV
I have a date coming in from a file (ADDate Zoned 8 0) so it comes out 20090428 but I want to have it convert to 042809 how can I do that? thanks
Answer Question
| February 1, 2011 12:27 AM
AS/400 date format, AS400 RPGLE, RPG IV
I have a date coming in from a file (ADDate Zoned 8 0) so it comes out 20090428 but I want to have it convert to 042809 how can I do that? thanks
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.?
Command to track how many spool files users have
I have certain users who never clean out their spool files. Is there any command I can run which will tell me how many spool files a user has out there? I am currently on version V5R4 of the operating system
Answer Question
| September 29, 2010 3:20 PM
AS/400 Spool Files, CLLE, iSeries Commands, RPG, RPG ILE, RPG IV, RPGLE, Spool files, V5R4
I have certain users who never clean out their spool files. Is there any command I can run which will tell me how many spool files a user has out there? I am currently on version V5R4 of the operating system
Position Cursor Issue in subfile
I have a subfile with ‘Position to’ option in control format. so to keep the cursor in subfile recod, i have used DSPATR(PC) for option field and Reverse Image as well. But indicators are different, when I am trying to show error, i m setting the both indicators (PC,RI since i have used different Indicators)… [...]
Answer Question
| July 27, 2010 2:25 PM
AS/400 Subfiles, RPG ILE, RPG IV, Subfile Display
I have a subfile with ‘Position to’ option in control format. so to keep the cursor in subfile recod, i have used DSPATR(PC) for option field and Reverse Image as well. But indicators are different, when I am trying to show error, i m setting the both indicators (PC,RI since i have used different Indicators)… [...]
Loading two Subfile On same screen.
How To Load Two Subfiel In a single screen?
Answer Question
| July 8, 2010 3:58 AM
AS/400 Subfiles, RPG IV
How To Load Two Subfiel In a single screen?
Problem with *READ Trigger Program
Caller Program A Reads a record from File X. “After-Read-Trigger” kicks in and calls Program B. Program B changes the Read-Record’s fields as per the required logic (I can see the modified trigger-buffer in debug).
Answer Question
| March 18, 2010 5:23 PM
RPG ILE, RPG IV, RPGILE, RPGLE
Caller Program A Reads a record from File X. “After-Read-Trigger” kicks in and calls Program B. Program B changes the Read-Record’s fields as per the required logic (I can see the modified trigger-buffer in debug).
Non Subfile Field Not Changing When Doing an EXFMT
This should be a simple thing to do but it is not working. I have an RPG program in which the user enters a warehouse code and presses enter. If the code is valid, it then populates a field in the record with the warehouse description. If the user changes the code to an invalid [...]
Answer Question
| January 20, 2012 5:23 PM
RPG, RPG debugging, RPG ILE, RPG IV, RPG/400, RPGLE
This should be a simple thing to do but it is not working. I have an RPG program in which the user enters a warehouse code and presses enter. If the code is valid, it then populates a field in the record with the warehouse description. If the user changes the code to an invalid [...]
Text Editor (Word Processor) on iSeries.
On our system we have limitless text for our Items. We developed a rudimentary text editor many years ago which is also used for creating letters (for emails/faxes etc) but ideally we would like to buy a decent ‘text editor’ that is native to the iSeries. Does anyone know of such a utility/product that we could integrate into [...]
Answer Question
| February 8, 2010 12:48 PM
AS/400, iSeries, RPG IV, RPGLE
On our system we have limitless text for our Items. We developed a rudimentary text editor many years ago which is also used for creating letters (for emails/faxes etc) but ideally we would like to buy a decent ‘text editor’ that is native to the iSeries. Does anyone know of such a utility/product that we could integrate into [...]





