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

How vsam files are read in cics pgms?

725


Can you explain enq and deq used in cics?

636


Explain cebr transaction commands?

545


What is the type of ppt in the cics?

580


Explain the difference between cics program control table (pct) and cics processing program table (ppt)?

612






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?

648


What is a transid?

572


Define primary objective of cics?

566


Add a field to screen when what's the flow of impact?

2413


What is dynamic transaction backout?

670


Explain the usage of language in the ppt entry?

573


How to establish dynamic cursor position on a map?

583


What do you mean by the term fct?

531


What is the pic clause for the any bll cell type of data fields?

545


how do you intitiate another transaction?

715