MPE/iX Intrinsics Reference Manual (32650-90905)

284 Chapter6
Command Definitions (FLUSHLOG-GETUSERMODE)
FWRITE
0 Print the full record transferred, using single spacing. This results in a
maximum of 132 characters per printed line.
1
Use the first character of the data written to satisfy space control and suppress
this character on the printed output. This results in a maximum of 132 characters
of data per printed line.
Use any octal code from Table 6-2. on page 284 to determine space control
and print the full record transferred. This results in a maximum of 132
characters per printed line.
If the
controlcode
parameter is not 0 or 1, and
length
is 0, only the space
control is executed and no data is transferred.
Determine whether the carriage-control directive takes effect before
printing (prespace movement) or after printing (postspace movement),
with the FCONTROL intrinsic.
For spooled files, use FWRITE instead of FCONTROL to set the
prespace/postspace control and the auto/no auto page eject control; use
control codes %100 through %103 and %400 through %403 for this. If one
of the above controls is specified with
length
=0, no physical I/O occurs.
When a file is opened with CCTL, use the carriage-control codes in one of
the following ways:
As the value of the
controlcode
parameter.
When
controlcode
=1, as the first byte of the
buffer
array.
The default carriage-control code is postspacing with automatic page eject.
This applies to all Hewlett-Packard subsystems except FORTRAN 77/XL
and COBOLII/XL (these have prespacing with automatic page eject).
NOTE Channel assignments shown in Table 6-2. are the Hewlett-Packard standard
defaults.
(KSAM) This parameter must be specified to satisfy internal requirements, but it is
ignored.
Table 6-2. Carriage Control Directives
Octal Code
(ASCII)
Description of Carriage Action
%2 - %52 ("
")
Single space (with or without automatic page eject)
%53 ("+") No space (next printing at column 1), cannot be used more than once on the
Hewlett-Packard 2608A/S without losing data
%54 (" ") Single space (with or without automatic page eject)
%55 ("-") Triple space (with or without automatic page eject)