The COPYDECK request produces a partial COPY&COMPARE statement—with no FROM or TO specifications—that can then be modified and used as a LIBRARY/MAINTENANCE statement. By default the output is sent to a disk file with FILEKIND = DATA. You can use the DECK modifier to create a disk file with FILEKIND = JOBSYMBOL.
<copydeck request>
── COPYDECK ───────────────────────────────────────────────────────────► ►─┬─────────────────────────────────────────────────────────────┬──────┤ └─ : ─┬───────────────────────────────────────────────────────┤ │ ┌◄──────────────────────────────────────────────────┐ │ └─┴─┬─ CATALOGUE ───────────────────────────────────┬─┴─┘ ├─ CONTAINER ─┬─ = <file title> ─┬──────────────┤ ├─ DIRECTORY ─┤ ├─ (CD) ───────┤ ├─ TITLE ─────┘ └─ (CDROM) ────┤ ├─ DATABASE ────┬─ = ──<file title>─────────────┤ ├─ NEWDATABASE ─┘ │ ├─<CODEVERSION modifier>────────────────────────┤ ├─ DECK ── = ──<file title>─────────────────────┤ ├─ DELETED ── = ──<family index number>─────────┤ ├─ LEVEL ── = ──<integer>───────────────────────┤ ├─ NAMESONLY ───────────────────────────────────┤ ├─<output option>───────────────────────────────┤ ├─ FAMILYNAME ─┬─ = ──<family name>─┬───────────┤ ├─ PACKNAME ───┘ ├─ (CD) ────┤ │ └─ (CDROM) ─┤ ├─ RAWHEADERS ──────────────────────────────────┤ ├─ TAPE ── = ─┬─<unit number>───────────────────┤ │ └─<tape name>─┬───────────────────┤ │ ├─ ( ── CD ── ) ────┤ │ └─ ( ── CDROM ── ) ─┤ ├─ TAPEHEADERS ─────────────────────────────────┤ └─ WRAPPEDFILES ────────────────────────────────┘
Explanation
For more information about <output option> refer to “Output Options” earlier in this section.
The following FILEDATA modifiers perform functions such as selecting the disk family or file names to be reported on, and specifying the types of information to be reported for each file. These modifiers are explained under “FILEDATA Modifiers” later in this section.
-
CATALOGUE
-
CODEVERSION
-
CONTAINER
-
DATABASE
-
DECK
-
DELETED
-
DIRECTORY
-
FAMILYNAME
-
LEVEL
-
NAMESONLY
-
NEWDATABASE
-
RAWHEADERS
-
TAPE
-
TAPEHEADERS
-
TITLE
-
WRAPPEDFILES
COPYDECK Example
The following example writes a disk file that includes all the files on the family MYPACK:
RUN *SYSTEM/FILEDATA ("COPYDECK: FAMILYNAME = MYPACK");