Ed,

This has been a headscratcher to me for a long time.  I tried similar example:

//OMVS     EXEC PGM=BPXBATCH,REGION=128M     
//SYSPRINT DD   SYSOUT=*                     
//SYSTSPRT DD   SYSOUT=*                     
//SYSOUT   DD   SYSOUT=*                     
//STDPARM  DD   *                            
SH su;                                       
   ps -ef                                    
/*                                           
//STDOUT  DD    SYSOUT=*                     
//STDERR  DD    SYSOUT=*                     

Yet, I only see PID's associated my own UID instead of UID(0)

     UID        PID       PPID  C    STIME TTY       TIME CMD                   
         
 MYID   33685978     131596  - 12:32:53 ?         0:00 ps -ef                   
      
 MYID     131596   84017677  - 12:32:53 ?         0:00 -sh -c su;               
      
 MYID   84017677          1  - 12:32:53 ?         0:01 BPXBATCH                 
      


Did the same thing running command "id", which I though would show uid(0) but 
did not. 

So I am still scratching my balding head....
_____________________________________________________________________________________________________
Dave Jousma
AVP | Manager, Systems Engineering  

Fifth Third Bank  |  1830 East Paris Ave, SE  |  MD RSCB2H  |  Grand Rapids, MI 
49546
616.653.8429  |  fax: 616.653.2717


-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Ed 
Jaffe
Sent: Friday, May 15, 2020 12:20 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: USS: su: User ID "SH" does not exist

**CAUTION EXTERNAL EMAIL**

**DO NOT open attachments or click on links from unknown senders or unexpected 
emails**

On 5/14/2020 5:23 PM, Jon Bathmaker wrote:
> //STDPARM DD *
> SH su
> SH echo $PATH
> SH unmount -fv ZOS240.SYS1.OMVS.SYSRES.OS240971.FNT.ZFS


The above looks wrong to me. I always do it this way:


//STDPARM  DD *
SH su;
    echo $PATH;
    unmount -fv ZOS240.SYS1.OMVS.SYSRES.OS240971.FNT.ZFS


-- 
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/


--------------------------------------------------------------------------------
This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

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

**DO NOT open attachments or click on links from unknown senders or unexpected 
emails**


This e-mail transmission contains information that is confidential and may be 
privileged.   It is intended only for the addressee(s) named above. If you 
receive this e-mail in error, please do not read, copy or disseminate it in any 
manner. If you are not the intended recipient, any disclosure, copying, 
distribution or use of the contents of this information is prohibited. Please 
reply to the message immediately by informing the sender that the message was 
misdirected. After replying, please erase it from your computer system. Your 
assistance in correcting this error is appreciated.

----------------------------------------------------------------------
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