Previous Topic

Next Topic

Book Contents

Book Index

DSNEXT function

This function is intended for use with data sets that have a specific retention date. Data sets that have a non-specific retention type (for example, MVS Catalog, Permanent) cannot be extended using this function. When data set retention is extended, the retention date is added to the number of specified days.

Note: This function can be used with DAYS set to 0 to remove "pending-scratch" status from a data set, without actually extending its retention date.

This function can also be used to unscratch data sets. When DSNEXT is used against a scratch data set, the data set becomes active. If the volume itself was also scratch, the entire volume and its data sets become active. The new retention date becomes the current date plus the number of days specified.

Parent Topic

Special notes regarding Media database control statements (CTTMUP)