View previous topic :: View next topic
|
Author |
Message |
Ca7_angel
New User
Joined: 09 Oct 2007 Posts: 4 Location: Hyderabad
|
|
|
|
Hi,
Can someone give me a code that checks a job status and then depending on the status performs some actions ( More like a IF -THEN- ELSE format)?
Thanks a lot in advance. |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
angel,
Quote: |
Can someone give me a code that checks a job status |
By JOb status are you referring to the CC (condition code)? or you want to check whether the job is under execution or not ? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I can't "give you a code", but I can tell you that this is achievable through REXX. Please search the forum for batch SDSF.
O. |
|
Back to top |
|
|
Ca7_angel
New User
Joined: 09 Oct 2007 Posts: 4 Location: Hyderabad
|
|
|
|
Thanks ofer71...I was looking for options other than REXX...if accessing CA7 with JCL doesnt help ...I will go for REXX...Will have to study REXX from scratch since I am not aware of it.
Hi AARU,
I want to whether the job is under execution or not on CA7 but through a JCL which when submitted prints out the status of job and perform a action according to the status.
By code I mean the JCL code\Command not Condition code.
Thanks for replying |
|
Back to top |
|
|
|