Guardian Procedure Calls Reference Manual

NOTE: The system stores the tag value until the I/O operation completes. The system then
returns the tag information to the program in the tag parameter of the call to FILE_AWAITIO64_
or the tag field of the completion-info parameter of the call to FILE_COMPLETEL_, thus
indicating that the operation finished. If the tag argument is omitted, the value 0F is used.
Returned Value
INT
A file-system error code that indicates the outcome of the call.
Considerations
EpTAL callers must set toggle
EpTAL callers must set the toggle _64BIT_CALLS before sourcing the
FILE_SETMODENOWAIT64_ procedure section from EXTDECS.
Familiar semantics
Unless otherwise described, the semantic behavior of FILE_SETMODENOWAIT64_ is the same
as that of SETMODENOWAIT.
File opened with wait depth > 0
FILE_AWAITIO64_ must be called to complete the call when filenum is opened with a wait
depth greater than 0. For files with a wait depth equal to 0, a call to
FILE_SETMODENOWAIT64_ is a waited operation and performs in the same way as a call
to SETMODE.
last-params and FILE_AWAITIO64_
FILE_AWAITIO64_ returns the extended address of last-params. The count is undefined.
Disk files
For disk files, a call to FILE_SETMODENOWAIT64_ is a waited operation and is performed
in the same way as a call to SETMODE. For this reason, requests to DP2 (if needed) are always
completed during the FILE_SETMODENOWAIT64_ call even though you must still call the
FILE_AWAITIO64_ or FILE_COMPLETEL_ procedure to get the completion status when
NOWAITDEPTH > 0.
Example
LITERAL SET^SPACE = 6,
NO^SPACE = 0,
SPACE = 1;
.
.
ERROR := FILE_SETMODENOWAIT64_ ( FILE^NUM , SET^SPACE , SPACE );
! turns off single spacing for a line printer.
Related Programming Manuals
For programming information about the FILE_SETMODENOWAIT64_ procedure, see the Guardian
Programmer's Guide and the data communication manuals.
FILE_SETMODENOWAIT64_ Procedure 513