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 |
Explain the uses that are associated to tsq and tdq ?
which transient data queue support ati?
How many ways are there for initiating a transaction? what are they?
How can u pass the control from one prog to another in CICS?
What are the two types of transient data queues?
What are the two ways of breaking a CPU bound process to allow other tasks to gain access to CPU.
Highlight the points of differences between XCTL and START?
when will be use the tdq and tsq??
how do you handle errors in cics programs?
What does it mean when EIBCALEN is equal to zeros?
6 Answers ADP, IBM, L&T, Satyam, TATA,
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 ?
Is length = 0 sufficient to ascertain that the field has been modified?