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

How to concatenate a dataset with SYSEXEC Permanently


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
swathykrishnan

New User


Joined: 01 Oct 2010
Posts: 43
Location: Bangalore

PostPosted: Tue Sep 01, 2015 6:08 pm
Reply with quote

Hi All,

Currently I am allocating my rexx library to SYSPROC using the below given command.
Code:
"ALLOC F(SYSEXEC) DA('"DSNAME"' 'SYS2.ISX.XCXCXC') SHR REU"


But the Problem is i have to execute the above step for each and every logon. The dataset will be de-allocated during session Termination.

Is there any way to concatenate the dataset permanently to SYSEXEC. I have scoured through many Forums but couldn't find a solution.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Sep 01, 2015 6:32 pm
Reply with quote

One way would be to add the data set to the system LOGON procedure. This would get the allocation done during the LOGON process. However, the data set is then allocated for every TSO user on your system. Your site support group may not approve such a change.
Back to top
View user's profile Send private message
swathykrishnan

New User


Joined: 01 Oct 2010
Posts: 43
Location: Bangalore

PostPosted: Tue Sep 01, 2015 6:42 pm
Reply with quote

How can I Change the System LOGON procedure? Is it resides in any particular library.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Sep 01, 2015 6:47 pm
Reply with quote

That's usually the function of the systems programmers in your site support group.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Sep 01, 2015 7:14 pm
Reply with quote

Quote:
How can I Change the System LOGON procedure? Is it resides in any particular library.
If you are an application programmer, you will not have the security access to make the change. You need to contact your site support group and work with them.
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 446
Location: USA

PostPosted: Tue Sep 01, 2015 7:38 pm
Reply with quote

You can also use the command line on the logon screen.

See this: http://ibmmainframes.com/viewtopic.php?p=327273&highlight=#327273

.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Tue Sep 01, 2015 8:02 pm
Reply with quote

Quote:
But the Problem is i have to execute the above step for each and every logon. The dataset will be de-allocated during session Termination.

Is there any way to concatenate the dataset permanently to SYSEXEC


Unless your Rexx programs are certified by some testers saying they work with NO issues, No one would approve your request to add them in the system sysexec lib.

At my shop, each racf id has it's own rexx dataset ( std name first qualifier will be your racf id) and then you request you site support team ( as told by others) to concatenate this dataset or you could use the rexx command shown by RahulG31 to add your members and this will be always concatenated whenever you relogin.
Back to top
View user's profile Send private message
steve-myers

Active Member


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

PostPosted: Tue Sep 01, 2015 8:19 pm
Reply with quote

swathykrishnan wrote:
How can I Change the System LOGON procedure? Is it resides in any particular library.

Mr. Heinze and Mr. Sample are correct. Changing a LOGON procedure is reserved to the central site system programmers. Especially for you, where you are allocating a personal library, they will not be cooperative.

There are other possibilities.
  • Many sites always execute a "standard" Rexx EXEC when you logon. Some of these Rexx EXECs have been trained to check for a "standard" library such as userid.CLIST and automatically add it to the standard SYSPROC. Find out if your installation's startup EXEC does this.
  • The regular TSO/E LOGON screen has Command ===>. Enter the TSO command you want to run here. The contents of this data area are retained, so it will automatically run every time you logon. This command runs after the "standard" startup EXEC.
Back to top
View user's profile Send private message
swathykrishnan

New User


Joined: 01 Oct 2010
Posts: 43
Location: Bangalore

PostPosted: Wed Sep 02, 2015 10:45 am
Reply with quote

Hello Rahul,

Thanks for your reply.
But the given solution won't work for us since we are using TPX menu to logon to different appilcations.

As everyone says let me contact our System Admins..
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top