Determining Success or Failure of a Copy
- If COPYWRITE encounters any error or not all the files were copied, the TASKVALUE
of the COPY process is set to 1. See Example 7.
- If the CD-ROM volume archive is successfully created, the
LOCKED task attribute of the COPY process is set to TRUE,
and can be tested in the WFL. This attribute is set
before the AUTOUNLOAD action is taken.
- A volume archive has a FILEKIND of PROMBURNERDATA.
- The standard AUTOUNLOAD FTP job will wait in an
indefinite retry loop until the COPY is finished. If the
task attribute MAXWAIT is set, no retry is attempted.
This can be used by AUTORUNNING sites to prevent waiting
entries.
- If the COPY process has OPTIONS(AUTORM) set and the
standard AUTOUNLOAD is used, the volume archive is
removed when the remote transfer completes successfully.
See Example 5.