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
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 |
Answer / manish gupta
hi farook, please give me the sample code...
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / haripriya
Hi farook pls give the sample code of regarding this question.
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
What is the function of DFHMDF BMS macro?
Define floating maps with illustration?
What does a cics translator do?
how to make the entire screen protected. i.e., for example when we design a delete screen before deleting the details we need to popup a screen saying do u wish to delete(Y/N). When this screen appears i want to make the previous screen fields as protected.Please help me with the anser. i need the entire screen to be protected. Thanks in advance
how a data in physical and symbolic map gets treated? Since the physical map is much concerned about the screen alignment and the field positions, how the values entered in the field which has PICIN or PICOUT clause in Physical map gets treated? Does that mean datas recieved or sent to the physical map should be constant? How does the data in Symbolic map gets converted with 5suffix namely F,L,A,I and O. For example EMPNO is treated as EMPNOI, EMPNOO, EMPNOA, EMPNOL and EMPNOF. how does this happen in symbolic map. Please provide your inputs on the above and kindly correct me if I am wrong.
What is DFHBMSCA?
How do you dynamically set the CURSOR position to a specific field?
How vsam files are read in cics pgms?
Why is GETMAIN command needed?? Will program not work if we do not give GETMAIN?
How do we pass parameters into a CICS –DB2 program
0 Answers Accenture, JPMorgan Chase,
Into which table is the terminal id registered?
For multithreading an application program need not be re- entrant(True or False).