CVTMBRLST2 CONVERT MEMBER LIST 2 TAADBNC |
The Convert Member List 2 command converts the member description
information for one, generic, or all members of a file. The output
file is the same as that used by DSPFD *MBRLIST. The DSPFD command
does not allow a single or generic member name. CVTMBRLST2 makes it
simple to create a function that processes one, generic, or all
members from a file.
The default outfile name is MBRLSTP in QTEMP. The format (QWHFDML)
is the same as that used by DSPFD *MBRLIST.
A typical command would be:
CVTMBRLST2 FILE(QCLSRC) MBR(ABC*)
All the description information about member names beginning with ABC
would be copied to the MBRLSTP file in QTEMP.
CVTMBRLST2 escape messages you can monitor for
----------------------------------------------
None. Escape messages from based on functions will be re-sent.
CVTMBRLST2 Command parameters *CMD
-----------------------------
FILE The qualified name of the file with the members to
convert the description information for. The
library value defaults to *LIBL. A specific library
or *CURLIB may also be used.
MBR The member to convert the descriptive information
for. A specific member, a generic name, or the
special value *ALL may be entered.
If *ALL is specified, the DSPFD *MBRLIST command is
used.
OUTFILE The qualified name of the file to receive the member
description information. MBRLSTP in QTEMP is the
default. A specific file may be used. A specific
library qualifier may be used or the special value
*LIBL or *CURLIB.
OUTMBR The member of the outfile to write records to.
MBRLSTP is the default.
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 an existing
file.
Restrictions
------------
If the MBR parameter is not *ALL, the MLSTRF (storage free) field
will be blank (not supported).
A limit of 900 generic members may be output.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKOBJ3 Check object 3
EDTVAR Edit variable
RSNLSTMSG Resend last message
RTVDBFA Retrieve data base file attributes
RTVFMT Retrieve format
RTVMBRLST Retrieve member list
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
------ ---- --------- ---------- ----------
CVTMBRLST2 *CMD TAADBNC QATTCMD
TAADBNCC *PGM CLP TAADBNCC QATTCL
TAADBNCR *PGM RPG TAADBNCR QATTRPG
|
Added to TAA Productivity tools January 15, 2011