VMS Help  —  SCA  SCA Topics, Callable Routines, SCA$GET_CURRENT_QUERY
    Gets the name of the current query in the given command context.

    Format

      SCA$GET_CURRENT_QUERY  command_context,

                             query_name

1  –  Arguments

 command_context
    type:       $SCA_COMMAND_CONTEXT
    access:     read/write
    mechanism:  by reference

    An SCA command context.

 query_name
    type:       character string
    access:     write only
    mechanism:  by descriptor

    The name of the current query in the context of the given command
    context.

2  –  Condition Values Returned

    SCA$_NORMAL           The name of the current query has been
                          successfully retrieved.

3  –  Description

    The SCA$GET_CURRENT_QUERY routine gets the name of the current
    query in the given command context.
Close Help