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
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
When it is desirable to describe files Internally?
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 does the rpg element work?
What is difference between bind by copy and bind by reference?
What is the purpose of record level identifier?
How Chain operation copies the record's data to the input buffer for the program?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what is the difference between do while and do until?
What is the difference between copybooks and subprocedures in as400?
What is file identifier where we can use?
how do I declare a minor?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
How to select highest score of each subject or how to select highest income of every month?