IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to extract the USer ID from SAR using SARBCH


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 1742
Location: Tirupur, India

PostPosted: Mon Dec 27, 2010 2:28 pm
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
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

Moderator Emeritus


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

PostPosted: Tue Dec 28, 2010 10:23 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 28, 2010 2:01 pm
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: 1742
Location: Tirupur, India

PostPosted: Tue Dec 28, 2010 9:36 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts user exit in IBM Infosphere Optim DB2 8
Search our Forums:

Back to Top