View previous topic :: View next topic
|
Author |
Message |
Ca7_angel
New User
Joined: 09 Oct 2007 Posts: 4 Location: Hyderabad
|
|
|
|
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 |
|
|
hemanth.nandas
Active User
Joined: 18 Aug 2007 Posts: 120 Location: India
|
|
|
|
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 |
|
|
Ca7_angel
New User
Joined: 09 Oct 2007 Posts: 4 Location: Hyderabad
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
|