Example:
GTM>DO ^%RD Routine directory Routine: TAXES TAXES Total of 1 routine Routine:* EMP FICA PAYROLL TAXES YTD Total of 5 Routines Routine: <RETURN> GTM>
This example invokes %RD that prompts for routine TAXES and the wildcard (*). %RD lists five routines accessible through the current $ZROUTINES.
Example:
GTM>DO OBJ^%RD Routine directory Routine:* EMP FICA Total of 2 routines Routine: <RETURN> GTM>
This example invokes %RD with the label OBJ that lists only object modules accessible through the current $ZROUTINES.
Example:
GTM>DO LIB^%RD Routine directory %D %DATE %DH %G %GD %GSEL GTM>
This example invokes %RD with the LIB label that lists all the % routines accessible through the current $ZROUTINES.
Example:
GTM>DO SRC^%RD Routine directory Routine:* DATACHG Total of 1 routines Routine: <RETURN> GTM>
This example invokes %RD with the label SRC that lists only source modules accessible through the current $ZROUTINES.