FCOPY Reference Manual (32212-90008)
58 Chapter5
FCOPY Functions
CCTL/NOCCTL
CCTL/NOCCTL
CCTL designates the first character of each record in the fromfile as a carriage control
character in the tofile. NOCCTL specifies that the first character of each record in the
fromfile is not to be used as a carriage control character in the tofile.
Syntax
;{CCTL
NOCCTL}
Operation
The effect of CCTL or NOCCTL depends upon whether or not the file equations or disk labels
of the files you are copying specify carriage control. If you do not use either function,
FCOPY treats carriage control characters as shown in table 5-2.
Table 5-2. Copying Files without Using CCTL or NOCCTL
CCTL specified in the file
equation or disk label for
Default
Effect
fromfile tofile
NO NO The entire record of the fromfile is copied to the tofile.
NO YES The entire record of the fromfile is copied to the tofile; a single
spacing character is supplied.
YES NO The entire record of the fromfile, including the carriage control
character, is copied into the tofile 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.