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

Chapter 9 165
KSAM Intrinsics
HPFOPEN
23 CA Volume name:
Passes a character array representing a volume name that restricts the
file specified to a specific volume. The volume must reside within the
volume set of the group where the file resides. This option is applicable
only at file creation.
Only one of the following options can be in effect when a file is opened
with this option:
itemnum
=20
itemnum
=22
itemnum
=23
itemnum
=42
Default: A disk file located on the volume class DISC associated with the
group in which the file resides.
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:
%volclass%
(% is the delimiter,
volclass
is the designator)
fabcxyzf
(
f
is the delimiter,
abcxyz
is the designator)
26 CA Remote environment:
Passes the node name of the remote computer where the file is located.
This option is used when referencing a file located on a remote computer.
Default: No node name passed (local file access)
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:
%envname%
(% is the delimiter,
envname
is the designator)
fabcxyzf
(
f
is the delimiter,
abcxyz
is the designator)
Table 9-7. HPFOPEN Itemnum/Item Values
Itemnum Mnemonic Item Description