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
Explain how do you intitiate another transaction?
For protecting a transaction using the transaction security function, the two things that must be done are?
Can you explain primary aspect of cics?
when you compile a cics program, the (pre) compiler puts an extra chunk of code. Where does it get included and that is it called? What is its length?
What are the types of the dfhmdf present in the cics?
Define primary objective of cics?
How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?
What are the types of processes to create a map in cics?
Db2 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 cicsregions that share the same db2 subsystem?
Explain processing program table(ppt)?
Name the cics command used to access current date and time?
What are the types of important programs that are used in the cics?
when an xctl is done, does the tranid change ? Is a new task created ? Does it cause an implicit syncpoint to be issued ?
Kindly specify the pic clause for the any bll cell type of data fields?
How do you use altindxs in batch, cics programs?