Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Too many edit macro's and too few PF keys

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1060
Location: Oostende, Belgium

PostPosted: Wed Feb 17, 2016 3:00 am    Post subject: Too many edit macro's and too few PF keys
Reply with quote

I'm sure I'm not the only one with this problem....

How do you handle the situation where you've got at least a dozen edit macro's that should all be assigned to a PF key, and only half-a-dozen "free"(ish) PF keys?

Robert
Back to top
View user's profile Send private message

RahulG31

Active User


Joined: 20 Dec 2014
Posts: 401
Location: USA

PostPosted: Wed Feb 17, 2016 3:36 am    Post subject: Reply to: Too many edit macro's and too few PF keys
Reply with quote

Possibly by merging 2 or more macros into a single one and assigning only one PF key to that.

So, if you have an edit macro that works with a JCL and other which works with COBOL code then you can definitely merge them. You need to tell your combined macro that if first 2 characters are '//' then perform 1st para which will have JCL edit macro; If not then perform 2nd para which will have COBOL edit macro.

More macros can be added to this if you can distinguish the conditions in which you want to run which macro. That would effectively mean one paragraph for each condition (mutually exclusive or you can prioritize).

You can assign only a single PF key to this combined macro. Since, depending on condition, you are going to execute only one para at a time there should not be any problem and the macro will work as it was before.

.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1060
Location: Oostende, Belgium

PostPosted: Wed Feb 17, 2016 4:25 am    Post subject: Re: Reply to: Too many edit macro's and too few PF keys
Reply with quote

RahulG31 wrote:
Possibly by merging 2 or more macros into a single one and assigning only one PF key to that.

So, if you have an edit macro that works with a JCL and other which works with COBOL code then you can definitely merge them. You need to tell your combined macro that if first 2 characters are '//' then perform 1st para which will have JCL edit macro; If not then perform 2nd para which will have COBOL edit macro.

More macros can be added to this if you can distinguish the conditions in which you want to run which macro. That would effectively mean one paragraph for each condition (mutually exclusive or you can prioritize).

You can assign only a single PF key to this combined macro. Since, depending on condition, you are going to execute only one para at a time there should not be any problem and the macro will work as it was before.

That's a way, but in this case it's probably also possible to use an initial macro that determines the type of data you're working on and set a set of PF keys accordingly.

However, if you have more functions to perform on let's say REXX or PL/I source than free PF keys, you're still stuffed.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2086
Location: Silicon Valley

PostPosted: Wed Feb 17, 2016 6:21 am    Post subject: Reply to: Too many edit macro's and too few PF keys
Reply with quote

Why not!!

- Your PF key would launch an app on your iWatch;
- which asks you what function you actually want,
- then listens to your spoken response.
- The app consults with Watson to determine the actual response and
- sends it to ISPF to execute the correct macro.
- A facial recognition check determines if it did the right thing.

some setup is required.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 658
Location: Whitby, ON, Canada

PostPosted: Wed Feb 17, 2016 8:51 pm    Post subject:
Reply with quote

I think there is an RFE to allow support for > 24 PFKeys in ISPF. I have no idea when/if it will be delivered.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1060
Location: Oostende, Belgium

PostPosted: Wed Feb 17, 2016 9:11 pm    Post subject:
Reply with quote

Have you got a URL for it, so that I can add my vote?
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 658
Location: Whitby, ON, Canada

PostPosted: Wed Feb 17, 2016 11:26 pm    Post subject:
Reply with quote

RFE 72919. I just looked it up and I see that it was declined by IBM because it would require changes to the 3270 protocol. So it looks like we are stuck with 24 PF Keys.

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=72919
Back to top
View user's profile Send private message
boyti ko

New User


Joined: 03 Nov 2014
Posts: 78
Location: Malaysia

PostPosted: Sat Feb 20, 2016 3:36 pm    Post subject:
Reply with quote

How about a macro with a menu, wherein you can select what macro you want to execute.
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 Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm

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