CRTINZRCD CREATE INITIALIZED RECORD TAADBNU |
The Create Initialized Record command creates one initialized record
from an existing file into a new file. When using the DFT DDS
keyword on many physical file fields, you may want to ensure the
defaults are set correctly. CRTINZRCD creates an all default record
to allow a review. The PRTDB2 command can be helpful in reviewing
the values in the new file.
A typical command would be:
CRTINZRCD FROMFILE(ABC) TOFILE(QTEMP/DEF)
Assuming the DEF file in QTEMP did not exist, it would be created
with a default record using the definition of file ABC. Using the
TAA PRTDB2 command will describe the record values.
PRTDB2 FILE(QTEMP/DEF)
CRTINZRCD escape messages you can monitor for
---------------------------------------------
None. Escape messages from based on functions will be re-sent.
CRTINZRCD Command parameters *CMD
----------------------------
FROMFILE The qualified name of the file to create an
initialized record for. It must be a physical data
base file. The library value defaults to *LIBL. A
specific library or *CURLIB may also be used.
TOFILE The file that will be created that will contain the
initialized record. The file must not exist. It
will be created by CRTINZRCD.
A specific library name must be entered.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKOBJ2 Check object 2
CHKOBJ3 Check object 3
CRTDUPPF Create duplicate physical file
RSNLSTMSG Resend last message
RTVDBFA Retrieve data base file attributes
SNDCOMPMSG Send completion message
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
CRTINZRCD *CMD TAADBNU QATTCMD
TAADBNUC *PGM CLP TAADBNUC QATTCL
|
Added to TAA Productivity tools January 15, 2013