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 |
Can QSAM files be accessed from CICS?
Name some common CICS service programs and explain their usage?
how to make the entire screen protected. i.e., for example when we design a delete screen before deleting the details we need to popup a screen saying do u wish to delete(Y/N). When this screen appears i want to make the previous screen fields as protected.Please help me with the anser. i need the entire screen to be protected. Thanks in advance
Native Mode Data Stream (NMDS) is a mixture of Buffer Control Characters(BCC) and text data (True or False)
Thru web page we have triggered the transaction, how can we come to know that whether it has hit the mianframes or not?
What is the difference between START and XCTL? How do you determine when to use either option?
Is it possible start a transaction CICS from job Batch? How do it?
are we use the group by clause in cursors?
What does ?Pseudo Conversational? mean?
What is the attribute byte?
Explain how do you delete item 3 in a five-item tsq?
Im creating map, when i press tab key cursor must skip second position and it move to the third field directly. how can i code plz send the answer.