NET/MASTER Network Control Language (NCL) Reference Manual
CONTROL
Verbs
3–46 106126 Tandem Computers Incorporated
In the following example, a procedure is coded to call a nonexistent procedure. The
CONTROL FINDRC option allows the calling procedure to continue execution
without a run-time error. The &SYS.RETCODE system variable then shows that it
contains 100:
NO_ERROR: PROCEDURE
CONTROL FINDRC
/* CALL A PROCEDURE THAT DOES NOT EXIST */
CALL SNOOPY
SAY "&SYS.RETCODE = " &SYS.RETCODE
END NO_ERROR