TAA Tools
ADDINZRCD       ADD INITIALIZED RECORD                 TAADBOA

The  Add  Initialized  Record command  adds  one  or  more  initialized
records  to  an  existing  member  of  a physical  file.    Initialized
records will have valid values in decimal fields, date fields, etc.

You must have *ALLOBJ special authority to use ADDINZRCD.

A typical command would be:

             ADDINZRCD  FILE(ABC) NBRRCDS(5)

Five initialized records would be added to the ABC file.

ADDINZRCD escape messages you can monitor for
---------------------------------------------

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

ADDINZRCD Command parameters                          *CMD
----------------------------

   FILE          The  qualified  name  of  the  physical  file  to  add
                 initialized records to.

                 The library  value  defaults  to *LIBL.    A  specific
                 library or *CURLIB may also be used.

   NBRRCDS       The  number of initialized  records to  be added.   It
                 must be in a range of 1 to 9999.

   MBR           The  member to add initialized records  to.  *FIRST is
                 the default.  A specific  member of the special  value
                 *LAST may also be used.


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

You must have *ALLOBJ special authority to use ADDINZRCD.

The record length may not exceed 9999 bytes.

A DFT  keyword may not  be used  for a key  field which will  produce a
duplicate record.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKOBJ3         Check object 3
     CRTINZRCD       Create initialized record
     EDTVAR          Edit variable
     HLRMVMSG        HLL Remove message
     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
   ------        ----    ---------      ----------    ----------

   ADDINZRCD     *CMD                   TAADBOA       QATTCMD
   TAADBOAC      *PGM       CLP         TAADBOAC      QATTCL
   TAADBOAR      *PGM       RPG         TAADBOAR      QATTRPG
					

Added to TAA Productivity tools January 15, 2013


Home Page Up to Top