TAA Tools
DLYJOB2         DELAY JOB 2                            TAATIMW

The Delay Job  2 command provides the  capability to wait for  a number
of seconds.   DLYJOB2 differs from the system  DLYJOB command in that a
wait  time of  less than one  second may be  specified.   The number of
seconds entered is specified  as a 15/5 field.   The CPP can be  called
directly from a HLL Program.

A typical command would be:

            DLYJOB2   SECONDS(.5)

DLYJOB2 escape messages you can monitor for

None.  Escape messages from based on functions will be re-sent.

Command parameters                                    *CMD

   SECONDS       The  number  of  seconds   to  wait.    The  value  is
                 specified as a 15/5 field.

   SETLR         A  *YES/*NO value for  whether to set LR  when the RPG
                 program ends.  *YES is the default.

                 *NO may be  specified to  keep the  RPG program  open.
                 This  should   be  used  if  repeatedly   calling  the

Calling the CPP directly

You may call the CPP directly such as from an RPG program:

     C                     Z-ADD.5        WAIT             Wait time
     C                     CALL 'TAATIMWR'                 WaitTime CPP
     C                     PARM           WAIT   155       Wait time
     C                     PARM '*YES'    SETLR   4        Set LR






None, the tool is ready to use.

Objects used by the tool

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   DLYJOB2       *CMD                   TAATIMW       QATTCMD

Added to TAA Productivity tools June 1, 2002

Home Page Up to Top