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 CICS command that is used to receive the un- formatted data from the terminal?

2 Answers  


Explain 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?

0 Answers  


A CICS program ABENDS with an ASRA ABEND code. What is its meaning?

3 Answers   IBM,


How do u know if a start command intiated a transaction or a terminal intiated a transaction

2 Answers   ProKarma,


What is an ASRA abend ?

3 Answers   IBM,


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,


Explain the difference between getting the system time with eibtime and asktime command?

0 Answers  


WHEN I TRIGGER A TRANSACTION (COBOL-CICS-DB2 PROGRAM)WHAT IS THE EXECUTION? (I MEAN THE PURPOSE OF CICS-CONTROL TABLES &CONTROL PROGRAMS)

1 Answers  


What is the function of the Terminal Control Table(TCT)?

1 Answers  


What is the access method used by DB2?

1 Answers  


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

0 Answers  


Add a field to screen when what's the flow of impact?

0 Answers   Keane India Ltd,


Categories