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

How to check particular job abended today or not


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ca7_angel

New User


Joined: 09 Oct 2007
Posts: 4
Location: Hyderabad

PostPosted: Wed Oct 24, 2007 4:49 pm
Reply with quote

Hi can some please help me with a query.

1) I want a job which when submitted informs the status of the job.
or
2) A command that can tell me If the particular job abended today or not.

I went thru all the posts. I got to know how we can see SAR details using a JCL. But as I dont have a dev background I am not able to find how to check current job status of a job in batch.

Thanks
Back to top
View user's profile Send private message
hemanth.nandas

Active User


Joined: 18 Aug 2007
Posts: 120
Location: India

PostPosted: Wed Oct 24, 2007 5:25 pm
Reply with quote

Hi Ca7_angel,

If yopu are using CA7 scheduler, then Use

LQ,ST=ABND to know current abended Jobs,

LPRRN,JOB=job-name, Gives you prior run info job, which also includes abended and restart info if any.

LRLOG,JOB=job-name, Gives you particular day run of job, this comman is simmilar to LPPRN.
Back to top
View user's profile Send private message
Ca7_angel

New User


Joined: 09 Oct 2007
Posts: 4
Location: Hyderabad

PostPosted: Wed Oct 24, 2007 8:27 pm
Reply with quote

Hi I am sorry . I was not specific in my question.

I Know the CA7 commands but I want to access CA7 with JCL.

I require a JCL statement that helps me find what is the status of the particular job at the moment I submit the JCL.

If the job is not present on CA7 or abended then I can found out using the JCL.

Hope I made myself clear. Thanks a lot Hemant for ur reply
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Oct 24, 2007 8:39 pm
Reply with quote

We're just starting to use CA-7, but from what I know, the batch program is SASSBSTR. Here's an example I was given:

Code:

//REPORT   EXEC PGM=SASSBSTR
//UCC7CMDS DD   DISP=SHR,DSN=...
//BATCHIN  DD   DISP=SHR,DSN=...
//BATCHOUT DD   DISP=SHR,DSN=...
//ERRORS   DD   SYSOUT=*
//SYSOUT   DD   SYSOUT=*
//SYSPRINT DD   SYSOUT=*
//SYSIN    DD   *
/LOGON
CA-7 commands
...
/LOGOFF
/*
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 Reorg abended with REASON=X'00E40347' DB2 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts How to check whether who renamed the ... JCL & VSAM 3
No new posts No ++JCLIN, APPLY CHECK job JCL & VSAM 1
Search our Forums:

Back to Top