IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to add another CLIST lib to TSO default libraries?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jebittenc

New User


Joined: 11 Jan 2007
Posts: 2
Location: California

PostPosted: Fri Mar 23, 2007 3:07 am
Reply with quote

Hi,

I have created 1 new CLIST lib to hold some CLIST execs that I used to execute in another installation. There I could execute them directly from the TSO command line because my lib was already added to the default libraries in TSO.

Does anyone know how to add this lib to the TSO clist default libraries?

Thanks,
Ed
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Mar 23, 2007 4:56 am
Reply with quote

Hello,

You will need to ALLOC your pds to SYSPROC. Something like
Code:
"ALLOC FI(SYSPROC) DA('XXXX.YOUR.PDS') SHR REUSE"


If you issue the ALLOC manually you wil need to do so each time you log on. You might talk with your system support people about changing your profile to include your new library.

Or, you could use ISRDDN, find the entries for SYSPROC and see if there is a library already in the concatenation that you have authority to write member into.
Back to top
View user's profile Send private message
timburkart

New User


Joined: 17 Mar 2007
Posts: 29
Location: USA

PostPosted: Fri Mar 23, 2007 7:20 am
Reply with quote

You can add CLIST or REXX libraries dynamically to your default concatenation with the ALTLIB command.

ALTLIB ACTIVATE APPL(CLIST) DA(MYLIB.CLIST) or

ALTLIB ACTIVATE APPL(EXEC) DA(MYLIB.EXEC)

regards,

tim
Back to top
View user's profile Send private message
sarav_cit

New User


Joined: 20 Nov 2006
Posts: 5
Location: Chennai

PostPosted: Thu Mar 29, 2007 5:52 pm
Reply with quote

Hi ED,

It is enough to add the lib name in the GDA dataset. The GDA dataset is usually 'YourMFID.GDA.OS390'. You need to create it by copying from any other ID's and replace with your ID in the name as well as in the content. once u have created add the PDS where u have execs in addition to the default dataset values.After that you need to log off once.. then only the SYSPROC & SYSEXEC datasets will be mapped.

Thanks,
Sarav
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Thu Mar 29, 2007 6:00 pm
Reply with quote

sarav_cit

This may be a function at your site, but I certainly do not have anything resembling 'YourMFID.GDA.OS390'

I think perhaps that your solution may be site specific.
Back to top
View user's profile Send private message
sarav_cit

New User


Joined: 20 Nov 2006
Posts: 5
Location: Chennai

PostPosted: Mon Apr 02, 2007 1:41 pm
Reply with quote

Hi,

YourMFID means your mainframe User ID... did you try that...?
Back to top
View user's profile Send private message
timburkart

New User


Joined: 17 Mar 2007
Posts: 29
Location: USA

PostPosted: Tue Apr 03, 2007 5:51 am
Reply with quote

sarav_cit, respectfully i am certain we all know what yourMFID refers to. the GDA thing that you are referring to is something "homegrown" and specific to your mainframe installation. some shops have similar functions. in the shop i work in, the logon clist executed as part of the tso logon procedure looks for a clist library with a specific name (like your userID.GDA.OS390) and automatically adds it to the SYSPROC concatenation. this is not standard, so the best approach would be to create a clist or rexx exec to perform your personal library allocations at logon time by adding it to the command field of the tso logon screen - ex 'userID.work.exec(mylibs)'. the benefit is that whatever you enter will be remembered in that field for future logons. the exception is that if your session is canceled/timed out the first time you use it. my recommendation is to add it, complete the logon process, logout cleanly and then logon again.

regards,

tim
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Tue Apr 03, 2007 12:12 pm
Reply with quote

Hi timburkart

Quote:
YourMFID means your mainframe User ID... did you try that...?

I somehow think that regarding the above quote, your response was certainly far more diplomatic than mine would have been.
Back to top
View user's profile Send private message
jebittenc

New User


Joined: 11 Jan 2007
Posts: 2
Location: California

PostPosted: Fri Apr 13, 2007 11:15 am
Reply with quote

Thank you all for replying. I did use a REXX exec to allocate it.

Thx,
Ed
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts COBOL Text Adventure Engine for TK4- ... COBOL Programming 0
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts Define default volume for DSN storage... JCL & VSAM 8
Search our Forums:


Back to Top