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
How vsam files are read in cics pgms?
Can you explain enq and deq used in cics?
Explain cebr transaction commands?
What is the type of ppt in the cics?
Explain the difference between cics program control table (pct) and cics processing program table (ppt)?
when an apllication is invoked via the exec cics start command with the from option, how does the application gain access to the common area?
What is a transid?
Define primary objective of cics?
Add a field to screen when what's the flow of impact?
What is dynamic transaction backout?
Explain the usage of language in the ppt entry?
How to establish dynamic cursor position on a map?
What do you mean by the term fct?
What is the pic clause for the any bll cell type of data fields?
how do you intitiate another transaction?