Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to Assign a Function key to Mainframe Macro

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to Assign a Function key to Mainframe Macro
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

Senior Member


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

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

And then you probably want another macro that you don't have to enter to press enter?

Sheesh, stupid is as stupid does.

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    Post subject:
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: 1349
Location: Israel

PostPosted: Sun May 31, 2020 1:42 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISPF Edit Macro with profile commands... Lynne Schuler TSO/ISPF 14 Thu Jun 18, 2020 7:25 pm
No new posts TSO and the STAX Assembler Macro mxgdontmics PL/I & Assembler 22 Mon Jun 15, 2020 10:33 am
No new posts Need to open a DSN using REXX & e... Y Marwaha CLIST & REXX 10 Fri Jun 05, 2020 7:30 pm
No new posts Mainframe ISPREDIT Macro query upendrasri TSO/ISPF 3 Wed May 27, 2020 1:12 pm
No new posts Mainframe ASSEMBLER LEARNING MANUAL w... upendrasri PL/I & Assembler 2 Tue May 05, 2020 11:42 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us