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 check particular job abended today or not

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: How to check particular job abended today or not
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: Chennai

PostPosted: Wed Oct 24, 2007 5:25 pm    Post subject:
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    Post subject: Reply to: How to check particular job abended today or not
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

Moderator Team Head


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

PostPosted: Wed Oct 24, 2007 8:39 pm    Post subject: Reply to: How to check particular job abended today or not
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    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 ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... gpowell382 IDMS/ADSO 2 Fri Jun 30, 2017 11:52 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm

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