Re: USER/OWNER/&SYSUID (was Multiple jobs/same name
On Mon, 5 Oct 2009 08:41:26 +0100, Terry Sambrooks wrote: >Hi, > >Paul Gilmartin wrote in "Re: Multiple jobs/same name" > >"EXEC PGM=IEFBR14,PARM='&SYSUID' substitutes the USER= value from the JOB >CARD for &SYSUID. > >Until someone shows me documentation or an example to the >contrary, I'll believe that OWNER is a synonym for userid." > You are correct, it's the exection userid and not the submitter's userid. As I have mentioned in this list several times over the years, the userid in the SDSF OWNER column is from the JSABUSID field in JSAB that is a JES CB. You won't see a OWNER userid for jobs not started by JES like SUB=MSTR. George Fogg -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: USER/OWNER/&SYSUID (was Multiple jobs/same name
Paul Gilmartin wrote: On Mon, 5 Oct 2009 08:41:26 +0100, Terry Sambrooks wrote: It is a useful way of identifying that a job is owned by a User, even if they did not submit it. Display Filter View Print Options Help -- SDSF HELD OUTPUT DISPLAY CLS XLINES 1,749 LINE 1-7 (7) COMMAND INPUT ===>SCROLL ===> NP JOBNAME JobIDOwnerPrty C ODisp Dest Tot-Rec CICSFIL1 JOB02109 SPACEMAN 144 X HOLD LOCAL475 CICSFIL2 JOB02110 SPACEMAN 144 X HOLD LOCAL475 ... The excerpt does not show the submitting user, AUTOOPS. Is it available elsewhere, in another display, or is it simply replaced by OWNER in all control blocks related to the job? If you look in SYS1.MACLIB(ICHRUTKN) you'll see two fields: TOKSUSR DSCL8 SUBMITTING USERID TOKUSER DSCL8 SESSION OWNER USERID It's easy enough to display both values as shown below. SubUser is submitting userid: |STATUS 729S 0X 733W 0H 225T 12,352,171 Records 0 Pages |Command ===> |Cmd JobName JobIDStatus OwnerSubUser Queue AMbr C JP ... |--- / -- - -- ... |DASDLIST J0066845 ACTIVE SYSOPER AUTO EXEC S70 A 9 ... |NETTESTR S0066842 ACTIVE PHOENIX PHOENIX EXEC SA015 ... |EDJX2T0066784 QUEUED EDJX2EDJX2PRINT 1 ... -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 edja...@phoenixsoftware.com http://www.phoenixsoftware.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: USER/OWNER/&SYSUID (was Multiple jobs/same name
Paul Gilmartin pisze: On Mon, 5 Oct 2009 08:41:26 +0100, Terry Sambrooks wrote: The column headed OWNER in SDSF will contain a Userid as per the attached listing (note that in this case the Userid exceeds 7 characters, because SPACEMAN has nothing to do with TSO). This field illustrates a difference when RACF SURROGATE is used, and the job is submitted on behalf of another user, as in the case below, where the submitter is an STC called AUTOOPS, but the job needs the authority of SPACEMAN. It is a useful way of identifying that a job is owned by a User, even if they did not submit it. Display Filter View Print Options Help -- SDSF HELD OUTPUT DISPLAY CLS XLINES 1,749 LINE 1-7 (7) COMMAND INPUT ===>SCROLL ===> NP JOBNAME JobIDOwnerPrty C ODisp Dest Tot-Rec CICSFIL1 JOB02109 SPACEMAN 144 X HOLD LOCAL475 CICSFIL2 JOB02110 SPACEMAN 144 X HOLD LOCAL475 ... The excerpt does not show the submitting user, AUTOOPS. Is it available elsewhere, in another display, or is it simply replaced by OWNER in all control blocks related to the job? It is available. I don't know about control blocks, but SMF (type30?) contains such information. It can be easily extracted using RACF utility IRRADU00. You will find both: submitting userid and execution userid. Caution: it is possible to mess the things: Submitting user ABC submits job A, under execution userid XYZ. Then the job A submits another job B. In this case job B is run under user (owner) XYZ, and submitter is also XYZ. From the other hand you can prevent it by using PROPCNTL class and blocking XYZ userid propagation... -- Radoslaw Skorupka Lodz, Poland -- BRE Bank SA ul. Senatorska 18 00-950 Warszawa www.brebank.pl Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, nr rejestru przedsiębiorców KRS 025237 NIP: 526-021-50-88 Według stanu na dzień 01.01.2009 r. kapitał zakładowy BRE Banku SA (w całości wpłacony) wynosi 118.763.528 złotych. W związku z realizacją warunkowego podwyższenia kapitału zakładowego, na podstawie uchwały XXI WZ z dnia 16 marca 2008r., oraz uchwały XVI NWZ z dnia 27 października 2008r., może ulec podwyższeniu do kwoty 123.763.528 zł. Akcje w podwyższonym kapitale zakładowym BRE Banku SA będą w całości opłacone. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: USER/OWNER/&SYSUID (was Multiple jobs/same name
On Mon, 5 Oct 2009 08:41:26 +0100, Terry Sambrooks wrote: > >The column headed OWNER in SDSF will contain a Userid as per the attached >listing (note that in this case the Userid exceeds 7 characters, because >SPACEMAN has nothing to do with TSO). > >This field illustrates a difference when RACF SURROGATE is used, and the job >is submitted on behalf of another user, as in the case below, where the >submitter is an STC called AUTOOPS, but the job needs the authority of >SPACEMAN. > >It is a useful way of identifying that a job is owned by a User, even if >they did not submit it. > > Display Filter View Print Options Help >-- >SDSF HELD OUTPUT DISPLAY CLS XLINES 1,749 LINE 1-7 (7) >COMMAND INPUT ===>SCROLL ===> >NP JOBNAME JobIDOwnerPrty C ODisp Dest Tot-Rec > CICSFIL1 JOB02109 SPACEMAN 144 X HOLD LOCAL475 > CICSFIL2 JOB02110 SPACEMAN 144 X HOLD LOCAL475 ... The excerpt does not show the submitting user, AUTOOPS. Is it available elsewhere, in another display, or is it simply replaced by OWNER in all control blocks related to the job? -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html