Can any one write coding for scrolling logic or page up &
page down?



Can any one write coding for scrolling logic or page up & page down?..

Answer / harsha

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 ?    8 Yes 6 No

Post New Answer

More CICS Interview Questions

Can a program change protected field ?

2 Answers   IBM,


Define RCT.

0 Answers  


what are transient data sets defined to cics?

0 Answers   IBM,


What is the pic clause for the data type of length option field type of data fields?

0 Answers  


What are the terms cics generally means?

0 Answers  






What is task control and what are the CICS commands associated with it?

2 Answers   IBM,


What is the primary function of the Processing Program Table (PPT)?

5 Answers   IBM,


What are the cics tables?

0 Answers  


what is the option to be coded on return to associate a transaction identifier with next terminal.

1 Answers   IBM,


HOW WE CAN CONEECT THE MAPSET/MAP TO ONLINE?

1 Answers  


How many ways are there for initiating a transaction? what are they?

3 Answers   IBM,


Specify the CICS command used to read a VSAM record starting with prefix ?F?. Code all the relevant options.

2 Answers   IBM,


Categories