Distributed Systems Network Management (DSNM) Subsystem Interface Development Guide
_RC^TYPE
A-100
109759—Distributed Systems Network Management (DSNM) Subsystem Interface
Development Guide
DSNM Library Services
_RC^TYPE
_RC^TYPE declares function procedures that can be called by a thread procedure (but 
are not themselves thread procedures) and that return a frame return code value.
_RC^TYPE also declares variables to hold the frame return code (_RC^) values such as 
values returned by _RC^TYPE function procedures.
The special return code _RC^NULL may be returned by an _RC^TYPE procedure to 
indicate that it has not returned any valid frame return code. _RC^NULL must not be 
returned to the frame by any thread procedure. 
Example
In this example, a thread procedure calls an _RC^TYPE procedure.  The called 
procedure returns a frame return code, which is interpreted by the calling procedure. 
_RC^TYPE PROC process^object ( ... );
 BEGIN
 .
 .
 END;
_THREAD^PROC (_COMMAND^PROC);
 BEGIN
 _RC^TYPE obj^rc;
 .
 .
 obj^rc := process^object ( ... );
 IF obj^rc <> _RC^NULL
 THEN
 RETURN obj^rc;
 .
 .
 _END^THREAD^PROC;
_RC^WAIT
The thread returns _RC^WAIT to the frame to wait for the next event.
_RC^TYPE PROC procname ;
_RC^TYPE var1, [ var2 [,...]];
RETURN _RC^WAIT;










