pf7 and pf8 logic. first wnen i press pf7 first five
records has to be displayed .second time when i press pf7
next five records to be displayed. what was the logic. give
clear explination.
Answer Posted / mohamed farook
Can be do it in 2 way
1, By using the TSQ
2, By using array, define a variable ( occurs clause of 5 )
first read the first five records from the vsam files, when
its reaches the 5th records store the last record in the
variable( linkage section ) and throw the map and populate
the five records in the screen, handle the logic to start
reading the file with the last processed record this way
when pf7 is pressed it start reads from the last processed
record.
If you want i can give you the sample code
Farook
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
what are transient data sets defined to cics?
what are the six different type of argument values in cobol that can be placed in various options of a cics command?
Can you explain enq and deq used in cics?
Receive consists of buffer option in it. What is the significance of this option?
What is DEQ?
Define primary objective of cics?
If we wish to create bms executable, what are the basic steps that the user has to go through?
How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?
Explain how and where is the twa size set?
Explain how DSECT parameter is used in BMS ?
What is the procedure to read a statement from tsq?
What is the use of mdt (modified data tag)?
I have done a start browse on a vsam dataset. Can I do another start browse without doing an end browse?
Can you use occurs in bms map?
Can you define mdt?