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

TSO ISRDDN


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

New User


Joined: 08 Apr 2021
Posts: 2
Location: India

PostPosted: Fri Apr 09, 2021 1:16 pm
Reply with quote

Hi,

I'm trying to include few new libraries on to the "current allocations" listed out in the TSO ISRDDN util.

While updating ISPLLIB, I get an error that the library is already open.
While updating STEPLIB, I get the error "IKJ56236I FILE STEPLIB INVALID, FILENAME RESTRICTED"

When updating SYSPROC, its only available for that session. Re-login wipes out the allocations.

I'm sure there is a place(sys SKEL/PANEL/through some command), where we update these libraries and make it as part of permanant allocation.

Can someone pls. throw some light on this. I searched on the site and nowhere I could find a solution.

thanks,
mari.
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 495
Location: Denmark

PostPosted: Fri Apr 09, 2021 1:38 pm
Reply with quote

You cannot reallocate the ISPxxxx libraries when ISPF is active. You can use the LIBDEF service to add and remove libraries dynamically.
You need to change the logon script (assuming that you have one) to update the permanent allocations.

STEPLIB as the message says cannot be reallocated, period. There are dynamic steplib programs out there, like STEPLIB in file 452 at www.cbttape.org.

When you say 'updating SYSPROC' do you mean dynamically? Changes will only stick if you change the login script or the JCL.

For changing your login script you need to talk to your system people. There is a way though. You can write your own login script, then when logged in you exit to READY and run that script. I have a macro in my 3270 emulator do do just that.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2258
Location: Silicon Valley

PostPosted: Sat Apr 10, 2021 6:49 am
Reply with quote

You can use the TSOLIB command to add your private data sets to the search order for load modules.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 891
Location: The Universe

PostPosted: Sat Apr 10, 2021 8:36 am
Reply with quote

The "official" line about STEPLIB is it should not be used in LOGON procs. STEPLIB is searched first, even before JPA/MLPA/LPA/LINKLIST. This potentially causes a performance penalty.

TSOLIB is standard TSO/E, though in other respects it has the same performance issues as STEPLIB. I think I know what happens if TSOLIB is used when STEPLIB is present, but I'm not sure enough to put it here.

SYSPROC can be freed and reallocated, or the allocation can be altered at any time.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2258
Location: Silicon Valley

PostPosted: Sat Apr 10, 2021 10:47 am
Reply with quote

The problem with free / allocate of SYSPROC and SYSEXEC is that you have to figure out which data sets were provided by the logon proc and then allocate all of those, plus your own.

For that reason, they provide the ALTLIB command. It leaves SYSPROC alone but adds your data sets to the search order.
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 495
Location: Denmark

PostPosted: Sat Apr 10, 2021 7:32 pm
Reply with quote

The problem with anything which can be set dynamically (ALTLIB, TSOLIB, dynamic STEPLIB, LIBDEFS etc) is that they can be changed by an application which, if it fails, may not restore the environment properly. I very much prefer permanent allocations done by a login script, having as little JCL in the login procedure as possible.
Back to top
View user's profile Send private message
mari_m

New User


Joined: 08 Apr 2021
Posts: 2
Location: India

PostPosted: Tue Apr 13, 2021 1:28 pm
Reply with quote

Thanks Willy. Changing the login script resolved the issue.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Capturing TSO ISRDDN E output. CLIST & REXX 6
No new posts Problem with ISRDDN TSO/ISPF 6
Search our Forums:

Back to Top