Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to extract the USer ID from SAR using SARBCH

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
dibyojyoti

New User


Joined: 16 Jun 2008
Posts: 2
Location: Chennai, india

PostPosted: Fri Dec 24, 2010 5:53 pm    Post subject: How to extract the USer ID from SAR using SARBCH
Reply with quote

HI I am using SARBCH to extract SAR listing of jobs using the below sysin

/DBASE NAME=<ca7 log name>
/LIST ID=jobname*

but as the length of the output is only 133 bytes I am not able to get the USER ID info for a set of jobs. can any one give me a clue, is it possible using SARBCH or i need any other utility?
Back to top
View user's profile Send private message

vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1456
Location: Azeroth

PostPosted: Mon Dec 27, 2010 2:28 pm    Post subject:
Reply with quote

Hi,

After you get the SAR extract from SARBCH,
The SAR extract has the USER id who submitted the job, 2nd next to the word 'IRR010I '

You could use a job to get the 2nd word next to 'IRR010I ' word from the SAR extract.

Or am I missing something on ur requirement?

Code:
********************************* TOP OF DATA *************************
                   J E S 2  J O B  L O G  --  S Y S T E M  X Y Z A  --
                                                                       
03.07.26 JOB05194 ---- THURSDAY,  23 DEC 2010 ----                     
03.07.26 JOB05194  IRR010I  USERID ABCDEFG  IS ASSIGNED TO THIS JOB. 
Back to top
View user's profile Send private message
Dsingh29

Active User


Joined: 16 Dec 2008
Posts: 132
Location: IBM

PostPosted: Tue Dec 28, 2010 10:16 am    Post subject: Reply to: How to extract the USer ID from SAR using SARBCH
Reply with quote

hi vasanth,

just a quick question, is the word 'IRR010I ' a standard...i guess it may vary from shop to shop..isnt it ?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 28, 2010 10:23 am    Post subject:
Reply with quote

Hello,

What does the same first part of the sysout show from a SARBCH run on your system?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Dec 28, 2010 2:01 pm    Post subject: Reply to: How to extract the USer ID from SAR using SARBCH
Reply with quote

sorry to disagree on the IRR010I advice
( not me personally, zOS disagrees )

quoting the messages and manual

Quote:
IRR010I USERID userid IS ASSIGNED TO THIS JOB.

Explanation: The user did not specify the USER parameter on the job card.
System Action: The submitting user's user ID is assigned to this job. (This is normal for user ID propagation.) Processing continues. This message goes only to the job log.

User Response: None.


in general it is impossible to find who submitted the job
the only thing MVS ( and security packages ) care is the ID on the job card

if the job card has the USER parameter specified You will not get the message
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1456
Location: Azeroth

PostPosted: Tue Dec 28, 2010 9:36 pm    Post subject:
Reply with quote

Thanks for correcting and the additional useful info enrico.

Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm
No new posts Data set is allocated to another job ... Seppe CLIST & REXX 2 Wed Aug 03, 2016 4:31 pm
No new posts user abend 4038 occurred in module CE... Musab Ahmed PL/I & Assembler 1 Wed Mar 30, 2016 10:49 am
No new posts IP address of user's machine shreya19 TSO/ISPF 5 Wed Mar 16, 2016 3:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us