write the logic for PAGEUP and PAGEDOWN by using psuedo
conversatation technique?
Answer Posted / 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 |
Post New Answer View All Answers
Every map is categorized into multiple fields, and there are three common working storage fields present for each of these respective fields. Mention those?
With the use of an alternate index, how is a VSAM file accessed?
what is the most common way of building queue-id of a tsq?
How is Telon(CA-Telon) used to build map?
What is the abend command?
What is meant by an attribute byte?
Can ESDS files be accessed from CICS?
when an xctl is done, does the tranid change ? Is a new task created ? Does it cause an implicit syncpoint to be issued ?
Can QSAM files be accessed from CICS?
when you compile a cics program, the (pre) compiler puts an extra chunk of code. Where does it get included and that is it called? What is its length?
when a task suspends all the handle conditions via the push command, how does the task reactivate all the handle conditions?
Kindly specify the pic clause for the hhmmss type of data fields?
Highlight the points of differences between XCTL and START?
Db2 what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cicsregions that share the same db2 subsystem?
Can you explain dfheiblk?