Allocate EXEC libraries to my TSO or ISPF session?
Moderator: mickeydusaor
Allocate EXEC libraries to my TSO or ISPF session?
Hi,
I have written a small REXX for me. I can make it work only when I go to the PDS it is in. Or using EXEC PDS.NAME(MYREXX). But if I want one of my friend to use it I do not find a way to do it. I need to give him the path to my PDS. I asked in my office and I came to know that we can allocate EXEC libraries to TSO or ISPF sessions our own. How do we do that?
I have written a small REXX for me. I can make it work only when I go to the PDS it is in. Or using EXEC PDS.NAME(MYREXX). But if I want one of my friend to use it I do not find a way to do it. I need to give him the path to my PDS. I asked in my office and I came to know that we can allocate EXEC libraries to TSO or ISPF sessions our own. How do we do that?
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Allocate EXEC libraries to my TSO or ISPF session?
You could copy your rexx scripts to SYSEXEC or SYSPROC library
zprogrammer
Re: Allocate EXEC libraries to my TSO or ISPF session?
Before you get into trouble for trying to copy so,ething into a common library, ask around to see if there is an official way to add your own libraries to you session concatenations or if there is an official way to provide a program to other people within your organisation.
Regards
Nic
Nic
- mickeydusaor
- Forum Moderator
- Posts: 27
- Joined: Fri Aug 28, 2015 10:11 pm
- Location: Salem, Oregon
Re: Allocate EXEC libraries to my TSO or ISPF session?
if they have access to your dataset EXEC PDS.NAME(MYREXX) then just have them execute the same command as you do
- prino
- Registered Member
- Posts: 68
- Joined: Sun Jun 01, 2014 4:15 am
- Location: Vilnius, Lithuania
- Contact:
Re: Allocate EXEC libraries to my TSO or ISPF session?
why didn't you ask the next flipping obvious question, in your office: "And how can I do this?"narinderc wrote:I asked in my office and I came to know that we can allocate EXEC libraries to TSO or ISPF sessions our own. How do we do that?
Re: Allocate EXEC libraries to my TSO or ISPF session?
There is not much support here. Most of the seniors guys have left the organization.prino wrote:why didn't you ask the next flipping obvious question, in your office: "And how can I do this?"narinderc wrote:I asked in my office and I came to know that we can allocate EXEC libraries to TSO or ISPF sessions our own. How do we do that?
Re: Allocate EXEC libraries to my TSO or ISPF session?
I read about ALTLIB online but I am not sure if it is a good way to do it.
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Allocate EXEC libraries to my TSO or ISPF session?
In that case there should be someone from the client team or Technical support or system admin who would have definitely done this.. check with themnarinderc wrote:There is not much support here. Most of the seniors guys have left the organization.
zprogrammer
Re: Allocate EXEC libraries to my TSO or ISPF session?
Read about ALTLIB Command http://publibz.boulder.ibm.com/cgi-bin/ ... 0714000722 and used the following to allocate my REXX to the sys libs. It seems to work thus far.
Code: Select all
/* REXX */
dsname = "'my.REXX.pds'"
ddname = "SYSPROC"
"ISPEXEC QBASELIB "ddname" ID(dslist)"
"ALLOC F("ddname") DA("dsname","dslist") SHR REU"
Exit 0
Re: Allocate EXEC libraries to my TSO or ISPF session?
Rexx programs should (but do not have to be) allocated to SYSEXEC.
Regards
Nic
Nic
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute