NET/MASTER RMS Management and Operations Guide

ZRMSAPIN ( GETACTIVE )
RMS Procedure Calls
C–6 115415 NonStop NET/MASTER RMS Management and Operations Guide
Examples
1. The following example illustrates a user NCL procedure that retrieves information
about all active subjects under all managers:
SAMPLE: PROCEDURE
CALL ZRMSAPIN (GETACTIVE) SHARE &RMS.,&SYSMSG
END SAMPLE
2. The following example illustrates a user NCL procedure that retrieves information
about all active subjects beginning with $LINE (for example, $LINE1, $LINE2,
$LINEZ, $LINE99, and so on):
SAMPLE: PROCEDURE
&SUB=“$LINE”
CALL ZRMSAPIN (GETACTIVE,&SUB) SHARE &RMS.,&SYSMSG
END SAMPLE
3. The following example illustrates a user NCL procedure that retrieves information
about all active subjects beginning with TERM (for example, TERM1, TERM2,
TERMZ, TERM99, and so on) under the manager $XXPM:
SAMPLE: PROCEDURE
&SUB=“TERM”
&MGR=“$XXPM”
CALL ZRMSAPIN (GETACTIVE,&SUB,&MGR) SHARE &RMS.,&SYSMSG
END SAMPLE