Who  is "we", exactly what were the auditors' demands and did you discuss the 
issues with your management?

What you have in stdparm is not a long parameter but a sequence of parameters. 
Is that legal, or will BPXBATCH take all of the input after the initial sh as 
one long command?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Jon 
Bathmaker <jon.bathma...@sys1consulting.com>
Sent: Thursday, May 14, 2020 8:23 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: USS: su: User ID "SH" does not exist

Hi,

Because of auditor demands we are no longer able to run TSO USS commands
that require UID=0,  so I attempting figure out how to run  USS commands
in under BPXBATCH.  The following is a job to debug the unmount command
in batch but I have been unsuccessful so far.   I am hoping that I am
doing something wrong and that one of you can point out my error.

Here is the JCL:

//BATBPX  EXEC PGM=BPXBATCH

//STEPLIB  DD DISP=SHR,DSN=SYS1.CEE.SCEERUN

//STDERR   DD SYSOUT=*

//STDOUT   DD SYSOUT=*

//STDPARM  DD *

SH su

SH echo $PATH

SH unmount -fv ZOS240.SYS1.OMVS.SYSRES.OS240971.FNT.ZFS

Here is the contents of STDERR when the job runs.

FSUM5023 su: User ID "SH" does not exist, or the RACF profile does not
contain an OMVS segment.


Thanks.

Best regards,

Jon Bathmaker

z/OS Systems Programmer


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to