Previous Topic

Next Topic

Book Contents

Book Index

Example 2

The following SELECT statements:

OPTION SELECT DSN=C.D.MYFILE,RET=7,CYC=0,DLA=0,MVSCAT=NO

OPTION SELECT DSN=C.D.YOURFILE,RET=7,CYC=0,DLA=0,MVSCAT=NO

can be replaced with the following statement, which uses masking:

OPTION SELECT DSN=C.D.*,RET=7,CYC=0,DLA=0,MVSCAT=NO

Note: C.D.* may select datasets beside C.D.MYFILE and C.D.YOURFILE. For example, if you have a dataset named C.D.OURFILE to which you want to assign a retention other than 7 days, the statement above would not be appropriate.

Parent Topic

Step 11: Edit OPTION SELECT Statements File