TAA Tools
CVTJRNRCVD      CONVERT JOURNAL RECEIVER DIRECTORY     TAAJROW

The  Convert Journal  Receiver  Directory  command creates  an  outfile
with one  record per journal receiver for a  specific journal.  The API
QjoRetrieveJournalInformation  is used.  The  outfile is always JRNFILP
with a format name  of JRNRCVR.  This is  the same outfile as was  used
by  CVTJRNA.   The  command  is  now used  by  CVTJRNA  to produce  the
JRNRCVP outfile.

A typical command would be:

             CVTJRNRCVD  JRN(xxx) FILELIB(QTEMP)

One  record would be written  for each journal  receiver to the JRNRCVP
file in QTEMP.

CVTJRNRCVD escape messages you can monitor for
----------------------------------------------

      TAA9893    The FILELIB library may not be *LIBL if no
                   JRNRCVP file exists

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

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

   JRN           The qualified name of  the journal to convert  journal
                 receivers for.   The library value defaults  to *LIBL.
                 A specific library or *CURLIB may also be used.

   FILELIB       The library  where the JRNFILP file  exists or will be
                 created.   *LIBL is  the default.   If  the file  does
                 not exist, a specific library must be named.

   MBROPT        An  option for  whether  to  replace  the data  in  an
                 existing file.

                 *REPLACE  is  the  default  to  replace  any  existing
                 data.

                 *ADD may be specified to add to any existing data.

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

The  maximum  number  of journal  receivers  that may  be  converted is
approximately 128,000.

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

The following TAA Tools must be on your system:

     CHGOBJAUT2      Change object authority 2
     CRTDUPPF        Create duplicate PF
     CVTJRNA         Convert journal attributes
     EDTVAR          Edit variable
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   CVTJRNRCVD    *CMD                   TAAJROW       QATTCMD
   TAAJROWC      *PGM       CLP         TAAJROWC      QATTCL
   TAAJROWR      *PGM       RPGLE       TAAJROWR      QATTRPG
					

Added to TAA Productivity tools October 15, 2012


Home Page Up to Top