FCOPY Reference Manual (32212-90008)

Chapter 5 59
FCOPY Functions
CCTL/NOCCTL
Table 5-3 shows the effect of using the CCTL function with files that have CCTL or NOCCTL
specified. When an equation or disk file label for the
tofile
specifies NOCCTL (no carriage
control) and an FCOPY command specifies CCTL, the NOCCTL specification in the file
equation or disk label overrides the FCOPY command.
NOTE
Asterisks (***) show where a file equation or disk label overrides the FCOPY
command in tables 5-3 and 5-4.
Table 5-4 shows the effect of using NOCCTL.
Table 5-3. Copying Files Using CCTL
CCTL specified in the file
equation or disk label for
Effect
fromfile tofile
NO NO*** The entire record of the fromfile is copied to the tofile. No carriage
control characters are supplied.
NO YES The entire record of the fromfile is copied to the tofile; the first
character of the fromfile record is interpreted as a carriage control
character, not as data.
YES NO*** The entire record of the fromfile, including the carriage control
character, is copied as data.
YES YES The entire record of the fromfile is copied into the tofile. The
carriage control character for the fromfile becomes the carriage
control character for the tofile.
Table 5-4. Copying Files Using NOCCTL
CCTL specified in the file
equation or disk label for
Effect
fromfile tofile
NO NO The entire record of the fromfile is copied to the tofile. No carriage
control character is supplied.
NO YES*** The entire record of the fromfile is copied to the tofile. A single
spacing carriage control character is supplied for each record of
the tofile.
YES NO The entire record of the fromfile, including the carriage control
character, is copied as data.
YES YES*** The entire record of the fromfile, including the carriage control
character of the fromfile, is copied into the tofile. A single spacing
carriage control character is supplied for each tofile record.