Can I loop a step?

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
MikeL
Member
Posts: 7
Joined: Fri Aug 16, 2013 8:28 pm

Can I loop a step?

Post by MikeL » Wed Oct 11, 2017 11:00 pm

We have a job that frequently crashes in a step because of a database lock (it runs when CICS is active). Is there a way to test the return code and if is is equal to a certain value (I can set that in the program) then retry the step? Ideally, retry it in xx seconds.

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