CODE THAT WAIT X MINUTES BEFORE EXECUTE 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
nick.mamone
Member
Posts: 3
Joined: Tue Nov 14, 2006 8:52 pm

CODE THAT WAIT X MINUTES BEFORE EXECUTE A STEP

Post by nick.mamone » Fri Dec 01, 2006 1:30 pm

hello to everyone, :D :D :D

i request a code or a parameter that wait few minutes before excute a step in the jcl;
Someone know a code or a parameter that do this (excuse me for english) :?: :?: :?:

User avatar
guptae
Member
Posts: 8
Joined: Thu Nov 23, 2006 11:28 am
Location: Bangalore,India

Post by guptae » Sat Dec 02, 2006 8:15 pm

Hi there,

The above functionality can also be attained by calling the IBM utility 'ILBOWAT0' in the COBOL program by supplying the delay time which can range from 0001 to 9999999 seconds. e.g.

CALL 'ILBOWAT0' USING DELAY-AMT.

The benefit of this routine is that it uses minimal CPU time during the wait/sleep period.

Correction r welcome

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