Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Using DATACLAS in JCL which is CDS but not in ACS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ignich7

New User


Joined: 02 Nov 2005
Posts: 65

PostPosted: Wed Oct 24, 2012 8:23 pm    Post subject: Using DATACLAS in JCL which is CDS but not in ACS
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Oct 24, 2012 8:31 pm    Post subject: Reply to: Using DATACLAS in JCL which is CDS but not in ACS
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 User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Mon Nov 05, 2012 9:21 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Vsam error 0028 - Will dataclas(exten... kranthikumarb JCL & VSAM 2 Wed Jan 23, 2013 9:32 am
No new posts Utility to display attributes of DATA... dbzTHEdinosauer JCL & VSAM 5 Wed Feb 02, 2011 2:44 pm
No new posts DATACLAS= DCTCOM and DATACLAS= DCCCOM jdeeponline JCL & VSAM 1 Thu Jul 01, 2010 8:47 pm
No new posts DATACLAS parameter problem Trinadh JCL & VSAM 3 Tue Jan 26, 2010 1:39 pm
No new posts DATACLAS=COMPRES, DASD creation in JCL paul_seth55 JCL & VSAM 4 Tue Mar 10, 2009 2:13 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us