Appendix B summarizes the default file definition values that
FCOPY uses to open a tofile or fromfile. It
contains two tables: table B-1 shows default values for
different types of fromfiles, and table B-2 shows
default values for different types of tofiles. The
information stored in the file label of an existing disk file
always describes its characteristics.
Items marked with a "plus" sign (+) are those most likely to
cause problems when you are copying from one device to another.
Refer to the File System Reference Manual (30000-90236) or
Accessing Files Progammer's Guide (32650-90017) for
information about domains, buffers, and record formats.
You can override a file's default definition before you issue an
FCOPY command. Simply redefine its characteristics using the MPE
FILE command and then use an asterisk (*) to backreference
the FILE command in the FCOPY command.
Table B-1 Default "from" Device Values
"From" Device | $CTUL $CTUR | Magnetic Tape | Named Disk File | $STDIN $STDINX |
|---|
| Formal File Designator | (empty) | fromfile | fromfile | (empty) |
| Default File Designator | (empty) | fromfile | fromfile | (empty) |
| Domain | new | new+ | old perm. or temp. | old+ |
| Record Type | see note 1+ | binary+ | as specified in
the file label | ASCII |
| Record Format | fixed | undefined+ | as specified in the file label | fixed |
| Access Type | I/O | READ/WRITE | READ/WRITE | READ only |
| Carriage Control | no | no | as specified in the file label | no |
| Multirecord Access | yes | no | no | no |
| Dynamic Locking | no | no | no | no |
| Exclusive Access | yes | yes | yes | no |
| Inhibit Buffering | yes | no+ | no+ | no |
| Record Size | 256 bytes | 256 bytes+ | as specified in the file label | 80 bytes |
| Device | ldev # of terminal (left-justified ASCII number) | byte array containing ldev # or device class name from the FILE command | as specified in the file label | session or batch input device |
| Userlabels | 0 | 0 | as specified in the file label | 0 |
| Blocking Factor | 1 | 1+ | as specified in the file label | 1 |
| Buffers | 2 | 2+ | 2+ | 2 |
| File Size | N/A | N/A | as specified in the file label | N/A |
| Initial Allocation | N/A | N/A | as specified in the file label | N/A |
| File Code | 0 | N/A | as specified in the file label | |
| AllowFILECommand | no | yes | yes | no |
Table B-2 Default "to" Device Values
"To" Device | $CTUL $CTUR | $HARD | Line Printer | Magnetic Tape | Named Disk File |
|---|
| Formal File Designator | (empty) | HARD | tofile | tofile | tofile |
| Default File Designator | (empty) | HARD | tofile | tofile | tofile |
| Domain | new | new | new | new | old |
| Record Type | see note 1+ | ASCII | ASCII | binary+ | as specified in the file label |
| Record Format | fixed | fixed | undefined+ | undefined | as specified in the file label |
| Access Type | I/O | I/O | WRITE only | READ/WRITE | see note 3 |
| Carriage Control | no | yes | no | no+ | as specified in the file label |
| Multirecord Access | yes | yes | no | no | no |
| Dynamic Locking | no | no | no | no | no |
| Exclusive Access | yes | yes | yes | yes | see note 4 |
| Inhibit Buffering | yes | yes | no | no | no |
| Record Size | 256 bytes | 86 bytes | 132 bytes | 256 bytes | |
| Device | ldev # of terminal (left-justified ASCII number) | ldev # of terminal (left-justified ASCII number) | byte array containing ldev # or device class name from FILE command | byte array containing ldev # or device class name from FILE command | as specified in the file label |
| Userlabels | 0 | 0 | N/A | 0 | as specified in the file label |
| Blocking Factor | 1 | 1 | 1 | 1+ | as specified in the file label |
| Buffers | 2 | 2 | 2 | 2+ | 2 |
| File Size | N/A | N/A | N/A | N/A | as specified in the file label |
| Initial Allocation | 1 | N/A | N/A | N/A | as specified in the file label |
| File Code | 0 | N/A | N/A | N/A | as specified in the file label |
| AllowFILECommand | no | yes | yes | yes | yes |
| "To" Device | $STDLIST |
|---|
| Formal File Designator | (empty) |
| Default File Designator | (empty) |
| Domain | new |
| Record Type | ASCII |
| Record Format | undefined |
| Access Type | WRITE only |
| Carriage Control | no |
| Multirecord Access | no |
| Dynamic Locking | no |
| Exclusive Access | no |
| Inhibit Buffering | no |
| Record Size | 80 bytes |
| Device | session or batch output device |
| Userlabels | N/A |
| Blocking Factor | 1 |
| Buffers | 2 |
| File Size | N/A |
| Initial Allocation | N/A |
| File Code | N/A |
| AllowFILECommand | no |