NET/MASTER Network Control Language (NCL) Reference Manual
&SYS.FDBK
System Variables
106126 Tandem Computers Incorporated 5–37
&SYS.FDBK The &SYS.FDBK system variable returns numeric completion information after
execution of selected NCL verbs. This completion information, or status information,
is returned in the &SYS.FDBK system variable as a numeric value so that results are
available from a consistent location and can be easily interpreted.
The following verbs can set &SYS.FDBK:
EMS verbs
INT verbs
The LOCK verb
MSG verbs
The START verb
VARTABLE verbs
&SYS.FDBK
Considerations
The contents of &SYS.FDBK can be affected by many statements; if you want to
retain its value, you should save it in a user variable.
The meaning of the values set in &SYS.FDBK depends upon the verb that set the
variable. See the individual verb descriptions in Section 3, “Verbs,” for
information on return codes.
Example
In the following example, the procedure named EMSALERT first displays the
&SYS.FDBK system variable, which is initially 0 (zero). After the verb EMSALERT is
executed, the value of &SYS.FDBK is displayed with the value 8. The EMSALERT
verb encountered an error, indicating that the specified link or domain is not found:
EMS_ALRT: PROCEDURE
SAY “&SYS.FDBK = " &SYS.FDBK
EMSALERT LINK=CENTRAL TEXT= "TESTING ONLY",
SSID=USER.50.50 EVENTNUM=105
SAY "&SYS.FDBK AFTER EMSALERT = " &SYS.FDBK
END EMS_ALRT