Previous Topic: Successful Execution Requirements and ControlsNext Topic: Example JCL


How to Use

MASSADD can run in Single User mode if NO is specified for the MULTUSE= keyword. Execute DBUTLTY using the following command format:

►►─ MASSADD DBID=n,DDNAME=d,TABLE=t ─┬─────────────────────────┬──────────────►
                                     └─ ,MULTUSE= ─┬─ YES ◄ ─┬─┘
                                                   └─ NO ────┘

 ►─┬─────────────────────────────┬────────────────────────────────────────────►◄
   └─ ,STARTAFT= ─┬─ 0 ◄ ──────┬─┘
                  └─ nnnnnnnn ─┘

Command

MASSADD

Invokes the function to accept input records for a single table and add those records to the table.

Required Keywords

DBID=

Specifies the database identifier for the database containing the table to which the records are being added.

Valid Entries:

DATACOM-ID of the database

Default Value:

(No default)

,DDNAME=

Specifies the JCL DDname of the input data. If the input source is a VSAM file, CA Datacom/DB processes it as an ordinary file.

A DDNAME is not acceptable for sequential input or output files if it is a name reserved for a CA Datacom area. Names with the following patterns are therefore not acceptable for DDNAME=:

,TABLE=

Specifies the table in the database to which the records are to be added.

Valid Entries:

DATACOM-NAME of the table in the database specified

Default Value:

(No default)

Optional Keywords

,MULTUSE=

Specifies whether the add commands are to be directed to the MUF.

YES

MASSADD directs its input to the MUF. Direct commands to the MUF when adding records to a table defined with integrity constraints.

NO

MASSADD executes as a Single User job. In Single User mode, logging is not supported, and you do not have a log file to restart to ensure that the data and Index Areas are synchronized. Before using MASSADD, obtain a backup of the area in case you need to reload and try the function again.

Valid Entries:

NO or YES

Default Value:

YES

,STARTAFT=

Specifies a number of records to skip in the input data set before beginning to add records.

Valid Entries:

Any 1- to 8-character integer

Default Value:

0