View previous topic :: View next topic
|
Author |
Message |
upendrasri
Active User
Joined: 28 Sep 2017 Posts: 124 Location: India
|
|
|
|
Hi All,
How to assign a function key or Enter key to a Mainframe Macro?
Example:
Keep Line command D and press Enter key will delete that particular line.
Similar way I have coded my own Macro which will Cut few lines of code by giving CC Block Line commands. But to execute my Cut Marco I have to issue my Macro name on Command line and press Enter key.
But now without entering Macro name on Command line I want my code to perform Cut by Pressing Enter key.
Any Suggestions..
Thanks. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1312 Location: Vilnius, Lithuania
|
|
|
|
And then you probably want another macro that you don't have to enter to press enter?
This is a forum for experts, not people who lie and claim they are "System programmer", a real system programmer, and you upendrasi are most definitely not one, would know that what you ask is utterly impossible. |
|
Back to top |
|
|
upendrasri
Active User
Joined: 28 Sep 2017 Posts: 124 Location: India
|
|
|
|
Hi Prino,
Sorry, In case if I asked a wrong question. And I agree that am not an expert.
But Am a Junior level System programmer.
Now am able to code my personal Macros similar to CUT and PASTE and thought of learning Delete Line command Logic as well.
By default Delete Line command works without mentioning any Command on Command line..
So thought of learning that logic ...
So now I understand that we cannot execute any Macro with Enter key without mentioning command on command line.
Thanks. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Open the Edit and Edit Macros book and search for "Working with an edit line command table".
This is what you are looking for. |
|
Back to top |
|
|
upendrasri
Active User
Joined: 28 Sep 2017 Posts: 124 Location: India
|
|
|
|
Hi Marso,
Thank you. This is what exactly am looking for...
Regards, |
|
Back to top |
|
|
|