Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


write the logic for PAGEUP and PAGEDOWN by using psuedo
conversatation technique?

Answers were Sorted based on User's Feedback



write the logic for PAGEUP and PAGEDOWN by using psuedo conversatation technique?..

Answer / ak

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 ?    7 Yes 3 No

write the logic for PAGEUP and PAGEDOWN by using psuedo conversatation technique?..

Answer / anonymous

If current page number is 1
Read TSQ
‘TOP OF DATA, NO MORE RECORDS TO DISPLAY’
If current page number is not 1
Subtract ‘1’ from the current page
Read TSQ
If reading TSQ successful,
‘PREVIOUS SCREEEN DISPLAYED’ o
Return back processing

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More CICS Interview Questions

Specify the requirements for automatic task initiation?

0 Answers  


What CICS command would you use to read a VSAM KSDS sequentially in ascending order?

4 Answers   IBM,


Which is the program which determines whether a transaction should be restarted ?

1 Answers  


Define RCT.

0 Answers  


What is the function of the CICS translator?

1 Answers  






What is the difference between a RETURN with TRANSID and XCTL ?For example prog. A is issuing REUTRN with TRANSID to prog B. Prog A. is issuing XCTL to prog B?

3 Answers  


Explain how pa key is different from pf key?

0 Answers  


What is the CICS LOAD command?

3 Answers   IBM,


COMMIT & ROLLBACK WE WILL NOT USE IN CICS PROGRAMMING INSTEAD OF COMMIT WE USE SYNC POINT THEN WT WE USE FOR ROLL BACK?

3 Answers  


what is the cics command used to access current date and time?

0 Answers   IBM,


The read of a record from an Intrapartition TDQ is not destructive(True or False).

1 Answers  


Explain the uses that are associated to tsq and tdq ?

0 Answers  


Categories