Page 1 of 1
Allocate EXEC libraries to my TSO or ISPF session?
Posted: Wed Dec 23, 2015 2:19 pm
by narinderc
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?
Re: Allocate EXEC libraries to my TSO or ISPF session?
Posted: Wed Dec 23, 2015 3:03 pm
by zprogrammer
You could copy your rexx scripts to SYSEXEC or SYSPROC library
Re: Allocate EXEC libraries to my TSO or ISPF session?
Posted: Wed Dec 23, 2015 3:06 pm
by nicc
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.
Re: Allocate EXEC libraries to my TSO or ISPF session?
Posted: Wed Dec 23, 2015 11:55 pm
by mickeydusaor
if they have access to your dataset EXEC PDS.NAME(MYREXX) then just have them execute the same command as you do
Re: Allocate EXEC libraries to my TSO or ISPF session?
Posted: Thu Dec 24, 2015 12:06 am
by prino
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?
why didn't you ask the next flipping obvious question, in your office: "And how can I do this?"
Re: Allocate EXEC libraries to my TSO or ISPF session?
Posted: Mon Dec 28, 2015 11:57 am
by narinderc
prino wrote: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?
why didn't you ask the next flipping obvious question, in your office: "And how can I do this?"
There is not much support here. Most of the seniors guys have left the organization.
Re: Allocate EXEC libraries to my TSO or ISPF session?
Posted: Mon Dec 28, 2015 11:59 am
by narinderc
I read about ALTLIB online but I am not sure if it is a good way to do it.

Re: Allocate EXEC libraries to my TSO or ISPF session?
Posted: Mon Dec 28, 2015 12:33 pm
by zprogrammer
narinderc wrote:There is not much support here. Most of the seniors guys have left the organization.
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 them
Re: Allocate EXEC libraries to my TSO or ISPF session?
Posted: Tue Feb 09, 2016 10:49 am
by narinderc
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?
Posted: Tue Feb 09, 2016 2:50 pm
by nicc
Rexx programs should (but do not have to be) allocated to SYSEXEC.