Previous Topic: RESOWNER Keyword—Maintain SMS ACIDNext Topic: RINGDATA Keyword—Add Certificate to a Ring


RETAIN Keyword—Leave Data Set in Hyperspace

Valid on z/OS.

Use the RETAIN keyword with the DLF ACID to leave the data set in hyperspace when the job which bought the data set into hyperspace ends. The RETAIN keyword must be used with the DSNAME resource.

This keyword has the following format:

TSS ADDTO(DLF) DSNAME(nnnnn)
               RETAIN

This keyword is used with:

Examples: RETAIN keyword

This example adds the RETAIN attribute to an existing DLF authorized data set or adds the data set to the DLF Record with the RETAIN attribute.

TSS ADDTO(DLF) DSNAME(CICS.MASTER.FILE)
               RETAIN

This example leaves data set authorized for DLF, but removes the RETAIN attribute:

TSS REMOVE(DLF) DSNAME(CICS.MASTER.FILE)
                RETAIN