How to skip the first step in a Job

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
whatistheanswer
Member
Posts: 11
Joined: Fri Mar 27, 2009 9:51 am

How to skip the first step in a Job

Post by whatistheanswer » Thu Apr 02, 2009 9:07 am

Is it possible to skip the first step in the Job? I think this can not be achieved by COND. Is there any other way to achieve this? If possible, can a simple example be provided?

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Thu Apr 02, 2009 9:37 am

Try any of the following ways.

1. Use IF condition
2. RESTART from second step.
3. Using COND
COND=(0,LT,4)
Natarajan
Chennai

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Thu Apr 02, 2009 12:01 pm

Hi

Before any alternatives can be suggested, I would like to know - why this is needed?
Regards,
Anuj

whatistheanswer
Member
Posts: 11
Joined: Fri Mar 27, 2009 9:51 am

Post by whatistheanswer » Thu Apr 02, 2009 5:02 pm

Well...This is not related to any particular (project) requirement. One of my friends asked whether this is possible. i was not sure and hence posted in this forum to know about it. :|

whatistheanswer
Member
Posts: 11
Joined: Fri Mar 27, 2009 9:51 am

Post by whatistheanswer » Thu Apr 02, 2009 7:58 pm

Thank you Natarajan :)

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Fri Apr 03, 2009 10:57 am

Welcome. :)
Natarajan
Chennai

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others