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

How to Assign a Function key to Mainframe Macro


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 106
Location: India

PostPosted: Sat May 30, 2020 9:03 pm
Reply with quote

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
View user's profile Send private message
prino
Warnings : 1

Senior Member


Joined: 07 Feb 2009
Posts: 1238
Location: Vilnius, Lithuania

PostPosted: Sat May 30, 2020 10:12 pm
Reply with quote

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
View user's profile Send private message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 106
Location: India

PostPosted: Sat May 30, 2020 10:25 pm
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1348
Location: Israel

PostPosted: Sun May 31, 2020 1:42 pm
Reply with quote

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
View user's profile Send private message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 106
Location: India

PostPosted: Sun May 31, 2020 2:01 pm
Reply with quote

Hi Marso,

Thank you. This is what exactly am looking for...

Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Looking for mainframe system programmers Mainframe Jobs 0
No new posts Proc print in Mainframe All Other Mainframe Topics 4
No new posts Need opinion on mainframe to cloud mi... General Talk & Fun Stuff 6
No new posts DB2 - row_number function - Need 1st ... DB2 5
No new posts Looking for Mainframe Project Manager Mainframe Jobs 0
Search our Forums:

Back to Top