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

Explain how and where is the twa size set?

0 Answers  


Explain the means of supporting pseudo conversation programming. (E.g. Storing and restoring of states)

2 Answers  


Name some translator and compile options and explain their meaning?

0 Answers   Fujitsu,


What is the difference between EXEC CICS HANDLE CONDTION and an EXEC CICS IGNORE command?

2 Answers   IBM, TCS,


How do you terminate an already issued DELAY command?

1 Answers   IBM,


What are the 3 common ways to create maps?

1 Answers   IBM,


What is the access method used by DB2?

1 Answers  


What is the meaning of the SYNCPOINT command?

1 Answers   IBM,


How To Set MDT(Modified Data Tag) Thru Application Program? (Dynamically)?

2 Answers   IBM,


Difference between TSQ & TDQ

3 Answers  


How does COBOL11 and CICS release 1.7 provide for exceptional and how does that differ from VS COBOL and earlier CICS release?

1 Answers   IBM,


Mention one alternative aspect of CICS?

0 Answers  


Categories