How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?
Answers were Sorted based on User's Feedback
Answer / ajit
Hi,
I think slfsiz = sflpag in SINGLE Page, so please explore your answer...............
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / krisalli
making SFLSIZ at-least 1 greater than the SFLPAG.
| Is This Answer Correct ? | 3 Yes | 15 No |
we are sending data of physical file to screen design and it is showing no record why?
Why did we give STRSRVJOB while debugging batch program
how can I tell when to replace the array?
what is the difference between the procedure and module in ILERPG?
Can a run time array be declare like below with no specified number of elements ? Is it possible ? DFLD_ARRAY 7 DIM() INZ(*blanks) What does this mean ? Does this mean that the number of array elements will be dynamically declared during run time ?
are there any useful c runtime apis that I can call from rpg iv?
How can you determine the number of characters in a variable?
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
How to select highest score of each subject or how to select highest income of every month?
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
what do you mean by an input subfile, what are the keywords required?