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

Can you define attribute byte?

1079


Can you define mdt?

1141


How many ways are there for initiating a transaction?

1097


How vsam files are read in cics pgms?

1357


In the EIB block of CICS, highlight the names of few of the important fields?

1100


Explain the difference between a physical bms mapset and a logical bms mapset?

1036


Define RCT.

1265


what are the commands used to gain exclusive control over a resource?

1265


What is an mdt (modified data tag)?

1100


what is 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?

1233


Can ESDS files be accessed from CICS?

1254


Define the term mro (multi region operation)?

1171


Define cebr?

1175


Define communication area?

1047


What Are Send Map Maponly & Send Map Dataonly ?

1273