I don't think there's anything wrong with the logic, but you know that most 
attributes of a DATACLAS can be overridden. 

Greg Shirey
Ben E. Keith Company 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Lizette Koehler
Sent: Monday, March 16, 2015 7:02 PM
To: [email protected]
Subject: SMS ACS and TEMP DSN Parsing

I am trying to create a process in the Dataclas that will change some of the 
dataset attributes of on specific Temp DSN.

The DSN comes in with DSTYPE = TEMP

Does anyone know if this will work?  The DSN will look like this:
SYS15070.T105514.RA000.MYDSN1.R0226931


If (&DSTYPE = Temp and &DSN(4) = 'MYDSN1')
  Then
   Do
      Set Dataclas = X 
      Write DSN set to X Dataclas
      Exit
   End

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to