&USER is the User ID associated with the batch job. If you have a FILTLIST of
the User IDs called, say, "NOPDSES", then you can code:
WHEN (&USER EQ &NOPDSES AND
&DSNTYPE EQ 'LIB') THEN DO
WRITE 'NOT ALLOWED FOR PDSE'
EXIT CODE(12)
END
HTH,
Greg Shirey
Ben E. Keith Company
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of willie bunter
Sent: Thursday, July 02, 2015 12:35 PM
To: [email protected]
Subject: SMS ACS ROUTINE VARIABLES
Hallo All,
I am stuck with trying to figure out how I can code the variable for a Batch
userid. For examle users aren't allowed to create a PDSe. I thought by coding
the condition for the user's batch id it would solve the problem. However, I
looked at all the SMS ACS read variable list but there is none for a batch id.
Could anyone suggest how I can go about this?
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN