Library /sys$common/syshlp/LSE$CLIHELP.HLB  —  GOTO  DECLARATION
    [SCA Required] Displays the declaration of the symbol indicated.
    LSE displays the source code containing the symbol declaration in
    another window and positions the cursor on the symbol declaration.

    Format

      GOTO DECLARATION   [symbol-name]

1  –  Qualifiers

1.1    /ASSOCIATED

    Indicates that you want to see the associated declaration for
    the symbol. An associated declaration is a related declaration
    that accompanies the primary declaration (such as an EXTERNAL
    declaration).

1.2    /CONTEXT_DEPENDENT

    If you specify both the /CONTEXT_DEPENDENT and the /INDICATED
    qualifiers, then SCA determines which declaration to display by
    using the following criteria:

    o  If the indicated occurrence of the symbol is a reference, LSE
       displays the declaration specified by the compiler as bound to
       that occurrence of the symbol.

    o  If the indicated occurrence of the symbol is an associated
       declaration, LSE displays the primary declaration.

    o  If the indicated occurrence of the symbol is a primary
       declaration, LSE displays the associated declaration.

    You cannot use the /CONTEXT_DEPENDENT qualifier without the
    /INDICATED qualifier.

1.3    /INDICATED

    Instructs LSE to use the symbol name at the current cursor
    position, or the text within the currently active selected
    range, as the symbol name. To help SCA identify exactly which
    occurrence of the symbol name the cursor is positioned on, LSE
    passes both the current cursor position in the buffer and the file
    specification for the current buffer to SCA.

    If SCA has no information for the symbol name at the current
    cursor position (for example, if the line containing the symbol is
    a new line and the file has not been recompiled), then SCA uses
    whatever general information it has about that symbol as if you
    issued a GOTO DECLARATION command for the symbol name without the
    /INDICATED qualifier.

    If you specify the /INDICATED qualifier, you must not specify the
    symbol-name parameter.

    You cannot use the /INDICATED qualifier without the /CONTEXT_
    DEPENDENT qualifier.

1.4    /PRIMARY

       /PRIMARY (D)

    Indicates that you want to see the primary declaration for
    the symbol. A primary declaration is the declaration that SCA
    interprets as most significant for a symbol (such as a FUNCTION
    declaration). For example, the primary declaration of a routine
    describes the body of the routine.

2  –  Parameter

 symbol-name
    Specifies that the declaration associated with the named symbol is
    to be displayed. You must not specify a symbol name if you specify
    the /INDICATED qualifier.
Close Help