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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

I have done a start browse on a vsam dataset. Can I do another start browse without doing an end browse?

603


Define an asra?

563


Explain the difference between and exec cics xctl and exec cics start command?

565


If we say that bms length of field = 0, then what does that mean?

736


What is meant by a ‘Transid’ ?

632






When would you use abend command?

594


how a data in physical and symbolic map gets treated? Since the physical map is much concerned about the screen alignment and the field positions, how the values entered in the field which has PICIN or PICOUT clause in Physical map gets treated? Does that mean datas recieved or sent to the physical map should be constant? How does the data in Symbolic map gets converted with 5suffix namely F,L,A,I and O. For example EMPNO is treated as EMPNOI, EMPNOO, EMPNOA, EMPNOL and EMPNOF. how does this happen in symbolic map. Please provide your inputs on the above and kindly correct me if I am wrong.

2215


Explain the system transid cemt?

598


Why do we need integrated cics translator?

631


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

2432


Define an aica abend?

621


What is the pcp in the cics?

527


What are fset, frset?

598


What are the common cics service programs and explain their usage?

568


What is commarea (communications area)?

545