Go to the bottom.
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name: QGSTATE.SDDL
!
! Purpose: This SDDL file defines the qgstate relation.
!
! Modification History:
!
! Date PR Who Reason
! -------- ------- --- -------------------------------------------------
! 12/ 1/94 27329 SXT Original implementation
! 08/15/96 29960 MRB Added C output, refinements
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!
LANGUAGE C, FORTRAN, SQL
RECORD QGSTAT_TYPE
!------------------------------------------------------------------------------
!
! RECORD INFORMATION
!
!------------------------------------------------------------------------------
DESCRIPTION
"This relation defines the states of discrete parameters.
State groups are defined only for parameters. A state group
contains a set of allowable discrete values for a parameter.
It is defined only if a state group name is provided (or
generated during previous processing), and one or more
state names are provided.
This relation is referenced by command INSTRUCT/CLP in its
Pass2 process, which is for 'Context Checking'. One of the
purposes of Context Checking is to check the instructions,
parameters, state groups, and global variables defined within
the instruction source against the PDB.
State groups are PDB pre-defined. This relation is populated
by IM Tool IMTPQG."
!------------------------------------------------------------------------------
!
! FIELD INFORMATION
!
!------------------------------------------------------------------------------
FIELD state_group
TYPE C26
DESCRIPTION "This field holds the state group name, which is the
name of the group of state values. This field is
pointed to by field state_group in relation
QGPARAMETER. It is used to access the allowable
values for parameters with value check type equals
to 'D' (discrete). Every parameter defined for an
instruction has an associated check type. The
check type may be range, discrete or none. If
the check type is discrete, a state group name
will be included in the parameter definition. The
state group will contain a set of allowable discrete
values for the parameter."
RELATED_FIELDS "qgparameter.state_group"
END_FIELD
FIELD state_no
TYPE I2
DESCRIPTION "This field holds a sequence number to identify
each state uniquely within the state group."
END_FIELD
FIELD state_value
TYPE C18
DESCRIPTION "This field holds the PASS recognizable value of
the state. For example, the string 'OFF' may be
translated by PASS to a numeric 0."
END_FIELD
FIELD state_descr
TYPE C30
DESCRIPTION "This field is the description of the state."
END_FIELD
END_RECORD
!------------------------------------------------------------------------------
!
! RELATION DECLARATION
!
!------------------------------------------------------------------------------
RELATION qgstate
TYPE QGSTAT_TYPE
DESCRIPTION "Instruction Parameter State Description Relation"
SUBSYSTEM_USING "SPSS", "SCS", "IM"
INDEX qgstate_1
TYPE unique, clustered
FIELDS state_group, state_value
END_INDEX
END_RELATION
!------------------------------------------------------------------------------
!
! INSTANCE DECLARATION
!
!------------------------------------------------------------------------------
INSTANCE qgstate
GLOBAL
TYPE QGSTAT_TYPE
END_INSTANCE
Go to the top.