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?

Answers were Sorted based on User's Feedback



write the logic for PAGEUP and PAGEDOWN by using psuedo conversatation technique?..

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

write the logic for PAGEUP and PAGEDOWN by using psuedo conversatation technique?..

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

Post New Answer

More CICS Interview Questions

What are the types of the dfhmdf present in the cics?

0 Answers  


How is dynamic memory allocated within a CICS application program?

1 Answers   IBM,


CICS and DB2 can exist in the same region under the Operating system (True or False)

2 Answers  


What is CEBR?

3 Answers   IBM,


Given below code, find the value of 'x'. Perform s001-x thru s001-y. s001-x. add 1 to x . s001-1x. ------- . s001-y. perform s001-1y 10 times . s001-1y. perform s001-2y 10 times . s001-2y. perform s001-x 10 times .

1 Answers  


What is dynamic transaction backout?

0 Answers  


What?s the CICS command used to access current date and time?

1 Answers  


Can a tsq of one particular transaction be accessed from an alternate transaction?

1 Answers  


How to handle exceptional conditions in cics?

0 Answers  


Can you define temporary storage?

0 Answers  


A mapset consists of three maps and 10 fields on each map . How many of the following will be needed ?

3 Answers  


When would you use abend command?

0 Answers  


Categories