Go to the bottom.
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! SDDL Name:	NPSTATE_TRN.SDDL
!
! Purpose:      This SDDL file defines the npstate_trn relation.
!
! Modification History:
!
!   Date       OPR      Who                       Reason
! --------   -------    ---   -------------------------------------------------
! 10/28/94    27329     SXT   Original implementation
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!

LANGUAGE	FORTRAN, SQL

RECORD  NPSTA_TYPE

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


    DESCRIPTION       "This relation defines the relationship between states 
                       of a single element or system.  Each record defines a 
                       possible 'current' state and a 'next' state, thus 
                       describing a transition from one state to another.

                       An action ID specifies what action must occur in order 
                       for the transition to take place.  When an action is 
                       identified for a system or element, the Precedence 
                       Checker looks for a State Transition Table record that 
                       matches the current state of the system or element, and
                       where the action ID field matches the current action.  

                       The State Transition Table record instructs the
                       Precedence Checker to change the current state to that 
                       of the `next' state.
 
		       See NPNAMES_TABLE to understand where this data comes 
		       from and how it is used.  The description for 
		       NPNAMES_TABLE also has a complete list of the related 
		       precedence checker relations. Also refer to Chapters 22
		       through 33 of the SCS User's Guide for more information 
		       on the precedence checker.

                       State Transition Table records may be linked to the 
                       Compatibility List Table or the Action List Table by 
                       means of the compatibility and action list IDs.  The 
                       compatibility list ID is used for specifying conditions
                       that must be met in order for a state transition to 
                       occur.  This usually amounts to requiring that one or 
                       more systems or elements be in specific states before 
                       the candidate state transition is allowed to take place.

                       The action list ID is used to specify a supplemental 
                       list of actions to occur as a result of a transition, 
                       usually involving the elements of the candidate system.
 
                       If a transition is to result in further action at a 
                       later time, the timer fields of the state transition 
                       record may be used.  The timer fields enable a timed 
                       translation to occur at a specified future time.  The 
                       future time is determined using the value specified for
                       the timer.  A timer may be saved and/or started as a 
                       result of the transition occuring.  When the timer 
                       expires, the translation specified in the timer occurs.
                       For more information concerning timer operations, see 
                       the chapter on backend precedence checking, SCS User's
                       Guide Chapter 27."


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



    FIELD  system
        TYPE            C12
        DESCRIPTION     "This field is the name given to a system or anything 
                         else to be treated in the same manner as a system, 
                         such as an SI."
    END_FIELD



    FIELD  element
        TYPE            C12
        DESCRIPTION     "This field is the name given to a system element. 
                         If element is not specified, the state transition 
                         is for a system."
    END_FIELD



    FIELD  state
        TYPE            C12
        DESCRIPTION     "This field is the name of a particular system or 
                         element state."
    END_FIELD



    FIELD  action
        TYPE            C12
        DESCRIPTION     "This field is a string that identifies the action to 
                         be performed on the system or element from the 
                         translation table."
    END_FIELD



    FIELD  msg_id
        TYPE            C12
        DESCRIPTION     "This field is the identifier of a message to be 
                         output if this system state transition is entered. 
                         Messages are output to the error summary file and 
                         the precedence checkers trace file."
    END_FIELD



    FIELD  nxt_sta
        TYPE            C12
        DESCRIPTION     "This field is the name of the target system state 
                         resulting from this system action."
    END_FIELD



    FIELD  act_list
        TYPE            C12
        DESCRIPTION     "This field is the name of a supplemental action list 
                         to execute as a result of this system action. If the
                         field is blank, no action list will be executed.
                         This item is ignored if the state transition is 
                         for an element."
    END_FIELD



    FIELD  cmp_list
        TYPE            C12
        DESCRIPTION     "This field is a string that identifies an entry in the
                         compatibility list  containing the system and element
                         states which must be matched by the current system and
                         element states before this state transition can occur."
    END_FIELD



    FIELD  cmp_msg
        TYPE            C12
        DESCRIPTION     "This field is the identifier of a message to be 
                         issued should the current system and element states 
                         fail the compatibility check."
    END_FIELD



    FIELD  alg_code
        TYPE            C1
        DESCRIPTION     "This field is a code that indicates when an algorithm 
                         associated with an action is to be executed.
                         I means execute algorithm immediately.
                         E means execute algorithm after the statement is checked.
                         : means no algorithm (default)."
        DISCRETE         "I", "E", ":"
    END_FIELD



    FIELD  algorthm
        TYPE            C12
        DESCRIPTION     "This field is the identifier of an algorithm to be 
                         accessed.  Algorithm data is kept in a separate 
                         relation."
        RELATED_FIELDS  "npalgorithms.*"
    END_FIELD



    FIELD  tim_src
        TYPE            C1
        DESCRIPTION     "If a timer ID is saved as a result of this action,
                         timer source (this field) tells where to get the 
                         timer value.
                         Field value's meanings are the following:
                         P means get the value from the SMS (i.e. in the value
                             field of the translation mnemonic.
                         V means get the value from the timer value field.
                         A means get the value from the action value field in
                             the translation table."
        DISCRETE        "P", "V", "A"
    END_FIELD



    FIELD  save_tim
        TYPE            C12
        DESCRIPTION     "This field is the identifier of a timer to be saved."
    END_FIELD



    FIELD  strt_tim
        TYPE            C12
        DESCRIPTION     "This field is the identifier of a timer to be started
                         now as a result of this action."
    END_FIELD



    FIELD  tim_val
        TYPE            R4
        DESCRIPTION     "This field is the value in seconds of the timer 
                         identified by timer save ID. Time value is used 
                         when timer source is set to 'v'."
    END_FIELD



    FIELD  tim_mix
        TYPE            C3
        DESCRIPTION     "This field is a flag set to indicate for multiple 
                         path cases whether the maximum (max) or minimum (min)
                         value of any delta time delays shall be used for
                         processing the transition at the end of the paths. 
                         The default is the maximum value."
    END_FIELD



    FIELD  cnstrnt_id
        TYPE            C12
        DESCRIPTION     "This field is an identifier which associates this 
                         translation with a constraint. A record with the 
                         constraint identifer specified here should be present
                         in the constraint text relation."
        RELATED_FIELDS  "npconstraint.cnstrnt_id"
    END_FIELD



    FIELD  comment
        TYPE            C72
        DESCRIPTION     "This field is commentary text to be associated with 
                         this record."
    END_FIELD


END_RECORD


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


RELATION  npstate_trn

    TYPE             NPSTA_TYPE

    DESCRIPTION      "Precedence Checker State Transition Description Relation"

    SUBSYSTEM_USING  "SCS"

    RELATED_FIELDS  "npstate_trn.*" "npname_table.*" "npact_list.*" "npmsg_list.*" "npalgorithms.*" "npcomp_list.*"


    INDEX  npstate_trn_1
        TYPE         unique, clustered
        FIELDS       system, element, state, action
    END_INDEX

END_RELATION

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


INSTANCE  npstate_trn

    GLOBAL

    TYPE        NPSTA_TYPE

END_INSTANCE

Go to the top.