MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to judge sender for job Log?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Sun Nov 28, 2004 8:43 pm    Post subject: How to judge sender for job Log? Reply with quote

I want to judge a job is send from OPC or by hand. Can I see it from Job log or SYSLOG or somewhere?

Thank you.
_________________
cheers,
Andy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sun Nov 28, 2004 9:39 pm    Post subject: Reply with quote

Andy,

What do you mean by hand? User submitting the job? or the job being submitted by the schedueling packages like ca7 ?

One simple way to extract the user id from the joblog. If the user submits the jobs the jobcard will contain the userid . Check this link to find the job related info

http://www.mvsforums.com/helpboards/viewtopic.php?t=1657&highlight=jobname

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Sun Nov 28, 2004 10:31 pm    Post subject: Reply with quote

By hand mean User submitting the job. I think no matter the job submitted from OPC or by User, the jobcard will contain userid. How can differ?

Thank you,
_________________
cheers,
Andy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Nov 29, 2004 6:38 am    Post subject: Reply with quote

Quote:

I think no matter the job submitted from OPC or by User, the jobcard will contain userid. How can differ?


Andy, Not exactly true. If a Job is scheduled in ca7 or Control-M , then it will have the JOBNAME as the Jobcard, where as a user submitted job will have his T-id/Logon id in the jobcard

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Mon Nov 29, 2004 11:26 am    Post subject: Reply with quote

Kolusu said:
Quote:
where as a user submitted job will have his T-id/Logon id in the jobcard


This may be enforced at some sites, but at mine I can submit a job with any name or other parameters so the jobname or other parts of the jobcard cannot be used to distinguish between OPC and non-OPC submitted jobs.
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon Nov 29, 2004 3:12 pm    Post subject: Reply with quote

Same here.

Since we are required to generate automated problem tickets whenever a production job fails, we use the scheduling system's RACF id, which is associated with the job, to make that determination.
Back to top
View user's profile Send private message
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Tue Nov 30, 2004 12:55 am    Post subject: Reply with quote

Dear all,

Thank you anyway.
_________________
cheers,
Andy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group