1.How to read a subfile in out put mode?
2.what are the keywords used to share same file?
3.using composite key which rpg code used?
Answers were Sorted based on User's Feedback
Answer / syam
A2. Share open data path = *Yes
A3. KLIST & KFLD in Free Format %KDS
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / abhiraj
a1. by CHAIN opcode
a2 and a3 same as syam's ans
Is This Answer Correct ? | 1 Yes | 0 No |
Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding
4 Answers Infinite Computer Solutions,
explain sflclr, sflend, sfldlt, and sflcsrrrn?
Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
Why we cannot call a service program? If I add a PEP can i call the service program?
Why did we give STRSRVJOB while debugging batch program
Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
two types of read performed in dataqueue?????
A rpg or clp command to find if the file field is defined as a character or numeric field.
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.