write the logic for PAGEUP and PAGEDOWN by using psuedo
conversatation technique?
Answers were Sorted based on User's Feedback
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 |
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 |
The EIB field which gives the last CICS command executed is
What is the General Command format Of CICS
WHEN I TRIGGER A TRANSACTION (COBOL-CICS-DB2 PROGRAM)WHAT IS THE EXECUTION? (I MEAN THE PURPOSE OF CICS-CONTROL TABLES &CONTROL PROGRAMS)
How to execute a cics program from a paticular date and time .or specified date and time.
How are programs reinitiated under CICS ?
Is length = 0 sufficient to ascertain that the field has been modified?
Explain the difference between link and xctl?
What happens when a CICS command contains the NOHANDLE option?
What is the difference between using the READ command with INTO option and SET option?
What is the most common way of building queue-id of a TSQ? (Name the constituents of the Queue ID).
What is the pic clause for the any bll cell type of data fields?
Define the term function request shipping?