HP Pascal/iX Programmer's Guide (31502-90023)
A-: 6
file-opening procedures
append
,
associate
,
open
,
read
,
reset
,
rewrite
, and
write
. They
and their meanings are:
Option Meaning
CCTL The file has carriage control.
(Ignored for
associate
.)
DIRECT The file is open for read and
write access (
associate
only).
NOCCTL The file does not have carriage
control. (Ignored for
associate
.)
READ The file is open for read
access only (
associate
and
open
only).
WRITE The file is open for write
access only (
associate
and
open
only).
SHARED The file can be open to more
than one program at a time.
(Ignored for
associate
.)
EXCLUS The file cannot be open to more
than one program at a time.
(Ignored for
associate
.)
LOCK The file is locked. If the
file is already locked, the
program waits until it is
unlocked. (Ignored for
associate
.)
At least one open option is required for
associate
; for all other file-opening
procedures, open options are optional. You
can specify more than one open option
(separate them with commas).
If the physical file specified in the
associate
procedure has one or more of the
characteristics specified by the open
options, then the logical file assumes the
same characteristics. If not, the
associate
procedure does not associate the new
physical file with the logical file.
Output The standard program parameter and textfile
output
is $STDLIST.
System intrinsic file SYSINTR.PUB.SYS
System default module PASLIB.PUB.SYS
library
Restrictions on Using Executable Libraries (XLs)
Global variables cannot be referenced across load modules. This applies
to globals declared through normal, global, external, and module
subprogram compilation units. In particular, you cannot use the standard
files
input
or
output
.
If a subprogram compilation unit is put in an XL, memory is overwritten.
You cannot put an external compilation unit in an XL. Using MODULE or
SUBPROGRAM with global compilation units will cause separate storage
locations to be allocated.
A non-local GOTO from an XL cannot branch to a label in the outer block.