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


Please Help Members By Posting Answers For Below Questions

Explain how do you intitiate another transaction?

610


For protecting a transaction using the transaction security function, the two things that must be done are?

1813


Can you explain primary aspect of cics?

698


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?

650


What are the types of the dfhmdf present in the cics?

606






Define primary objective of cics?

582


How To Compile The COBOL-BD2-CI CS Programs In Real TIme? Please Give Me the Detailed Description?

5939


What are the types of processes to create a map in cics?

595


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?

665


Explain processing program table(ppt)?

643


Name the cics command used to access current date and time?

581


What are the types of important programs that are used in the cics?

619


when an xctl is done, does the tranid change ? Is a new task created ? Does it cause an implicit syncpoint to be issued ?

729


Kindly specify the pic clause for the any bll cell type of data fields?

728


How do you use altindxs in batch, cics programs?

590