COPY
The COPY option tells LOADPLUS whether to produce a copy of the table space or selected partitions during the load.
Additional options tell LOADPLUS what type of copy to produce.
In addition to interactions with other options (which are documented with those options), the value that you specify can affect the following aspects of your load job:
- Required data sets (Copy-data-sets-in-LOADPLUS)
- Restart (Copy data sets and Inline image copies)
NO
COPY NO (the default) tells LOADPLUS to not make a copy of the table space.
COPYPEND | The COPYPEND option tells LOADPLUS whether to set the COPY pending status when it finishes the load. Specifying the default You can specify the default for the COPYPEND command option in your installation options module by using the COPYPEND installation option. LOADPLUS was shipped with a default value of YES for this option. With the following exception, the command option overrides the default that is in the installation options module. If the value of the COPYPEND installation option includes the ENFORCE keyword, you cannot override the installation option with the COPYPEND command option.
|
YES
If you specify COPY YES, LOADPLUS creates a copy of the table space or partitions, depending on the type of object that you are loading and the value of your other command or installation options. Depending on the value of other copy options, LOADPLUS creates a standard Db2 image copy, DSN1COPY-type copy, or inline image copy.
Restriction
If you specify this option for an SQLAPPLY load, LOADPLUS issues message BMC50115E and terminates.
DSNUTILB load jobs
The following considerations apply when you specify COPY YES for a DSNUTILB load:
- When invoking DSNUTILB, LOADPLUS includes the COPYDDN and RECOVERYDDN information in the TEMPLATE control statement that it builds for the IBM Db2 LOAD utility.
- You must specify ACTIVE YES for at least the primary copy data set (DDTYPE LOCPFCPY). Otherwise, LOADPLUS issues message BMC50181E and terminates. All copy data sets for a DSNUTILB load are dynamically allocated. LOADPLUS ignores any copy data set allocation in your JCL.
Additional considerations
The following additional considerations apply to COPY YES:
- If you specify this option and you are loading LOB or XML data, you must enable dynamic allocation for the appropriate LOB or XML copy data sets.
- If the table space was in COPY pending status before the load, LOADPLUS resets COPY pending status unless you specify REGISTER NONE.
- If you specify this option and the table space that you are loading is in LPL or WEPR status, you must register at least one copy.
- LOADPLUS creates all copies with system pages at the beginning of the data set (in the same way that the IBM COPY utility creates image copies when you specify SYSTEMPAGES YES).
- The difference between an image copy and a DSN1COPY-type copy is one of registration: an image copy is registered, a DSN1COPY-type copy is not.
INLINE | The INLINE option tells LOADPLUS whether to make an inline image copy while loading the table space. Restriction When invoking DSNUTILB, LOADPLUS ignores this option. Specifying the default You can specify the default for the INLINE command option in your installation options module by using the INLINECP installation option. LOADPLUS was shipped with a default value of YES for this option. The command option overrides the default that is in the installation options module.
| ||||||||
REGISTER | The REGISTER option tells LOADPLUS to register some, none, or all copies with Db2 in the SYSIBM.SYSCOPY table. You can specify one of the following options:
Restrictions Note the following restrictions on registering copies:
|
Related topic