Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 1009
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: 361
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: 1009
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: 2036
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: 650
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: 1009
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: 650
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 RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts PA02 - Programmtically control attent... dodithegreat IMS DB/DC 1 Thu Apr 06, 2017 8:33 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Mass comment and edit elixir1986 IBM Tools 3 Thu Mar 02, 2017 10:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us