Hi,
In an interview I was asked "tell the logic behind F7 (up) and F8(down) keys?"
I answered "I am afraid that I am unaware of that sir"
Any suggestion on this are welcome.
Thanks
Logic behind F7 and F8 keys
-
- Posts: 43
- Joined: Tue Dec 07, 2010 5:32 pm
- Skillset: COBOL,JCL,DB2,VSAM,CA7
- Referer: Google
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Logic behind F7 and F8 keys
the question as posed is bit foggy.
why the choice of PF7/PF8 for scrolling ?
what code is invoked when one of those key is pressed ?
WHAT APPLICATION is the interviewer referring to ?
as You see, if You want good answers You need to ask good questions
why the choice of PF7/PF8 for scrolling ?
what code is invoked when one of those key is pressed ?
WHAT APPLICATION is the interviewer referring to ?
as You see, if You want good answers You need to ask good questions

cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 43
- Joined: Tue Dec 07, 2010 5:32 pm
- Skillset: COBOL,JCL,DB2,VSAM,CA7
- Referer: Google
Re: Logic behind F7 and F8 keys
Well I presented the question in the way it was asked to me,no additions from my side.
Thanks
Thanks
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: Logic behind F7 and F8 keys
You're missing what enrico is saying.
Without knowing specific application details, there is no way to answer the question, other than "they could do whatever you like". PF means "Program Function" . The function for any PF-key is whatever that, particular, specific program provides.
Without knowing anything, you could "guess" that PF7/8 are to present the previous/next logical screen, but you should tell this to the interviewer with the rest of the explanation.
What does PFn do? Whatever I (or a program) tells it.
Without knowing specific application details, there is no way to answer the question, other than "they could do whatever you like". PF means "Program Function" . The function for any PF-key is whatever that, particular, specific program provides.
Without knowing anything, you could "guess" that PF7/8 are to present the previous/next logical screen, but you should tell this to the interviewer with the rest of the explanation.
What does PFn do? Whatever I (or a program) tells it.
-
- Posts: 93
- Joined: Thu Mar 22, 2012 10:02 am
- Skillset: COBOL
CICS
JCL
DB2
VSAM
IMS - Referer: INTERNET
Re: Logic behind F7 and F8 keys
I think the interviewer must be trying to ask the scroll logic using the PF7/PF8 keys.
While browsing the file the system will throw the number of records which it can accommodate on screen. and store the key of the first and last record which is displayed.
Then on pressing PF8 it will display the next set of records starting from the next record which was last displayed.
In case of PF7 it will display the previous set of records than the first one which was displayed.
While browsing the file the system will throw the number of records which it can accommodate on screen. and store the key of the first and last record which is displayed.
Then on pressing PF8 it will display the next set of records starting from the next record which was last displayed.
In case of PF7 it will display the previous set of records than the first one which was displayed.
-----------------------------------------
As long as you think you are a student, you are doing well.
The day you consider yourself as the master of the game..........well
As long as you think you are a student, you are doing well.
The day you consider yourself as the master of the game..........well
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Logic behind F7 and F8 keys
the system will throw the number of records
The system does not THROW anything. It displays it. THROW is NOT mainframe terminology.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Posts: 93
- Joined: Thu Mar 22, 2012 10:02 am
- Skillset: COBOL
CICS
JCL
DB2
VSAM
IMS - Referer: INTERNET
Re: Logic behind F7 and F8 keys
NicC wrote:the system will throw the number of records
The system does not THROW anything. It displays it. THROW is NOT mainframe terminology.
Great
-----------------------------------------
As long as you think you are a student, you are doing well.
The day you consider yourself as the master of the game..........well
As long as you think you are a student, you are doing well.
The day you consider yourself as the master of the game..........well
-
- Posts: 93
- Joined: Thu Mar 22, 2012 10:02 am
- Skillset: COBOL
CICS
JCL
DB2
VSAM
IMS - Referer: INTERNET
Re: Logic behind F7 and F8 keys
There are other methods also. Like using a TSQ.
-----------------------------------------
As long as you think you are a student, you are doing well.
The day you consider yourself as the master of the game..........well
As long as you think you are a student, you are doing well.
The day you consider yourself as the master of the game..........well
-
- Similar Topics
- Replies
- Views
- Last post
-
- 5
- 4606
-
by arya_starc
View the latest post
Thu Sep 23, 2021 4:37 pm
-
-
How can I learn the business logic of my job?
by Atari2601 » Thu Aug 19, 2021 9:40 pm » in Career Guidance - 0
- 8256
-
by Atari2601
View the latest post
Thu Aug 19, 2021 9:40 pm
-
-
- 1
- 1411
-
by enrico-sorichetti
View the latest post
Wed Jun 16, 2021 10:26 pm