IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Small Tip to change the functionality of function keys


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mathy

New User


Joined: 02 Mar 2006
Posts: 8

PostPosted: Mon Mar 27, 2006 5:01 pm
Reply with quote

You can change the functionality of function keys. Type 'keys' in command line. Key list will be displayed. You can choose the key want and you can change the definition as your wish.

Suppose you select F12 and type 'Retrieve' in the definition, you can retrieve the commands you have typed previously by pressing F12. Hope this will help you.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1356
Location: Israel

PostPosted: Thu Mar 30, 2006 3:16 pm
Reply with quote

Here is another tip. Please note that is is not necessarily related to the previous tip (I mean, mathy I not shouting at you)

At work, somebody tried to be "smart" and changed the PF1 definition to "HLP". In the REXX that displays the panel, there is some code to view a file when the HLP command is received.
Working with split screen, I always get furious when I receive an invalid command when hitting the PF1 key.

This is the tip: DO NOT DO THAT EVER!

The best and only way to show help files is to put:
.HELP = <help_panel_name>
in the )INIT section of the panel. That's all what you need!
PF1 (the original one) will do all the work.

In the help panel, the only mandatory thing is the )END line.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DFSORT Join Keys Controlcard DFSORT/ICETOOL 4
No new posts FUNCTION ADD-DURATION COBOL Programming 11
No new posts small int to zoned decimal conversion DFSORT/ICETOOL 3
No new posts COBOL 6.4 - User Defined Function nee... COBOL Programming 6
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
Search our Forums:


Back to Top