Allocate EXEC libraries to my TSO or ISPF session?

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
narinderc
New Member
Posts: 6
Joined: Fri Dec 12, 2014 8:55 am

Allocate EXEC libraries to my TSO or ISPF session?

Post 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?
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: Allocate EXEC libraries to my TSO or ISPF session?

Post by zprogrammer »

You could copy your rexx scripts to SYSEXEC or SYSPROC library
zprogrammer
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Allocate EXEC libraries to my TSO or ISPF session?

Post 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.
Regards
Nic
User avatar
mickeydusaor
Forum Moderator
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?

Post by mickeydusaor »

if they have access to your dataset EXEC PDS.NAME(MYREXX) then just have them execute the same command as you do
User avatar
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?

Post 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?"
Robert AH Prins
robertahprins @ the.17+Gb.Google thingy
Some z/OS code here
narinderc
New Member
Posts: 6
Joined: Fri Dec 12, 2014 8:55 am

Re: Allocate EXEC libraries to my TSO or ISPF session?

Post 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.
narinderc
New Member
Posts: 6
Joined: Fri Dec 12, 2014 8:55 am

Re: Allocate EXEC libraries to my TSO or ISPF session?

Post by narinderc »

I read about ALTLIB online but I am not sure if it is a good way to do it. :unknown:
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: Allocate EXEC libraries to my TSO or ISPF session?

Post 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
zprogrammer
narinderc
New Member
Posts: 6
Joined: Fri Dec 12, 2014 8:55 am

Re: Allocate EXEC libraries to my TSO or ISPF session?

Post 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
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Allocate EXEC libraries to my TSO or ISPF session?

Post by nicc »

Rexx programs should (but do not have to be) allocated to SYSEXEC.
Regards
Nic
Post Reply

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

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”