Go to the bottom.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name:	QESIPARM.SDDL
!
! Purpose:      This SDDL file defines the QESIPARM relation.
!
! Modification History:
!
!   Date       OPR      Who                       Reason
! --------   -------    ---   -------------------------------------------------
! 11/16/94    27329     NLC   Original implementation
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!
 
LANGUAGE	FORTRAN, C, SQL

INCLUDE         ZSPSS_USER_TYPES.SDDL
 
RECORD  QESIPM_TYPE
 
!------------------------------------------------------------------------------
!
!   RECORD INFORMATION
!
!------------------------------------------------------------------------------
 
 
DESCRIPTION       "This relation is used to define Science Instrument (SI)
		   parameters for an exposure.  These parameters are used in
		   instrument commanding and are derived from both field values 
		   in the QELOGSHEET relation and TRANS rules.  An exposure
		   will have no more than one QESIPARM record for an assigned 
		   SI parameter. 

		   This relation is populated by TRANS, passed through by 
		   SPSS, and used by Instruction Management during SMS 
		   generation. 

		   For more information refer to the TRANS Scripting Guide. "
 
 
!------------------------------------------------------------------------------
!
!   FIELD INFORMATION
!
!------------------------------------------------------------------------------
 
 

    FIELD  proposal_id
        TYPE PROPOSAL_ID_TYPE
        FORM
            NAME         "ESP"
            LABEL        "PROPOSAL ID"
        END_FORM
    END_FIELD
 
 

    FIELD  obset_id
        TYPE OBSET_ID_TYPE
        FORM
            NAME         "ESP"
            LABEL        "OBSET ID"
        END_FORM
    END_FIELD
 
 

    FIELD  alignment_id
        TYPE ALIGN_ID_TYPE
        FORM
            NAME         "ESP"
            LABEL        "ALIGN ID"
        END_FORM
    END_FIELD
 
 

    FIELD  exposure_id
        TYPE EXPOSURE_ID_TYPE
        FORM
            NAME         "ESP"
            LABEL        "EXPOSURE ID"
        END_FORM
    END_FIELD
 
 

    FIELD  version_num
        TYPE VERSION_NUM_TYPE
        FORM
            NAME         "ESP"
            LABEL        "VERSION"
        END_FORM
    END_FIELD
 
 

    FIELD  si_par_name
        TYPE            C15
        DESCRIPTION     "This field is the name of the Science Instrument
			 parameter for which a value will be
                         assigned (for this exposure).  "
        FORM
            NAME         "ESP"
            LABEL        "SI PARAMETER NAME"
        END_FORM
    END_FIELD
 
 

    FIELD  si_par_value
        TYPE            C15
        DESCRIPTION     "This field is the value for the above parameter
			 (si_par_name). "
        FORM
            NAME         "ESP"
            LABEL        "SI PARAMETER VALUE"
        END_FORM
    END_FIELD
 
 
END_RECORD
 
 
!------------------------------------------------------------------------------
!
!   RELATION DECLARATION
!
!------------------------------------------------------------------------------
 
 
RELATION  qesiparm
 
    TYPE             QESIPM_TYPE
 
    DESCRIPTION      "Exposure Science Instrument Parameters Relation"
 
    SUBSYSTEM_USING  "SPSS", "TRANS", "PODPS", "IM"

    FORM
        NAME         "ESP"
    END_FORM
 
    INDEX  qesiparm_1
        TYPE         unique, clustered
        FIELDS       proposal_id, obset_id, alignment_id, exposure_id,
                     version_num, si_par_name
    END_INDEX

    RELATED_FIELDS  "qelogsheet.*"

END_RELATION
 
!------------------------------------------------------------------------------
!
!   INSTANCE DECLARATION
!
!------------------------------------------------------------------------------
 
 
INSTANCE  qesiparm
 
    GLOBAL
 
    TYPE        QESIPM_TYPE
 
END_INSTANCE

Go to the top.