The following text describes the FILECOPY modifiers and options that you can specify with the FILECOPY task requests.
Unless you specify overriding FILECOPY modifiers, the program uses the following defaults for each task request:
-
The date used in checking is the TODAY value extracted from the system. In the task requests CREATED, ACCESSED, and UPDATED, FILECOPY does its testing with the AFTER option.
-
The WFL deck that results from a successful run is processed by a ZIP command.
-
The result is a simple COPY operation, without COMPARE, BACKUP, or SKIPEXCLUSIVE.
-
FILECOPY does not create an index file.
-
FILECOPY prints an output summary.
-
The usercode under which FILECOPY is running is prefixed to all file names except files that explicitly specify a usercode, to system files, or to a file name that includes a wild-card character.
-
If you do not specify a family name, FILECOPY assumes that the files reside on the family DISK.
-
FILECOPY copies files to a tape whose default name is that of the task request (CREATED, EXPIRED, and so forth) with no attribute values specified for DENSITY, UNITNO, or SERIALNO.
-
If the task request is EXPIRED, all files are considered to be expired if they were last accessed more than SAVECONSTANT days before the current system date. The default value for SAVECONSTANT attribute is 60.
Syntax
<filecopy modifier>
──┬──────────┬─<file specification>─┬──────────┬───────────────────────┤ └─<option>─┘ └─<option>─┘
──┬─ FILES ───┬─ ( ──<source>── ) ─┬───────────────┬───────────────────┤ ├─ INCLUDE ─┤ └─<destination>─┘ └─ EXCLUDE ─┘
┌◄───────── , ────────┐ ──┴─<source from group>─┴──────────────────────────────────────────────┤
┌◄───────────── , ────────────┐ ──┴─┬─<file name>─────────────┬─┴─┬───────────────┬────────────────────┤ └─<source directory name>─┘ └─<from clause>─┘
──┬─ = ────────────────┬───────────────────────────────────────────────┤ ├─<file name>─┬──────┤ │ └─ /= ─┤ └─ *USERCODE/= ──────┘
── FROM ─┬─<family name>─┬────────────────────────────────────┬────────┤ │ └─ ( ─┬─────────────┬─┬─ PACK ─┬─ ) ─┤ │ └─ KIND ── = ─┘ └─ DISK ─┘ │ ├─ PACK ─────────────────────────────────────────────┤ └─ DISK ─────────────────────────────────────────────┘
── TO ──<identifier>───────────────────────────────────────────────────────► ►─┬──────────────────────────────────────────────────────────────────────┬─┤ │ ┌◄─────────────────────────── , ───────────────────────────┐ │ └─ ( ─┴─┬─ /1\ ─┬─────────────┬─<output medium>────────────────┬─┴─ ) ─┘ │ └─ KIND ── = ─┘ │ ├─ /1\ ── BLOCKSIZE ── = ──<blocksize value>───────────┤ ├─ /1\ ── CDCOPIES ── = ──<CDCOPIES value>─────────────┤ ├─┬─ /1\ ── COPYAS ──────┬─ = ──<unquoted name>────────┤ │ ├─ /1\ ── HOSTNAME ────┤ │ │ └─ /1\ ── SCRATCHPOOL ─┘ │ ├─ /1\ ── DENSITY ── = ──<density value>───────────────┤ ├─ /1\ ── SERIALNO ── = ──<serial number list>─────────┤ ├─ /1\ ── LIBMAINTAPPEND ── = ──<libmaintappend value>─┤ ├─ /1\ ── LIBMAINTDIR ── = ──<boolean value>───────────┤ ├─ /1\ ── MULTIVOLUME ── = ──<boolean value>───────────┤ ├─ /1\ ── SAVEFACTOR ── = ──<savefactor value>─────────┤ ├─ /1\ ── AUTOUNLOAD ── = ──<autounload value>─────────┤ └─ /1\ ── ENCRYPT ── = ──<encrypt value>───────────────┘
──┬─ PACK ─┬───────────────────────────────────────────────────────────┤ ├─ DISK ─┤ ├─ CD ───┤ └─ TAPE ─┘
┌◄────────────┐ ──┴─/6\─<digit>─┴──────────────────────────────────────────────────────┤
A single digit whose value is between 1 and 9.
──<alphanumeric character>─┬───────────────────────────────────────┬───┤ │ ┌◄──────────────────────────────────┐ │ └─┴─/16\─┬─<alphanumeric character>─┬─┴─┘ ├─<hyphen>─────────────────┤ └─<underscore>─────────────┘
┌◄──────────── , ────────────┐ │ ┌◄────────────┐ │ ── ( ─┴─┬─┴─/6\─<digit>─┴────────┬─┴─ ) ───────────────────────────────┤ └─<serial number string>─┘
┌◄──────────────────────────────┐ ── " ─┴─/6\─<EBCDIC string character>─┴─ " ────────────────────────────┤
An integer between 0 and 999.
Any one of the decimal digits 0 through 9, inclusive.
The single hyphen (-) character.
The single underscore (_) character.
──┬─ DONTCARE ─┬───────────────────────────────────────────────────────┤ ├─ ON ───────┤ └─ OFF ──────┘
──┬─ NO ─────┬─────────────────────────────────────────────────────────┤ ├─ TDES ───┤ └─ AES256 ─┘
──┬─ DONTCARE ─┬───────────────────────────────────────────────────────┤ ├─ ON ───────┤ └─ OFF ──────┘
Explanation
Components Used in FILECOPY Modifiers explains the various components that can be used to construct FILECOPY modifiers.
Table 27. Components Used in FILECOPY Modifiers