Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1532
Location: Chennai

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: 10375
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: 1532
Location: Chennai

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 Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts How to Extract BMS Marco Source from ... Howard Hinman CICS 5 Tue Oct 31, 2017 11:13 pm
No new posts Copying part of the report using SARBCH Aedulla CA Products 1 Tue Oct 24, 2017 9:24 am
No new posts User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us