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
Is length = 0 sufficient to ascertain that the field has been modified?
What are the types of the dfhmdf present in the cics?
What does the 'cedf:cics' transactions do?
what is the difference between a return with transid and xctl? For example program. A is issuing return with transid to program b. Program a. Is isssuing xctl to program b?
Can you define mapset?
In a CICS program, how will you read a VSAM file?
How ENQ and DEQ used in CICS?
What is the cics command that is used to access current date and time?
Explain how do you set the mdt option to on status, even if data is not entered?
What is mainframe cics?
how can you prevent more than one user from accessing the same transient data queue?
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 are the six different type of argument values in cobol that can be placed in various options of a cics command?
what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
Define cebr?