My recommendation is to try it.  It is the best teaching tool.  And remember
to ISMF TEST function for testing ACS code


Remember to follow the conventions needed to code masked variables vs.
specific data for variables.

So long as the name follows normal z/OS policy - you should be fine.

Lizette


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of willie bunter
> Sent: Friday, July 03, 2015 6:34 AM
> To: [email protected]
> Subject: Re: SMS ACS ROUTINE VARIABLES
> 
> I saw the &USER variable in the doc but I was thrown off track when I read
> the explanation of &USER which says the following : The user ID of the
> person allocating the dataset.  I would like to try your suggestion
however
> since we have multiple batch users begining @ would a @* work because the
> job(s) are submitted by the scheduler?
> 
> --------------------------------------------
> On Thu, 7/2/15, Greg Shirey <[email protected]> wrote:
> 
>  Subject: Re: SMS ACS ROUTINE VARIABLES
>  To: [email protected]
>  Received: Thursday, July 2, 2015, 1:46 PM
> 
>  &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

Reply via email to