Tommy, /* case 1 allocate temporary file //BACKUP1 EXEC PGM=ICEGENER //SYSPRINT DD SYSOUT=* //SYSUT1 DD DUMMY,DCB=(RECFM=FB,LRECL=80,BLKSIZE=0) //SYSUT2 DD DSN=&&TEMP,DISP=(,PASS),UNIT=SYSDA, // SPACE=(CYL,(1,1),RLSE) //SYSIN DD DUMMY
Your ACS code will work for this case but you know that already. /* case 2 allocate a dataset with volume assigned it will allocate to "PRIVATE" volume TSMD12 under NON-SMS managed //BACKUP1 EXEC PGM=ICEGENER //SYSPRINT DD SYSOUT=* //SYSUT1 DD DUMMY,DCB=(RECFM=FB,LRECL=80,BLKSIZE=0) //SYSUT2 DD DSN=TSMD.TEST.FILE1,DISP=(,PASS),UNIT=SYSDA, // SPACE=(CYL,(1,1),RLSE),VOL=SER=TSMD12 //SYSIN DD DUMMY /* case 3 allocate a dataset without volume assinged it will allocate to "STORAGE" volume under NON-SMS managed //BACKUP1 EXEC PGM=ICEGENER //SYSPRINT DD SYSOUT=* //SYSUT1 DD DUMMY,DCB=(RECFM=FB,LRECL=80,BLKSIZE=0) //SYSUT2 DD DSN=TSMD.TEST.FILE1,DISP=(,PASS),UNIT=SYSDA, // SPACE=(CYL,(1,1),RLSE) //SYSIN DD DUMMY In case 2, I recommend that you not put this volume under SMS management. If the volume(s) is part of the same storage group as the "storage" volumes, any dataset going to that pool can be allocated on it. If you must put the "private" volumes under SMS, you should setup a separate storage group. You would probably also want to use a different storclas to make the decision in the storage group acs routine easy. In case 3, I suggest that you code your ACS routine to handle case 1 and 2. You can then put in a SET &STORCLAS='SCTSMD' to handle everything else. Again, do not try to put case 2 datasets in the same SMS pool as case 3 datasets. Regards, John ---------------------------------------------------------------------- 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

