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

Chapter 9 121
KSAM Intrinsics
FOPEN
NOTE
For existing files, default conditions are specified in the file label. Device
characteristics may override some
foption
s.
Bits Value/Meaning
14:2 Domain
Indicates which file domain is searched to locate a file. A
nameless disk file must always be a new file. A device file
(such as a tape or terminal) always resides in the system
file domain (permanent file directory). Always specify a
device file as old or permanent.
The following bit settings are valid:
00
The file is new. No search is necessary.
01
The file is a permanent file. The system file domain
(permanent file directory) is searched.
10
The file is a temporary file. The job file domain (temporary
file directory) is searched.
11
The file is an old (permanent or temporary) file. The job
file domain (temporary file directory) is searched. If not
found, the system file domain is searched.
Default: 00
13:1 ASCII/binary
Indicates which code, ASCII or binary, a new file is in
when written to a device that supports both codes. This
option is applicable only at file creation. type
The following bit settings are valid:
0
Binary file
1
ASCII file
Default: 0
10:3 Designator
The actual file designator is the same as the formal file
designator (000). This is the default and only setting