CVTJRNRCVA CONVERT JOURNAL RECEIVER ATTRIBUTES TAAJRNE |
The Convert Journal Receiver Attributes command converts the
information from DSPJRNRCVA about a single receiver to a data base
file. A typical command would be entered as:
CVTJRNRCVA JRNRCV(xxxx) OUTLIB(yyyy)
The file output is named JRNRCVAP and is placed in the library
specified.
Additional length fields
------------------------
Since the journal support was enhanced to allow a larger number of
entries, size of entry, size of receiver etc, the original outfile
fields were not large enough in several cases. This was handled by
adding additional fields such as for the 'Maximum entry length':
JCMXLN 5/0 Original field
JCMXL2 15/0 New field
The original fields will continue to have valid data as long as they
are large enough. If not they will be set to 0.
For example, if the max length is 98,000 both JCMXLN and JCMXL2 will
contain the same value. If more than 5 digits exist, JCMXLN will be
set to 0.
Comparison with CVTJRNA TAA Tool command
----------------------------------------
The CVTJRNA command outputs three data base files including a file of
the receivers associated with a specific journal. The information
comes from the WRKJRNA command. The receiver information includes
the basic information, the status and the attach date.
The CVTJRNRCVA command uses the information from DSPJRNRCVA which
includes the same information as from CVTJRNA, but also includes the
number of entries and the starting sequence number.
CVTJRNRCVA operates on only a single receiver. Because of this,
CVTJRNRCVA is normally used in conjunction with the CVTJRNA command.
Command parameters *CMD
------------------
JRNRCV The qualified journal receiver name to be output.
The library defaults to *LIBL.
OUTLIB The library in which the file JRNRCVAP will be
placed. The default is *LIBL. If the JRNRCVAP file
does not already exist, a library must be specified.
OUTMBR The member of the JRNRCVAP file to be used. If the
member does not exist, it is added. The default is
JRNRCVAP.
REPLACE A *YES/*NO value for whether the member should be
cleared before writing records into it. The default
is *YES.
File format
-----------
The file name that is output is JRNRCVAP.
The model file used is TAAJRNEP with a format name of JRNRCVAR.
To see the field names used:
DSPFMT TAAJRNEP
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
SNDCOMPMSG Send completion message
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
------ ---- --------- ---------- ----------
CVTJRNRCVA *CMD TAAJRNE QATTCMD
TAAJRNEP *FILE PF TAAJRNEP QATTDDS
TAAJRNEC *PGM CLP TAAJRNEC QATTCL
TAAJRNER *PGM RPG TAAJRNER QATTRPG
|
Added to TAA Productivity tools April 1, 1995