Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (O)
Guardian Procedure Calls Reference Manual522629-013
11-14
OPEN Procedure (Superseded by FILE_OPEN_
Procedure )
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 Consideration
Interprocess Communication Considerations
Message
DEFINE Considerations
Safeguard Considerations
OSS Considerations
Example
Related Programming Manuals
Summary
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
Note. This procedure is supported for compatibility with previous software and should not be
used for new development.
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