MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 6 229
Command Definitions (FLUSHLOG-GETUSERMODE)
FOPEN
8.2 Record format
Bit settings indicate internal record structure for a file. This option is
applicable only at file creation.
The following bit settings are valid:
00 Fixed-length records. The file contains logical records of
uniform length.
Fixed-length records are supported by disk and magnetic
tape devices only.
01 Variable-length records. The file contains logical records of
varying length. This format is restricted to records that
are written in sequential order. The size of each record is
recorded internally. The actual physical record size is
determined by multiplying the record size (specified or
default) plus one by the blocking factor, and adding one
word for the end-of-block indicator.
This format is the only valid combination with byte stream
(1) record format extension.
Variable-length records are supported by disk and
magnetic tape devices only.
10 Undefined-length records. The file contains records of
varying length that were not written as variable-length
files. By default, all files not on disk or magnetic tape are
treated as containing undefined-length records. The file
system makes no assumption about the amount of data
that is useful. You must determine how much data is
required. For undefined-length records, only the data
supplied is written, with no information about its length.
Undefined-length records are supported by all devices.
Default: 00
7.1 Carriage control
Indicates whether or not a carriage control directive is supplied in the
calling sequence of each FWRITE call that writes records onto the file. This
option is applicable only at file creation.
The following bit settings are valid:
0 No carriage-control directive is expected.
1 Carriage-control directives are expected.
Default: 0
A carriage-control character passed through the
controlcode
parameter
of FWRITE is acted upon for files that have carriage-control specified in
HPFOPEN/FOPEN. Embedded control characters are treated as data for files
specified no carriage-control, and do not invoke spacing. Spacing action