GDSX Manual
Service Routines
Extended General Device Support (GDSX) Manual–134303
8-73
^SETMODE
When the return status of ^SERVERCLASS_SEND_ is 233, indicating an error with the
call, you should can call ^SERVERCLASS_SEND_INFO_ to receive additional
Pathsend and file-system error information.
If the return status of ^SERVERCLASS_SEND_ is 0, the call was successful. If you
call ^SERVERCLASS_SEND_INFO_ in this case, Pathsend and the file system also
return a value of 0.
The syntax, condition code settings, and considerations regarding this procedure are the
same as the counterpart in the NonStop TS/MP Pathsend and Server Programming
Manual.
^SETMODE
This procedure is used to set device-dependent functions.
A call to the SETMODE procedure is rejected with an error indication if nowait
operations are pending on the specified file.
Except for the following considerations, the syntax, condition code settings, and
considerations regarding this procedure are the same as the counterpart in the Guardian
Procedure Calls Reference Manual.
Considerations
Because the working stack images of tasks are swapped to and from an extended data
segment during I/O operations, I/O must be performed to and from global buffers.
^SETMODENOWAIT
This procedure sets device-dependent functions in a nowait manner on nowait files.
Except for the following considerations, the syntax, condition code settings, and
considerations regarding this procedure are the same as the counterpart in the Guardian
Procedure Calls Reference Manual.
Considerations
•
Because the working stack images of tasks are swapped to and from an extended
data segment during I/O operations, I/O must be performed to and from global
buffers.
•
Some applications may require the monitoring of 3270 device status by a call to
^SETMODENOWAIT with function code 53. In this case, the param2 parameter is
not passed on to AM3270. Instead, TSCODE passes the task number of the caller.
Then, when a type -21 system message is received by GDSX, it may route the
message to the proper task.
•
When a task owns break and a break occurs, the -20 system message is routed to that
task by way of $RECEIVE. The user task must issue ^SETMODENOWAITs to
restore the terminal to break and/or normal access.
•
Param1 is necessary for ITC files else an error FEMissParam is returned