CRE Programmer's Guide

CRE Service Functions
Common Run-Time Environment (CRE) Programmer’s Guide528146-004
6-11
CRE_File_Open_
Considerations
CRE_File_Message_ retries operations that return an error and are recoverable.
CRE_File_Open_
The CRE_File_Open_ function opens a standard file.
The syntax for the TNS CRE environment is:
The syntax for the native CRE environment is:
57 Parameter value not accepted
63 Undefined shared file
64 File not open
INT PROC CRE_File_Open_( file_ordinal, flags, access,
exclusion, no_wait,
sync_receive_depth, options,
cplist ) EXTENSIBLE;
INT file_ordinal; ! in, required
INT flags; ! in, optional
INT access; ! in, optional
INT exclusion; ! in, optional
INT no_wait; ! in, optional
INT sync_receive_depth; ! in, optional
INT options; ! in, optional
INT(32) .cplist; ! in/out, optional TNS only
INT PROC CRE_File_Open_( file_ordinal, flags, access,
exclusion, no_wait,
sync^receive_depth, options,
cplist ) EXTENSIBLE;
INT file_ordinal; ! in, required
INT flags; ! in, optional
INT access; ! in, optional
INT exclusion; ! in, optional
INT no_wait; ! in, optional
INT sync_receive_depth; ! in, optional
INT options; ! in, optional
INT(32) .EXT cplist; ! in/out, optional native only
Error Code Cause (continued)