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 is meant by a ‘Transid’ ?
what are the differences between temporary storage queue (tsq) and transient data quene (tdq)?
How many ways are there for initiating a transaction?
How can you access qsam (seq) files from cics?
Can you define ppt and what are its uses?
Kindly specify the pic clause for the hhmmss type of data fields?
What is the use of the eibaid field?
kindly specify the pic clause for the following:any bll cell, data type of length option field, hhmmss type of data fields?
Particular area has been affected in cics screen, what is the process to find?
What is program reentrance?
Kindly specify the pic clause for the data type of length option field type of data fields?
Explain the primary function of the processing program table (ppt)?
What is an mdt (modified data tag)?
Highlight the points of differences between XCTL and START?
Define an aica abend?