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

What are all the activities of IEFBR14


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
TizMe

New User


Joined: 05 Jan 2006
Posts: 72

PostPosted: Thu May 03, 2007 12:26 pm
Reply with quote

expat wrote:
To allocate a dataset in a non SMS environment you need access to a specific SMS STORCLAS.

Confused ? - You need an SMS STORCLAS to write a non SMS dataset icon_sad.gif


Not really correct. To create a NON-SMS managed dataset it needs to have attributes that cause the STORAGE CLASS ACS routine to not set a l storclass.

Some shops implement this by code in the ACS routine like this:
Code:
IF &STORCLASS='NONSMS' THEN SET STORCLAS=''


But there are many other ways that the ACS routines can also have a
Code:
THEN SET STORCLAS=''


For instance it may just be coded that if you specify a certain (NONSMS) volser in your jcl then the acs code will honour the allocation. eg
Code:
IF &ANYVOL='SYS%%%' THEN SET STORCLAS=''
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu May 03, 2007 2:51 pm
Reply with quote

Quote:
Not really correct.

Of course it is correct, in every occurence the STORCLAS is set to '' icon_rolleyes.gif
Back to top
View user's profile Send private message
TizMe

New User


Joined: 05 Jan 2006
Posts: 72

PostPosted: Tue May 08, 2007 8:31 am
Reply with quote

Well expat, I just showed how it can be done without using any STORCLAS, so it isn't correct.

Any dataset that has NO STORCLAS set becomes non-SMS managed.

So it can be done without you needing access to any specific SMS STORCLAS. The ACS routines just have to be coded correctly.

By using:
Code:
IF &ANYVOL='SYS%%%' THEN SET STORCLAS=''

you can bypass the need...
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue May 08, 2007 12:23 pm
Reply with quote

Yeah, but it's all site specific isn't it.

I never allow a non SMS allocation except to the chosen few, i.e. Storage, sysprogs, ( and dare I say it, even a couple of trusted JCLMs ).

I've always set it up that to be non SMS managed it must pass the filter for accepted users to STORCLAS=NONSMS, and of course filtered by DSN.

The way that you have shown - maybe there's more code to it - would allow ANYONE to allocate non SMS. Something I've found to be a real pain in past when people find out that they can - they almost certainly will - grab space anywhere.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue May 08, 2007 7:22 pm
Reply with quote

Hello,

And then they often complain when their data is either relocated or removed.

For my $.02, following the storage management standards should be a condition of continued employment. . .
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue May 08, 2007 7:53 pm
Reply with quote

Quote:
And then they often complain when their data is either relocated or removed.

But that's the fun part of storage admin, tidying up the miscreants icon_biggrin.gif
Back to top
View user's profile Send private message
TizMe

New User


Joined: 05 Jan 2006
Posts: 72

PostPosted: Wed May 09, 2007 10:56 am
Reply with quote

I actually use:

Code:
WHEN (&USER=&TRUSTED_USERS AND &STORCLAS='NONSMS' AND ANYVOL=&NON_SMS_VOLS)                     
       SET &STORCLAS=''


My only point was that it doesn't have to be done that way.
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 -> JCL & VSAM Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts TWS - ETT File triggering does not wo... IBM Tools 4
No new posts Query on IEFBR14 with GDG JCL & VSAM 4
No new posts To know activities on db2 tables DB2 4
No new posts IEFBR14 to delete tape without tape m... JCL & VSAM 4
No new posts parm values in IEFBR14 JCL & VSAM 15
Search our Forums:

Back to Top