Using KSAM/XL and KSAM 64 (32650-90886)

Chapter 9 171
KSAM Intrinsics
HPFOPEN
52 CA File equation string:
Passes a character string that matches the MPE/iX file equation
specification syntax exactly. This option allows the specification of
options available in the FILE command.
The
formaldesig
parameter and
filereference
parameter can contain
embedded command interpreter variables and expressions. However,
there cannot be more than eight characters in each of these components
(
filename, lockword, groupname, accountname
) including the
command interpreter variable and expression characters.
Default: No string passed
A character placed in the first element designates the delimiter used by
HPFOPEN to search for the end of the character array. The delimiter can
appear again only following the last valid character of the character
array, for example:
%fileequation%
(% is the delimiter,
fileequation
is the
designator)
fabcxyzf
(
f
is the delimiter,
abcxyz
is the designator)
53 I32 ASCII/binary:
Passes a value indicating whether ASCII or binary code is to be used for
a new file when it is written to a device that supports both codes. For
disk files, this may affect padding that can occur when issuing a
direct-write intrinsic call (FWRITEDIR) to a record that lies beyond the
current logical end-of-file indicator. The fill character is specified during
the file creation. Default for ASCII is blank. Default for binary is binary
0. By default, magnetic tape and files are treated as ASCII files. This
option is applicable only at file creation.
The following values are valid:
0 Binary file
1 ASCII file
Default: 0
54 REC KSAM parm:
Passes a record that defines the keys for a new KSAM file. The format of
the parameter is the same as the FOPEN intrinsic
ksamparam
field.
Default: No record passed
55 Reserved for MPE/iX
Table 9-7. HPFOPEN Itemnum/Item Values
Itemnum Mnemonic Item Description