i want code and what are used key words are ...like wrkmbrpdm screen
(q) i have a file with 3 fields empno,empname,empaddr...
here you give the empno it displays from that number to remaining empno's how?
sub file screen:
employee details
pos to:empno then enter
empno empname empaddr
so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining...
......
please share this answel
Answer Posted / krishna
After displaying the sub file, create one subroutine with setll and pass this field value to another local variable, DOW the subfile data, display each record in subfile.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is program status data structure?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is *place and *auto keyword in prtf ?plz explain
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
How to handle duplicate error handling in RPG?
what is data area and how it is used in rpg program ?
what is the necessary keyword needed to scroll subfile records?
what is the use of sflnxtchg?
what is an online rpg?
can I touch the array during treatments?
how do you use commitment control in rpg?
how do I declare a table or array in rpg iv?
how can I tell when to replace the array?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
How can we override a file during runtime in rpg?