GDSX Manual

User Exit Descriptions
Extended General Device Support (GDSX) Manual134303
9-20
USER^REPLIES
is the returned value. The value of status is generated by a TAL RETURN
statement in USCODE and can be one of the following:
scf-command input
INT:value
is the SCF command number. The value of scf-command is one of the following:
scf-object-type input
INT:value
is the SCF object type number. The value of scf-object-type is one of the
following:
scf-object-name input
INT:value
is the SCF object name. The value is 9287 for all INFO and STATS commands.
scf-buffer input
INT:ref
is the pointer to the SCF response buffer.
Considerations
The TSCODE-supported FAULT procedure should only be called from the
USER^REPLIES exit with its noretn parameter equal to 0. See the description of
the FAULT procedure in Section 8.
USER^REPLIES is an integer function called only by TSCODE, never by
USCODE. USCODE returns function values to TSCODE with the TAL RETURN
statement. The permissible returned function values are described under the
status variable above.
USER^REPLIES is called from the monitor task.
0 Everything is all right
SCF error number Error occurred
3 An INFO request
7 A STATS request
13 LINE
17 PROCESS
21 SU
24 TASK