RPG/400 - Window Subfile
I want to display a footer on a window subfile. I have used a window subfile which displays a list of codes. And want to have a footer on this window. For this I used a simple WINDOW having the same border formats and position as that of the Window subfile - this contains just one line at the...
I want to display a footer on a window subfile. I have used a window subfile which displays a list of codes. And want to have a footer on this window. For this I used a simple WINDOW having the same border formats and position as that of the Window subfile - this contains just one line at the...
RPG - Subfile - Read using RRN
Is it possible to read a subfile record if its RRN number is known? In my case, when on a subfile record, if F4 is pressed a Prompt window is displayed to list codes. When a code is selected I want this selected code to appear in my subfile record for which the F4 was pressed. In my case I have...
Is it possible to read a subfile record if its RRN number is known? In my case, when on a subfile record, if F4 is pressed a Prompt window is displayed to list codes. When a code is selected I want this selected code to appear in my subfile record for which the F4 was pressed. In my case I have...
RPG/400 - Subfile
How to code a 'Position To' functionality in a 'Load All' subfile? I.e Once we load all the subfile, and the element is present in the 5th page, then how to postion the display to the 5th page?
How to code a 'Position To' functionality in a 'Load All' subfile? I.e Once we load all the subfile, and the element is present in the 5th page, then how to postion the display to the 5th page?
SFL Conditioning
I have a subfile data entry screen where a user needs to enter data into several fields. There is a subroutine that checks for both entry and valid data for each field. Indicators are supposed to color, position the cursor and reverse the specific field if the field does not pass verification yet...
I have a subfile data entry screen where a user needs to enter data into several fields. There is a subroutine that checks for both entry and valid data for each field. Indicators are supposed to color, position the cursor and reverse the specific field if the field does not pass verification yet...
AS/400:- I need to build a query to select records, to be displayed in subfile
The requirement is basically:- 1) I have a screen with some "FROM" and "TO" fields(see below:) -------------------------------------------------------------------------------------------------------------- Select: From To ...
The requirement is basically:- 1) I have a screen with some "FROM" and "TO" fields(see below:) -------------------------------------------------------------------------------------------------------------- Select: From To ...
Subfile whats the difference between in READC and SFLNXTCHG
Hi Friends, I am new learner of as/400. Can somebody tell me that whats diff. between in READC and SFLNXTCHG ..can somebody gv me a practical example of sflnxtchg means why and when we use this keyword.... Thanks in advance....
Hi Friends, I am new learner of as/400. Can somebody tell me that whats diff. between in READC and SFLNXTCHG ..can somebody gv me a practical example of sflnxtchg means why and when we use this keyword.... Thanks in advance....
single page subfile
Hello friend, Currently i m learning as/400.i am confidence when i make load all subfile and expandable subfile...but when i go for single page subfile...i always stucked....i dont understand..page up and page down subroutine.....if anybody hv full progrm for single page subfile plzz mail...
Hello friend, Currently i m learning as/400.i am confidence when i make load all subfile and expandable subfile...but when i go for single page subfile...i always stucked....i dont understand..page up and page down subroutine.....if anybody hv full progrm for single page subfile plzz mail...
Multiple Sorts Without Using Multiple Function Keys
When doing WRKACTJOB, you can put the cursor over the column you wish to sort and then press F16. I have a subfile program with multiple sorts and presently the user has to press different function keys to sort. Can anyone give me an example of the code to use so my program will act like that in...
When doing WRKACTJOB, you can put the cursor over the column you wish to sort and then press F16. I have a subfile program with multiple sorts and presently the user has to press different function keys to sort. Can anyone give me an example of the code to use so my program will act like that in...
Clearing a subfile screen
I have a load-all subfile that offers the user an Fkey to only display records that contain a predetermined value in a specific field. Here's the problem; If the user presses the Fkey and there are no records that contain the value required to select the record for display, I present the user...
I have a load-all subfile that offers the user an Fkey to only display records that contain a predetermined value in a specific field. Here's the problem; If the user presses the Fkey and there are no records that contain the value required to select the record for display, I present the user...
READ FROM SUBFILE
Hi, I have a problem in reading my subfile: After loading the subfile and display that on screen, I want to read the records of subfile and write them on preint file. But inspite of managing the RRN, every CHAIN command get the last record of subfile. here is the code: C EVAL ...
Hi, I have a problem in reading my subfile: After loading the subfile and display that on screen, I want to read the records of subfile and write them on preint file. But inspite of managing the RRN, every CHAIN command get the last record of subfile. here is the code: C EVAL ...


