VMS Help  —  SCA  SCA Topics, Callable Routines, SCA$SELECT_OCCURRENCE
    Creates a query that matches a specific occurrence.

    Format

      SCA$SELECT_OCCURRENCE  occurrence,

                             query_name

1  –  Arguments

 occurrence
    type:       $SCA_HANDLE
    access:     read only
    mechanism:  by reference

    An SCA occurrence handle which describes the occurrence that the
    newly created query is to match.

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

    The name of the newly created query. This query is created in the
    context of the same command context as that in which the input
    occurrence handle is defined.

2  –  Condition Values Returned

    SCA$_NORMAL           A query expression has been successfully
                          defined.

3  –  Description

    You use this routine to create new queries based on the results of
    previous queries. The occurrence handle parameter is obtained by
    traversing the results of a previous query evaluation.
Close Help