Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (O)
Guardian Procedure Calls Reference Manual—522629-013
11-46
OPENEDIT_ Procedure
Example
In the following example, OPENEDIT_ calls FILE_OPEN_ for the file
$MYVOL.TEST.AFILE. The following default values are used: read-only, shared
access, nowait mode, sync depth of 0, and no unbuffered writes.
STRING .EXT fname[0:16] := [ “$MYVOL.TEST.AFILE” ];
INT length := 17;
INT .EXT fnumber := -1;
.
.
err := OPENEDIT_ ( fname:length, fnumber );
Related Programming Manual
For programming information about the OPENEDIT_ procedure, refer to the Guardian
Programmer’s Guide.