Previous Topic: AUTH—Merge Records for SearchNext Topic: AUTOERASE—Control Automatic Data Erase


AUTOEDSN—Edit AUTOERASE Data

Valid on z/OS.

The AUTOEDSN control option edits the data set selection list that is associated with AUTOERASE(YES). At most, 150 data sets or prefixes can be added to this list.

All entry methods are accepted.

This control option has the following format:

AUTOEDSN((ADD|REM),(dataset.prefix|'exact.dataset.name'))
ADD

Adds an entry to the list.

REM

Removes an entry from the list.

exact.dataset.name

Any valid O/S data set name enclosed by quotes. When AUTOERASE(YES) is set and a data set is SCRATCHed, if the exact entry on the AUTOEDSN table matches the data set name, DADSM is invoked to overwrite the DASD with nulls.

Range: Up to 44 characters

dataset.prefix

Any valid O/S data set name that is not enclosed by quotes. When AUTOERASE(YES) is set, and a data set is SCRATCHed, if the entry on the AUTOEDSN table matches the initial segment of the data set name, DADSM is invoked to overwrite the DASD with nulls.

Range: Up to 44 characters

Examples: AUTOEDSN control option

This example adds the exact name highlvl.sampdata to the autoerase table:

TSS MODIFY(AUTOEDSN(ADD,'highlvl.sampdata'))

This example adds prefix sampdata to the autoerase table as a prefix:

TSS MODIFY(AUTOEDSN(ADD,sampdata))

This example removes the exact name highlvl.sampdata from the autoerase table:

TSS MODIFY(AUTOEDSN(REM,'highlvl.sampdata'))

This example removes the prefix sampdata from the autoerase table:

TSS MODIFY(AUTOEDSN(REM,sampdata))