UNLOAD

Purpose

Unloads journal records to the sequential data set defined by ddname CCVUNLD.

You can optionally follow UNLOAD with one or more CRITERIASET commands to select which journal records to unload. If you do not specify any CRITERIASET commands, UNLOAD selects all journal records.

To unload all journal records to CCVUNLD, and delete them from the journal, specify UNLOAD with no parameters, and no CRITERIASET.

Format

Read syntax diagramSkip visual syntax diagram
           .-DELETE=YES-.                                
>>-UNLOAD--+------------+--+-------------------------+---------><
           '-DELETE=NO--'  '-,KEEPINSTANCES=-+-n---+-'   
                                             '-ALL-'     

DELETE
Specifies whether to delete records from the journal after unloading them. The default is YES.

If you specify NO, then KEEPINSTANCES is ignored.

To delete records from the journal without unloading them to a file, use UNLOAD with DELETE=YES, and specify the ddname CCVUNLD with DSNAME=NULLFILE.

KEEPINSTANCES
Specifies the number of instances of before/after image records of each resource definition to keep in the journal, regardless of whether the records are selected for unloading. You can specify a number, 19999, or ALL, to keep all before/after image records.

KEEPINSTANCES applies only to journal records that contain before/after images of resource definitions, such as records created as the result of an Update command. Journal records for operational commands that do not affect resource definitions, such as Install and Newcopy, do not contain before/images, and are not affected by KEEPINSTANCES.

To unload journal records for operational commands without deleting any before/after image records, specify KEEPINSTANCES=ALL.


Reference Reference

Feedback


Timestamp icon Last updated: Friday, 7 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///ccv-batch-cmd-unload.htm