The fact that you code an "SMS" parameter, such as STORCLAS and DATACLAS
in this instance, does not mean that those values are used.  The ACS
routines are still invoked.  Depending on the code in each routine, the
specified value can honored or changed.

Determining why a set of input resulted in a particular allocation
requires analysis of ACS routines themselves.  It is even possible for
the decision of one routine to indirectly affect the decision made by a
subsequent routine.  (On my system, the output from the STORCLAS routine
completely drives the STORGRP routine.)

The ACS routines have access to (almost) all the parameters on the DD
statement so it is entirely possible that the presence or absence of a
VOLSER or even a particular VOLSER could drive the routine in a
different direction.

-----Original Message-----
From: Tommy Tsui [mailto:snip] 
Sent: Wednesday, June 06, 2007 3:08 AM
To: [email protected]
Subject: explicity coding for STORCLAS & DATACLAS

Hi all,
If I using the following JCL to create a SMS dataset (explicitly but not
ACS
control) , the dataset allocated to non-sms volume.

IEBDG    EXEC PGM=IEBDG
SYSPRINT DD SYSOUT=*
OUT      DD DSN=SSMD.TESTXX,DISP=(,CATLG),
     UNIT=(SYSDA,2),STORCLAS=SC4G,DATACLAS=DC4G,
     SPACE=(CYL,(2,10),RLSE),
     DCB=(RECFM=FB,LRECL=900,BLKSIZE=0)


After I hard code the VOL=SER=XXXXXX, it will allocate to SMS managed
volume

IEBDG    EXEC PGM=IEBDG
SYSPRINT DD SYSOUT=*
OUT      DD DSN=SSMD.TESTXX,DISP=(,CATLG),
     UNIT=(SYSDA,2),STORCLAS=SC4G,DATACLAS=DC4G,
     SPACE=(CYL,(2,10),RLSE),VOL=SER=XXXXXX,
     DCB=(RECFM=FB,LRECL=900,BLKSIZE=0)


There're no problem if I use ACS to control, it will allocate to
sms-managed volume even no VOL=SER=XXXXX ....

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to