TAA Tools
ADJTIM          ADJUST TIME                            TAATINV

The  Adjust  Time  command  adjusts  the  time   of  day  clock.    The
adjustment  is specified  either plus  or minus  in microseconds.   The
adjustment  period occurs  over a  period of time  such as  it may take
several minutes for  a few seconds  to be adjusted.   The time for  the
adjustment  to take place  is also  dependent on  hardware speed.   The
QWCADJTM API is used.

See  also the RTVTIMADJ/DSPTIMADJ commands to  assist in determining if
a time adjustment is in operation.

You must have *ALLOBJ special authority to use ADJTIM.

The adjustment time must be specified  in microseconds.  Thus to add  2
seconds to the current time, you would specify:

             ADJTIM ADJTIM(2000000)

Over  the  next several  minutes,  2  seconds  would  be added  to  the
current time.

ADJTIM escape messages you can monitor for
------------------------------------------

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

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

   ADJTIM        The  time adjustment in  microseconds.   Either a plus
                 or minus value  may be  entered.  To  adjust the  time
                 ahead 2 seconds, specify 2000000.

                 The value  must  be in  a a  range  of -120000000  and
                 120000000.


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

You must have *ALLOBJ special authority to use ADJTIM.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTTIM          Convert time
     CVTTOBIN8       Convert to binary 8
     EDTVAR          Edit variable
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   ADJTIM        *CMD                   TAATINV       QATTCMD
   TAATINVC      *PGM       CLP         TAATINVC      QATTCL
					

Added to TAA Productivity tools April 15, 2012


Home Page Up to Top