write the logic for PAGEUP and PAGEDOWN by using psuedo
conversatation technique?

Answer Posted / ak

Coding is not possible in this forum. Here is the logic.
Suppose you want you display 10 items at a time on the
scren.
1 Declare an array of occurance 10.
2 Read-Next the file and load the records on Array.
3 Send data in the to screen.
4 If user pressed PF8. Take the last record(i.e. 10th in
our case) and perform READ-NEXT from last record onwards.
Store the records on array and send them to screen.
5 If user pressed PF7. Take the last record(i.e. 1st in our
case) and perform READ-PREV from first record onwards.
Store the records on array and send them to screen.

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how and where is the twa size set?

556


which is the cics control program that provides communication services between user written application programs and terminals?

549


Code the related portions of cics/cobol-i programs to gain addressability to twa area assigned to a particular task. Assme that the size of twa area is 300bytes. What are the advantages if cobol-ii is used in the place of cobol?

668


hi,what is the module? how many modules in mainframe based banking projects

2417


How to dsect parameter is used in bms?

693






What is the meaning of the deq command?

596


Explain the difference between and exec cics xctl and an exec cics link command?

551


What Are Send Map Maponly & Send Map Dataonly ?

692


Can you explain primary aspect of cics?

679


Every map is categorized into multiple fields, and there are three common working storage fields present for each of these respective fields. Mention those?

590


Explain the significance of rdo?

615


Explain how many conditions can you include in a single handle condition command?

598


What is the main function of the sign-on table?

584


Explain the uses that are associated to tsq and tdq ?

635


how do you intitiate another transaction?

704