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
With the use of an alternate index, how is a VSAM file accessed?
mention the option (along with argument type) used in a cics command to retrieve the response code after execution of the command?
Explain the difference between a return with transid and xctl? For example program. A is issuing return with transid to program b. Program a. Is isssuing xctl to program b?
Name some translator and compile options and explain their meaning?
Define an aica abend?
Can you explain exec cics handle condition command?
What is the pic clause for the hhmmss type of data fields?
What is the use of the eibaid field?
What is the procedure to solve an ASRA ABEND?
when an xctl is done, does the tranid change ? Is a new task created ? Does it cause an implicit syncpoint to be issued ?
what are the commands used to gain exclusive control over a resource?
what is the most common way of building queue-id of a tsq?
How to establish dynamic cursor position on a map?
Explain the difference between start and xctl?
How to dsect parameter is used in bms?