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
Can you explain differences between temporary storage queue (tsq) and transient data queue (tdq)?
Can you define mapset?
Kindly specify the pic clause for the any bll cell type of data fields?
Explain how and where is the twa size set?
What are the main uses of the transaction in the cics?
Explain cebr transaction commands?
Explain the difference between the into and the set option in the exec cics receive map command?
Name the two types of transient data queues?
Can you explain cics transaction gateway?
Name some translator and compile options and explain their meaning?
What is the procedure to solve an ASRA ABEND?
Every map is categorized into multiple fields, and there are three common working storage fields present for each of these respective fields. Mention those?
What are the types of processes to create a map in cics?
Can you explain exec cics handle condition command?
Explain the difference between the xctl and link commands?