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 are the types of identifiers?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is the necessary keyword needed to scroll subfile records?
What is a record lock error?
what is file information data structure?
what are the key words you must use when using a subfile?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
what is *place and *auto keyword in prtf ?plz explain
how can you display specific subfile page on the screen in unequal subfile?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How can we know running job is batch or interactive?
How Chain operation copies the record's data to the input buffer for the program?
What is ment by record level identifier?
what is program status data structure?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?