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 |
How many exceptional condition can be given in a HANDLE CONDITION?
In CICS, BMS what is the use of FREEKB parameter
What are the terms cics generally means?
Define exec cics retrieve?
What is the CICS Command that is used for reading a record from the TDQ?
what is psuedo conversation?
There is map and length of field need to modified, let take cust id=2 is previous of 2 byte and now it has to be 5 byte ? how to modified the cics code ?what are change need to done ? where where u will do change ?
What is the command which will delete a program LOADed into the main storage using LOAD command?
How do you delete Item 3 in a five-item TSQ?
what is the most common way of building queue-id of a tsq?
In a particular cics program, what is the procedure to allocate dynamic memory?
Can you define mapset?