Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What are all the activities of IEFBR14
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject:
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: 8795
Location: Welsh Wales

PostPosted: Thu May 03, 2007 2:51 pm    Post subject:
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    Post subject:
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: 8795
Location: Welsh Wales

PostPosted: Tue May 08, 2007 12:23 pm    Post subject:
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

Site Director


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

PostPosted: Tue May 08, 2007 7:22 pm    Post subject:
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: 8795
Location: Welsh Wales

PostPosted: Tue May 08, 2007 7:53 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Query on IEFBR14 with GDG Ashishpanpaliya JCL & VSAM 4 Tue Nov 07, 2017 8:34 pm
No new posts To know activities on db2 tables ashek15 DB2 4 Fri Mar 03, 2017 11:23 pm
No new posts IEFBR14 to delete tape without tape m... Lynne Schuler JCL & VSAM 4 Thu Jan 29, 2015 8:51 am
No new posts parm values in IEFBR14 bvarun. JCL & VSAM 15 Mon Aug 26, 2013 10:29 am
No new posts How to make one step in JCL to Null s... kratos86 JCL & VSAM 19 Thu Apr 21, 2011 12:37 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us