Go to the bottom.
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name:	QGTABLEPARM.SDDL
!
! Purpose:      This SDDL file defines the qgtableparm relation.
!
! Modification History:
!
!   Date       OPR      Who                       Reason
! --------   -------    ---   -------------------------------------------------
! 12/ 2/94    27329     SXT   Original implementation
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!

LANGUAGE	FORTRAN, SQL

INCLUDE         ZSPSS_USER_TYPES.SDDL

RECORD  QGTAB_TYPE

!------------------------------------------------------------------------------
!
!   RECORD INFORMATION
!
!------------------------------------------------------------------------------


    DESCRIPTION       
		"This relation contains information about the parameters of 
                tables. A table parameter can be a single parameter, a list 
                parameter, or an array parameter. 
 
		A single parameter contains one value and is either 
	        supplied by the instruction or contains a default value.
			
                A list parameter is a single parameter that contains 
                multiple values to be passed in a PDB pre-defined primitive 
                command, command set, data block, or table; i.e., they have to 
                be used more restrictively than a single parameter.

	        Array parameters are not used currently in the table type
                instructions.

                This relation is PDB pre-defined. It is populated by 
                IMTOOL."
          		

!------------------------------------------------------------------------------
!
!   FIELD INFORMATION
!
!------------------------------------------------------------------------------



    FIELD  tbl_fmt_name
        TYPE TABLE_NAME_TYPE
    END_FIELD



    FIELD  param_name
        TYPE            C8
        DESCRIPTION     "This field contains the table parameter name which
			must be unique within a table." 
    END_FIELD



    FIELD  param_list
        TYPE YES_NO_FLAG_TYPE
        DESCRIPTION     "This field is the list parameter flag. It is set to
                        'Y' if this is a list parameter, otherwise it is set
                        to 'N'."
        RELATED_FIELDS  "qgblibrary.arg_no"
    END_FIELD



    FIELD  arg_no
        TYPE            I2
        DESCRIPTION     "For a list parameter, this is the argument number.  
                        This field is set to zero if the table parameter is
                        not a list parameter."
    END_FIELD



    FIELD  data_type
        TYPE            C1
        DESCRIPTION     "This field holds the table parameter data type.
                        Valid values of this field are the following:
                               I = integer
                               R = real
                               C = character"
        DISCRETE        "I", "R", "C"
    END_FIELD



    FIELD  param_order
        TYPE            I4
        DESCRIPTION     "This field holds the parameter order number, which
                        is the order in which parameters are located in this
                        table."
    END_FIELD



    FIELD  state_group
        TYPE            C26
        DESCRIPTION     "This field holds the state group name, which is the
                        name of the group of state values. It is used to 
                        access the allowable values for parameters with value 
                        check type equal to 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  "qgstate.state_group"
    END_FIELD



    FIELD  access_code
        TYPE YES_NO_FLAG_TYPE
        DESCRIPTION     "This field is set to 'Y' if the parameter may
                        be modified by MOC(Mission Operation Center) or in an 
                        SMS. Otherwise, it is set to 'N'."
    END_FIELD



    FIELD  first_word
        TYPE            C5
        DESCRIPTION     "See ST-ICD-26, PT.II, Section 11 for definition.
                        This field is not used by SOGS."
    END_FIELD



    FIELD  first_wrdlow
        TYPE            C2
        DESCRIPTION     "See ST-ICD-26, PT.II, Section 11 for definition.
                        This field is not used by SOGS."
    END_FIELD



    FIELD  first_wrdhgh
        TYPE            C2
        DESCRIPTION     "See ST-ICD-26, PT.II, Section 11 for definition.
                        This field is not used by SOGS."
    END_FIELD



    FIELD  last_wrdlow
        TYPE            C2
        DESCRIPTION     "See ST-ICD-26, PT.II, Section 11 for definition.
                        This field is not used by SOGS."
    END_FIELD



    FIELD  last_wrdhgh
        TYPE            C2
        DESCRIPTION     "See ST-ICD-26, PT.II, Section 11 for definition.
                        This field is not used by SOGS."
    END_FIELD



    FIELD  fill_charac
        TYPE            C6
        DESCRIPTION     "See ST-ICD-26, PT.II, Section 11 for definition.
                        This field is not used by SOGS."
    END_FIELD



    FIELD  array_indict
        TYPE            C1
        DESCRIPTION     "This field holds the array indicator, which
                        indicating whether or not the parameter is an array.
                        It is set to 'A' if the parameter is an array.
                        Otherwise it is left blank."
        DISCRETE        "A", " "
        RELATED_FIELDS  "qgblibrary.array_elemnt"
    END_FIELD



    FIELD  array_order
        TYPE            C1
        DESCRIPTION     "This field holds the array order, which indicating 
                        the order of array if array indicator is not blank.
                        Valid values are the following:
                              R = ordered by row
                              C = ordered by column"
        DISCRETE        "R", "C"
    END_FIELD



    FIELD  frst_dim_tot
        TYPE            C3
        DESCRIPTION     "This field contains the first dimension total,
                        which indicates the number of elements in the first 
                        dimension of the array. If the parameter is
                        not an array, this field should contain blanks."
    END_FIELD



    FIELD  scnd_dim_tot
        TYPE            C3
        DESCRIPTION     "This field contains the second dimension total,
                        which indicates the number of elements in the second 
                        dimension of the array. IF the parameter is
                        not an array, this field should contain blanks."
    END_FIELD



    FIELD  thrd_dim_tot
        TYPE            C3
        DESCRIPTION     "This field contains the third dimension total,
                        which indicates the number of elements in the third 
                        dimension of the array. IF the parameter is
                        not an array, this field should contain blanks."
    END_FIELD



    FIELD  action_code
        TYPE            C2
        DESCRIPTION     "See ST-ICD-26, PT.I, Appendix E for definition.
                        This field is not used by SOGS."
    END_FIELD



    FIELD  scale_factor
        TYPE            C3
        DESCRIPTION     "See ST-ICD-26, PT.II, Section 11 for definition.
                        This field is not used by SOGS."
    END_FIELD



    FIELD  check_type
        TYPE            C1
        DESCRIPTION     "This field holds the check type. Every parameter 
                        defined for an instruction has an associated check 
                        type. Valid values of this field are the following:
                               D = discrete
                               R = range
                               N (or blank) = no check
                        If the check type is range, a maximum and minimum 
                        value are included in the parameter definition. If the
                        check type is discrete, a state group name will be 
                        included in the parameter definition. If the parameter
                        value does not fall into the specified range or match 
                        one of the discrete values, the parameter is not
                        assigned a value."
    END_FIELD



    FIELD  minimum_val
        TYPE            C15
        DESCRIPTION     "This field holds the parameter minimum value if the
                        parameter check type is 'R'(range)."
    END_FIELD



    FIELD  maximum_val
        TYPE            C15
        DESCRIPTION     "This field holds the parameter maximum value if the
                        parameter check type is 'R'(range)."
    END_FIELD



    FIELD  data_format
        TYPE            C5
        DESCRIPTION     "This field contains the data format for output the
                        parameter in the SMS. It is not used by SOGS."
    END_FIELD



    FIELD  def_valu_flg
        TYPE YES_NO_FLAG_TYPE
        DESCRIPTION     "This field holds the default value flag,
                        indicating whether or not default value exist.
                        It is set to 'Y' if a default value exists."
      
    END_FIELD



    FIELD  param_unit
        TYPE            C15
        DESCRIPTION     "See ST-ICD-26 for definition."
    END_FIELD



    FIELD  comment_1
        TYPE            C73
        DESCRIPTION     "This field contains the text comment line 1."
    END_FIELD



    FIELD  comment_2
        TYPE            C73
        DESCRIPTION     "This field contains the text comment line 2."
    END_FIELD


END_RECORD


!------------------------------------------------------------------------------
!
!   RELATION DECLARATION
!
!------------------------------------------------------------------------------


RELATION  qgtableparm

    TYPE             QGTAB_TYPE

    DESCRIPTION      "Instruction Table Parameter Description Relation"

    SUBSYSTEM_USING  "SPSS","SCS", "IM"

    INDEX  qgtableparm_1
        TYPE         unique, clustered
        FIELDS       tbl_fmt_name, param_name, arg_no
    END_INDEX

END_RELATION

!------------------------------------------------------------------------------
!
!   INSTANCE DECLARATION
!
!------------------------------------------------------------------------------


INSTANCE  qgtableparm

    GLOBAL

    TYPE        QGTAB_TYPE

END_INSTANCE

Go to the top.