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

What is task control?

590


Explain the difference between the xctl and link commands?

520


Name the 3 common ways to create maps?

545


Highlight the difference between a symbolic map and physical map?

606


Kindly specify the pic clause for the hhmmss type of data fields?

655






mention the option used in the cics read command to gain accessibility directly to the file i/o area. (Assume cobol-ii).?

644


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?

610


Explain the significance of rdo?

626


Explain ceci transaction commands?

563


Explain the difference between a symbolic map and physical map?

571


Explain the difference between a package and a plan.

557


which transient data queue support ati?

697


Specify the requirements for automatic task initiation?

570


Give certain situations where NEWCOPY is obligatory?

711


How can you access esds files from cics?

594