MAG4 INDEX GET TYPE

TITLEVALUE
NAMEMAG4 INDEX GET TYPE
DESCRIPTIONThis Remote Procedure Call is used to filter out those
image types that belong to a given image category (Class).

When images are displayed, it is desirable to limit the
list of presented images to only those that are likely
to be relevant in the current context.

This procedure accepts an "image class" (either an IEN
or the name of a class) and returns all "image types"
that belong to that class..
TAGIGT
ROUTINEMAGSIXGT
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERCLS
DESCRIPTIONThis parameter is a ',' (comma) delimited string of classes.
only those index types, that match a 'class' in the string will
be returned in the result array.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH160

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERFLGS
DESCRIPTION; FLGS : An '^' delimited string
; 1 IGN: Flag to IGNore the Status field
; 2 INCL: Include Class in the Output string
; 3 INST: Include Status in the Output String
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH40

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONThe result is an array of Image TYPES that are valid for the
class or classes.
Each item in the result array is in the format:
TYPE^Abbreviation (and optionally) ^CLASS^STATUS
-2: Invalid Category: "[category]".
-3: No Types Found for "[category]".

The structure of the output array is:
OUT(0) = "0^OK" or one of the above error messages
OUT(i) = name of image type ^ ien of image type
AVAILABILITYAGREEMENT
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION3
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED