Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Restarting jobs

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

New User


Joined: 01 Oct 2007
Posts: 16
Location: USA

PostPosted: Wed Jan 09, 2008 2:06 am    Post subject: Restarting jobs
Reply with quote

Hi,

what does COND=(0,LT) means?
In every job i can see, it is used in every step.

//STEP0010 EXEC PGM=BTQMAIN,COND=(0,LT)
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD DSN=FDCK.PROD.TERADATA.APP.PARMLIB(FDCKBTHB),
// DISP=SHR
// DD DSN=FDCK.PROD.TERADATA.APP.PARMLIB(CKSDBASE),
// DISP=SHR
// DD DSN=FDCK.PROD.TERADATA.APP.PARMLIB(CKSV14WK),
// DISP=SHR
// DD DSN=FDCK.PROD.TERADATA.APP.PARMLIB(QUIT),
// DISP=SHR
//*

Also starting of every job #SCC,COND=(0,NE,*) is written.

If a job fails at any step can i just restart it from abended step or i have to restart it form one step before(because of the condition quotes.)?

Also if i restart it from abended step will the triggers work correctly?
Back to top
View user's profile Send private message

Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Jan 09, 2008 3:01 am    Post subject:
Reply with quote

A COND on the job card will over-ride all of the CONDs on the steps.
I prefer to use the IF ELSE END-IF structure to check COND because it is easier to read and understand. We are not allowed to put COND on the steps in this shop because they are hard to understand.

If the COND does not specifically use a step name you are restarting after, the COND will not affect where to restart the job.

There many other things to look at to determine what step to restart in such as dataset disp, GDGs, etc.

COND=(0,LT) on a step would mean that if zero is less than the condition code of any prior step than this step will not run. (If it is true you are through) In other words if any prior step ends with a condition code greater than zero you will not execute the step.

I hope this helps.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jan 09, 2008 11:33 am    Post subject:
Reply with quote

Quote:
Also starting of every job #SCC,COND=(0,NE,*) is written.

Invokes CA7 internal condition code checking.
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 How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts Predicting jobs which are about to re... kpanchabhai85 DFSORT/ICETOOL 4 Thu Jun 30, 2016 7:51 pm
No new posts How to find jobs that are in schedule... anilkumar922 All Other Mainframe Topics 5 Tue Jun 28, 2016 10:01 am
This topic is locked: you cannot edit posts or make replies. Jobs At HCL Technologies - Weekend Dr... mjadwani2785 Mainframe Jobs 0 Thu Feb 18, 2016 8:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us