;
; Input:
; %UT - global to store routine that is being restored
; %RT - selected node from global
FROUT(%FIND)
;Return 1 if routine found, 0 else
ROUT(%UTILITY)
;Get available routines
COMP(INSELTT,INASK)
;compile Transaction Types into cms elements
; Called by tags EN1 and EN2 above
; Also called by $$COMP^INZTTC
; Input:
; INSELTT - Array of selected Transaction Types
; INSELTT = # Selected
; INSELTT(n) = IEN^0_NODE
; INASK - Option control for ERROR notification
; Values: 0 - Ask if user wants reporting
; If user wants reporting, ask DEVICE
; 1 - Reporting goes to ASCII flat file in the user's
; default directory. The filename is based on the
; UNIQUE IDENTIFIER of the INTERFACE TRANSACTION TYPE
; chosen. This file has a ".GEN" extention to signify
; it came from the GENERATION (export) module.
; DEFAULT is 0
; Note: When INASK=0, if the user specifies no reporting, INASK
; will be set to 3 and passed to INHUT3 as a signal to not
; open any devices.
; Note: INPOP should be in the data space from the calling routine
; and should be set to 0. This variable is a flag used
; to denote FATAL ERRORS and should be checked by the calling
; routine to determine successful generation. If the value is
; 1, this will denote failure.
; Note to Note: INPOP is not the only failure condition that
; should be checked by the calling program.