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
 
Checking a job status and perform action on result found

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Ca7_angel

New User


Joined: 09 Oct 2007
Posts: 4
Location: Hyderabad

PostPosted: Thu Oct 25, 2007 11:04 am    Post subject: Checking a job status and perform action on result found
Reply with quote

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)?
icon_confused.gif

Thanks a lot in advance.
Back to top
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Oct 25, 2007 11:15 am    Post subject: Reply to: Checking a job status and perform action on result
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Oct 25, 2007 11:18 am    Post subject:
Reply with quote

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
View user's profile Send private message
Ca7_angel

New User


Joined: 09 Oct 2007
Posts: 4
Location: Hyderabad

PostPosted: Thu Oct 25, 2007 11:43 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Handling result sets in the calling N... Rusikesh DB2 7 Fri Apr 13, 2018 12:25 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts OLDS frozen in BACKOUT status when On... lind sh IMS DB/DC 3 Tue Feb 13, 2018 7:12 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am

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