pf7 and pf8 logic. first wnen i press pf7 first five
records has to be displayed .second time when i press pf7
next five records to be displayed. what was the logic. give
clear explination.

Answers were Sorted based on User's Feedback



pf7 and pf8 logic. first wnen i press pf7 first five records has to be displayed .second time whe..

Answer / mohamed farook

Can be do it in 2 way

1, By using the TSQ

2, By using array, define a variable ( occurs clause of 5 )
first read the first five records from the vsam files, when
its reaches the 5th records store the last record in the
variable( linkage section ) and throw the map and populate
the five records in the screen, handle the logic to start
reading the file with the last processed record this way
when pf7 is pressed it start reads from the last processed
record.

If you want i can give you the sample code

Farook

Is This Answer Correct ?    13 Yes 2 No

pf7 and pf8 logic. first wnen i press pf7 first five records has to be displayed .second time whe..

Answer / vinodquestion

hi farook, give us sample code...

Is This Answer Correct ?    3 Yes 1 No

pf7 and pf8 logic. first wnen i press pf7 first five records has to be displayed .second time whe..

Answer / asad

hii farooq give some clr answer

Is This Answer Correct ?    1 Yes 0 No

pf7 and pf8 logic. first wnen i press pf7 first five records has to be displayed .second time whe..

Answer / purushoth

hi farooq pls give sample code

Is This Answer Correct ?    1 Yes 0 No

pf7 and pf8 logic. first wnen i press pf7 first five records has to be displayed .second time whe..

Answer / vaishnavi

using TSQ we can easily achive this

Is This Answer Correct ?    1 Yes 0 No

pf7 and pf8 logic. first wnen i press pf7 first five records has to be displayed .second time whe..

Answer / manish gupta

hi farook, please give me the sample code...

Is This Answer Correct ?    1 Yes 1 No

pf7 and pf8 logic. first wnen i press pf7 first five records has to be displayed .second time whe..

Answer / haripriya

Hi farook pls give the sample code of regarding this question.

Is This Answer Correct ?    0 Yes 0 No

pf7 and pf8 logic. first wnen i press pf7 first five records has to be displayed .second time whe..

Answer / g.kalyani

if user presses pf7:
If already first 5TSQ records are displayed, then throw a
message 'Already at the top'
else
If recods (5-10) are displayed,
Then substract 1 from 10 and displayed from 1 till 10
end-if
end-if.
If user Presses pf
If already last 5 tsq records are displayed
Throw a msg 'Already at the bottom'
else
If records (5-10) are displayed
then add +1 to 10 and display from 11 to15
end-if
end-if.

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More CICS Interview Questions

Explain the difference between cics program control table (pct) and cics processing program table (ppt)?

0 Answers  


Explain the uses that are associated to tsq and tdq ?

0 Answers  


Which CICS system program is responsible for handling automatic task initialization?

2 Answers   IBM,


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

0 Answers  


Receive consists of buffer option in it. What is the significance of this option?

0 Answers  






Explain how do you dynamically set the cursor position to a specific field?

0 Answers  


How would you resolve an ASRA abend?

2 Answers   IBM,


In which table would you make an entry for a BMS map?

2 Answers   IBM,


Name some commands used for CICS file browsing.

2 Answers  


How to implement function keys in cics ...Interview ask me there is requirement to include two function key in the program F1 and F2 Keys...when F1 key  is press record should be inserted into database after reading the input file and when F2 is press ,record should be updated in databased...explain about the entire process including testing also..?please expain in step by step ?

1 Answers   HeadStrong, Polaris,


Explain the difference between exec cics handle condtion and an exec cics ignore command?

0 Answers  


How can the fact that EIBCALEN is equal to zeros be of use to an application programmer?

1 Answers   IBM,


Categories