BookmarkSubscribeRSS Feed
deleted_user
Not applicable
The answer is apparently not SETINIT.
Is USEREXIT1 the way to do it ?
If so - has anybody got a piece of code for this ?

Cheers 🙂
Torben
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Yes, there is. With the term used, LPAR, you mean IBM mainframe (z/OS MVS) system, possibly TSO (interactive) or a batch job, as it goes.

There is a software product called ThruPut Manager http://mvssol.com/ that provides this capability, directing batch jobs based on flexible user-defined criteria. Another similar product is called OS/EM.

Native with z/OS and WLM, you can implement SCHDENV, or you can require a user code a /*JOBPARM with SYSAFF= to direct the batch job to an appropriate LPAR.

Lastly, one technical prevention mechanism to disallow execution on any non-authorized LPAR, you can have your SAS admin only define the SAS datasets in the master catalog for the LPAR where SAS is authorized. If a job is accidentally started on an unauthorized LPAR, the job will get a JCL ERROR because the SAS system libraries are not found.


Scott Barry
SBBWorks, Inc.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1021 views
  • 0 likes
  • 2 in conversation