Guardian Procedure Calls Reference Manual
Condition Code Settings
indicates that an error occurred (call FILE_GETINFO_ or FILEINFO).< (CCL)
indicates that the SETMODENOWAIT is successful.= (CCE)
indicates that the SETMODENOWAIT function is not allowed for this device type.> (CCG)
Considerations
• File opened with wait depth > 0
AWAITIO[X] must be called to complete the call when filenum is opened with a wait depth
greater than 0. For files with wait depth equal to 0, a call to SETMODENOWAIT is a waited
operation and performs in the same way as a call to SETMODE.
• last-params and AWAITIO[X]
AWAITIO returns @last-params in the buffer parameter (AWAITIOX returns the extended
address of last-params). The count is undefined.
• For disk files, a call to SETMODENOWAIT is a waited operation and it is performed in the
same way as a call to SETMODE. For this reason, requests to DP2 (if needed) are always
completed during the SETMODENOWAIT call even though you must still call the AWAITIO[X]
procedure to get the completion status when NOWAITDEPTH > 0.
Example
LITERAL SET^SPACE = 6,
NO^SPACE = 0,
SPACE = 1;
.
.
CALL SETMODENOWAIT ( FILE^NUM , SET^SPACE , SPACE );
! turns off single spacing for a line printer.
Related Programming Manuals
For programming information about the SETMODENOWAIT procedure, see the Guardian
Programmer's Guide and the data communication manuals.
SETMODENOWAIT Procedure 1347