View previous topic :: View next topic
|
Author |
Message |
ignich7
New User
Joined: 02 Nov 2005 Posts: 66
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 582 Location: London
|
|
|
|
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 |
|
|
|