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

What is the option specified in the read operation to gain multiple concurrent operations on the same dataset?

1 Answers   IBM,


which cics service transaction is used to gain accessibility to cics control tables? Mention the one that has the highest priority.?

0 Answers   IBM,


What is the CICS supplied transaction which performs syntax checking of a CICS command?

3 Answers  


What is the common systems area (CSA)?

0 Answers   IBM,


List out all the tables that are a part of cics ?

0 Answers  






Explain the difference between a package and a plan.

0 Answers  


Particular area has been affected in cics screen, what is the process to find?

3 Answers   Cap Gemini,


What is the common work area (CWA)?

1 Answers   EDS, IBM,


Define an asra abend?

0 Answers  


Can we use both FSET n FRSET together in BMS? And if yes then what will happen?

4 Answers  


Sync points cannot be requested by the application programs? State true or false

0 Answers  


How do you access storage outside your CICS program?

2 Answers   IBM,


Categories