Guardian Procedure Calls Reference Manual

OPEN Procedure (Superseded by FILE_OPEN_ Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Disk File Considerations
Terminal Considerations
Interprocess Communication Considerations
DEFINE Considerations
Safeguard Considerations
OSS Considerations
Messages
Example
Related Programming Manuals
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The OPEN procedure establishes a communication path between an application process and a
file. When OPEN completes, a file number returns to the application process. The file number
identifies this access to the file in subsequent file-system calls.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be used for
new development. This procedure is supported only for compatibility with previous software.
Syntax for TAL Programmers
CALL OPEN ( file-name ! i
,filenum ! o
,[ flags ] ! i
,[ sync-or-receive-depth ] ! i
,[ primary-filenum ] ! i
,[ primary-process-id ] ! i
,[ seq-block-buffer-id ] ! i
,[ buffer-length ] ! i
,[ primary-define ] ); ! i
Parameters
file-name
input
INT:ref:12
is an array containing the internal-format file name of the file to be opened. For additional
information about file names, see Appendix D: File Names and Process Identifiers.
Note that file-name can be a DEFINE name. For additional information about DEFINEs, see
Appendix E: DEFINEs.
OPEN Procedure (Superseded by FILE_OPEN_ Procedure) 897