CHKTIM          CHECK TIME                             TAATIMP

 The Check Time command checks  for a valid time in HHMMSS  format.  The
 time  must be  in  a range  of  000000 to  235959.   Valid  minutes and
 seconds  are also  checked for.   If the  time is  invalid, the CPF9898
 escape message is sent.

 A typical command would be:

              DCL          &TIME *CHAR LEN(6)
               .
              CHKTIM       TIME(&TIME)

 Command parameters                                    *CMD
 ------------------

    TIME          The time to  be checked.   It must be  in a format  of
                  HHMMSS.

 Restrictions
 ------------

 None.

 Prerequisites
 -------------

 The following TAA Tools must be on your system:

      SNDESCMSG       Send escape message

 Implementation
 --------------

 None, the tool is ready to use.

 Objects used by the tool
 ------------------------

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

    TAATIMP       *CMD                   TAATIMP       QATTCMD
    TAATIMPC      *PGM       CLP         TAATIMPC      QATTCL

Added to TAA Productivity Tools January 1, 1999


Home Page

Powered by AS/400Powered by AS/400 Last modified on October 10, 2008 © 1995, 2008 - Jim Sloan, Inc.