TAA Tools
RTVPRVRLS       RETRIEVE PREVIOUS RELEASE              TAASYSQ

The  Retrieve  Previous  Release  command  retrieves   the  ID  of  the
previous  releases in  either a  6 or  9 byte  character field  such as
VxRxMx  or  V0xR0xM0x.    The  N-2  release  information  may  also  be
retrieved along with the  earliest release a save  can occur on.   This
allows  a program to  access the  previous release  ID on  each release
without changes.

A typical command would be:

             DCL           &PRVRLS6 *CHAR LEN(6)
              .
             RTVPRVRLS     PRVRLS6(&PRVRLS6)

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

   PRVRLS6       An  optional return value for  the previous release as
                 a 6 byte  character value  such as VxRxMx.   If  used,
                 it must be declared as *CHAR LEN(6).

   PRVRLS9       An optional return  value for the previous  release as
                 a  9  byte  character value  such  as  V0xR0xM0x.   If
                 used, it must be declared as *CHAR LEN(9).

   RLSNMNS26     An optional return value  for the N-2  release as a  6
                 byte character  value  such as  VxRxMx.   If used,  it
                 must be declared as *CHAR LEN(6).

   RLSNMNS29     An optional  return value for  the N-2 release  as a 9
                 byte  character value such as  V0xR0xM0x.  If used, it
                 must be declared as *CHAR LEN(9).

   EARRLS6       An  optional return  value  for the  earliest  release
                 that a save  can occur on as a  6 byte character value
                 such  as  VxRxMx.   If used,  it  must be  declared as
                 *CHAR LEN(6).

   EARRLS9       An optional  return  value for  the  earliest  release
                 that a save  can occur on as a 9  byte character value
                 such  as V0xR0xM0x.  If  used, it must  be declared as
                 *CHAR LEN(9).

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

Because the  command  returns values,  it  may only  be  used in  a  CL
program.

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

None.

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

None, the tool is ready to use.

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

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

   RTVPRVRLS     *CMD                   TAASYSQ       QATTCMD
   TAASYSQC      *PGM       CLP         TAASYSQC      QATTCL
					

Added to TAA Productivity tools November 1, 1997


Home Page Up to Top