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
when a task suspends all the handle conditions via the push command, how does the task reactivate all the handle conditions?
What are fset, frset?
What are the recoverable cics resources?
Name the command which is used to release a record on which exclusive control is gained?
Explain how many conditions can you include in a single handle condition command?
Can QSAM files be accessed from CICS?
Explain how would you resolve an asra abend?
Define the term transaction routing?
What is the difference between SEND MAP DATAONLY and SEND MAP MAPONLY ?
Explain cebr transaction commands?
Can you define cics task?
Explain how do you delete item 3 in a five-item tsq?
Define cebr?
Can you define mapset?
When would you use abend command?