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

Do you require a table entry for a TSQ?

2 Answers   IBM,


Name some common CICS service programs and explain their usage?

1 Answers   IBM,


Can you explain dfhmdf bms macro?

0 Answers  


Kindly specify the pic clause for the any bll cell type of data fields?

0 Answers  


what is mapfail and when we get this error? during send map or receive map?

3 Answers   HP,






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

0 Answers  


Why doesn?t CICS use the Cobol Open and Close statements ?

2 Answers  


What happens when a CICS command contains the NOHANDLE option?

1 Answers   IBM,


what is eib, how is can be used?

0 Answers   IBM,


What is the difference between a physical BMS mapset and a logical BMS mapset?

3 Answers   IBM,


How do you access the records randomly in TSQ ?

2 Answers   IBM,


What is Tclass in cics?what is its importance? How it is implemented?

2 Answers   IBM,


Categories