Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Every map is categorized into multiple fields, and there are three common working storage fields present for each of these respective fields. Mention those?

998


With the use of an alternate index, how is a VSAM file accessed?

1035


what is the most common way of building queue-id of a tsq?

1029


How is Telon(CA-Telon) used to build map?

4547


What is the abend command?

966


What is meant by an attribute byte?

991


Can ESDS files be accessed from CICS?

1153


when an xctl is done, does the tranid change ? Is a new task created ? Does it cause an implicit syncpoint to be issued ?

1161


Can QSAM files be accessed from CICS?

1079


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?

1032


when a task suspends all the handle conditions via the push command, how does the task reactivate all the handle conditions?

1118


Kindly specify the pic clause for the hhmmss type of data fields?

1000


Highlight the points of differences between XCTL and START?

1140


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?

1068


Can you explain dfheiblk?

1046