CVTLFMD COVERT LF MEMBER DESCRIPTION TAADBKR |
The Convert Logical File Member Description command converts member
information from one or more logical files to an outfile named LFMBRP
in a named library. For each member of a logical file, one record is
output for each 'based on' physical file. The file can then be
analyzed by various functions.
The model file is TAADBKRP with a format of LFMBRR.
A typical command would be:
CVTLFMD FILE(xxx/*ALL) OUTLIB(yyy)
All logical files would be found in the named library. Each member
of a logical file would be processed to find the file level
information and the information from the 'based on' physical files.
One record would be written to the LFMBRP file in the library named
for each combination of logical file member and 'based on' physical
file member.
CVTLFMD escape messages you can monitor for
-------------------------------------------
TAA9896 No data base files met the criteria
Escape messages from based on functions will be re-sent.
Command parameters *CMD
------------------
FILE The qualified name of the logical file to be
analyzed. A generic file name or the special value
*ALL may be entered.
The library value defaults to *LIBL. *USRLIBL,
*CURLIB, *ALL, *ALLUSR, *ALLUSR2, or *ALLNONQ may
also be specified.
*ALLUSR omits certain # libraries such as #RPGLIB.
*ALLUSR also omits all Q libraries with certain
exceptions such as QGPL. See the help text for the
SAVLIB command for a complete list. Note that if
you have your own library which begins with Q, it is
omitted.
*IBM causes all libraries to be included based on
the definition for DSPOBJD LIB(*IBM).
*ALLUSR2 is similar to *ALLUSR. It omits the same #
libraries, but also omits any library beginning with
Q. Note that if you have your own library which
begins with Q, it is omitted.
*ALLNONQ means any library that does not begin with
the letter Q.
OUTLIB The library in which the file LFMBRP will be placed.
The default is *LIBL. If the LFMBRP file does not
already exist, a library must be named.
OUTMBR The member of the LFMBRP file to be used. The
default is LFMBRP. If the member does not exist it
is added.
REPLACE A *YES/*NO value for whether the member should be
cleared before writing records into it. The default
is *YES.
*NO may be specified to add records to any existing
data.
OMITLIBS Up to 300 library names or generic names that should
be omitted. *NONE must be used if only a single
library is requested on the FILE parameter.
If the FILE parameter is specified with a special
value for the qualified library name such as
*USRLIBL, libraries may be omitted.
Restrictions
------------
If no member exists for a logical file, no record is output.
Up to 900 members for a single logical file may be processed.
Prerequisites
-------------
The following TAA Tools must be on your system:
CVTLIBDBF Convert library data base files
DUPTAADBF Duplicate TAA data base file
EDTVAR Edit variable
EXTLST2 Extract list 2
RTVDBFA Retrieve data base file attributes
RTVMBRLST Retrieve member list
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion message
SNDDIAGMSG Send diagnostic message
SNDESCINF Send escape information
SNDESCMSG Send escape message
SNDJLGMSG Send job log message
SNDSTSCNT Send status count 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
------ ---- --------- ---------- ----------
CVTLFMD *CMD TAADBKR QATTCMD
TAADBKRC *PGM CLP TAADBKRR QATTCL
TAADBKRR *PGM RPG TAADBKRR QATTRPG
TAADBKRP *FILE PF TAADBKRP QATTDDS
|
Added to TAA Productivity tools December 1, 2004