Scratching Input Files After They Are Copied


After each input file has been copied, FATSCOPY can tell your tape management system to reset the expiration date of the input file to a specified number of days after the current date. If FATSCOPY expires all of the files on a volume in a single job, it can reset the volume expiration date so that the tape can be returned to scratch status after the files expire, making the tape available for reuse.

If you are doing a migration from one set of tapes to another, or from one system to another, you probably want to allow this expiration. If you will still need the input data sets later, you should not use this option. 

By default, FATSCOPY leaves the expiration dates intact, unless you specify that the input files be scratched.

Warning

Important

For Zara usersIf your installation has the Zara “Scratch by 1st” option set to “Y”, we recommend against allowing FATSCOPY to scratch input files. Using this option may result in unintended loss of data. If FATSCOPY expires the first data set on a tape, the volume will be scratched when “Scratch by 1st” is set to “Y”, even if other non-expired data sets remain on the volume.

Q: Do you want to expire the input files after they have been copied?

No– click here to skip ahead.

Yes1 Add TMSINPUT=SCRATCH to your COPY statement, unless you are using Zara tape management, in which case you should use TMSINPUT=ZARASCR after considering the “Important note” above; or

Add TMSINPUT=SCRCOND to your COPY statement to scratch the input data set only if the output data set is successfully cataloged.

Warning

Important

The default value for this keyword may have been changed on your system.

You can choose how many days will be added to the current date to get the new expiration date of the input files. By default, 4 days are added to the current date, but you can pick another value.

Q: Do you want to use a different value to be added to today’s date to calculate the input expiration date?

Yes1 Add ADDXDAYS=n to your COPY statement, where “n” is the number of days to add to the current date. We recommends a value NO LESS THAN 4.

Warning

Important

The default value for this keyword may have been changed on your system.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Storage FATSCOPY 6.1