1
READC on load all AS/400 subfile
I have a load all subfile. Data is entered in a select field, F1 is hit, I go into a routine to READ the Changes on the subfile. The READC indicator comes on for the first read, thus leaving the routine. Why? 238 C* READ THE SUBFILE CHANGES 239 C SrReadC BEGSR [...]
Answer Question
| October 25, 2010 9:41 PM
AS/400 Subfiles, READC, RPG, RPG READC subfile, RPG Subroutine
I have a load all subfile. Data is entered in a select field, F1 is hit, I go into a routine to READ the Changes on the subfile. The READC indicator comes on for the first read, thus leaving the routine. Why? 238 C* READ THE SUBFILE CHANGES 239 C SrReadC BEGSR [...]
subrcp in S/36 environment
What can I replace “SUBRCP”, a non-IBM subroutine that returns cursor position on the screen to a S/36 program, with that will work in System/36 environment? Is there a AS/400 routine (function, or ??) that will work in the System/36 environment on an iSeries AS/400?
Answer Question
| September 1, 2010 6:43 PM
AS/400, iSeries, RPG Subroutine
What can I replace “SUBRCP”, a non-IBM subroutine that returns cursor position on the screen to a S/36 program, with that will work in System/36 environment? Is there a AS/400 routine (function, or ??) that will work in the System/36 environment on an iSeries AS/400?
Suggesions for programming task in RPG
Hi I have a task to perform Create a screen with a date and year field,the value given in this field will be mapped to a database file and a set of records will be retrieved from this file with the screen values as select conditions.This has to be further written to a new file. [...]
Answer Question
| December 15, 2008 11:52 AM
RPG, RPG Subroutine, RPG/400
Hi I have a task to perform Create a screen with a date and year field,the value given in this field will be mapped to a database file and a set of records will be retrieved from this file with the screen values as select conditions.This has to be further written to a new file. [...]
rpg
I have created a subroutine to update a display file. key CHAINfile 90 *IN90 IFEQ *OFF MOVELfieldvalue screenvalue EXFMTscreen MOVELscreenvalue filevalue UPDATrecfmt of file END ENDSR Is this logic right? 1.the value in the file is not getting displayed when screen is invoked 2.the field appears blank when updated the file doesnt get updated.
Answer Question
| December 10, 2008 4:00 PM
RPG, RPG Display File, RPG Subroutine
I have created a subroutine to update a display file. key CHAINfile 90 *IN90 IFEQ *OFF MOVELfieldvalue screenvalue EXFMTscreen MOVELscreenvalue filevalue UPDATrecfmt of file END ENDSR Is this logic right? 1.the value in the file is not getting displayed when screen is invoked 2.the field appears blank when updated the file doesnt get updated.
1





