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

Using DATACLAS in JCL which is CDS but not in ACS


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

New User


Joined: 02 Nov 2005
Posts: 66

PostPosted: Wed Oct 24, 2012 8:23 pm
Reply with quote

Hi..

I have a dataclass named XXX. It is defined using ISMF but not used in ACS. If I code DATACLAS=XXX in my JCL for dataset allocation, my dataset does not get XXX instead it gets default DATACLAS.

Is it possible to use a DATACLAS which is defined in ACDS and not used in ACS? Please let me know.

Thanks in advance,
Gnana Nicholas
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 24, 2012 8:31 pm
Reply with quote

it depends on how the ACS routines are written
and the standards

since JCL passes to the ACS routines the SMS tokens as specified

normally for THE DATACLAS
the ACS routine checks that the DATACLAS token is NOT NULL
and simply exits returning the passed value asis without any checking

while it might be harmless to do so for the dataclass
, at most you get a dataset defined with the wrong characteristics ,
and easy to find out at the first program execution

might not be the same for the storage and management stuff
where an error might be discovered much later
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 582
Location: London

PostPosted: Mon Nov 05, 2012 9:21 pm
Reply with quote

It is not possible to use a Dataclas defined in the ACDS if the ACS code does not assign it.

In most companies the ACS code will check it is a valid Dataclas and just accept the one you have coded in the JCL.

However they may also have code that will check the Dataclas you've coded and then also check some other variables like USERID and dataset name for example and decide you can't use that particular Dataclas. They may just assign another such as a DEFAULT one or just exit and abend the allocation.

These decisions are entirely dependent on your particular companies ACS code policy, so you have to ask your Storage people what applies.
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

 


Similar Topics
Topic Forum Replies
No new posts Difference between DATACLAS=MULTIVOL ... JCL & VSAM 10
No new posts Cannot change DATACLAS on DFSMSdss re... JCL & VSAM 11
No new posts Vsam error 0028 - Will dataclas(exten... JCL & VSAM 2
No new posts Utility to display attributes of DATA... JCL & VSAM 5
No new posts DATACLAS= DCTCOM and DATACLAS= DCCCOM JCL & VSAM 1
Search our Forums:

Back to Top