HELPLIB.HLB  —  SCA  SAVE
    Saves information about the item specified by the option word.

    Format

      SAVE   option

1  –  QUERY

    [SCA Command] Saves information about one or more current SCA
    query sessions. The information saved for a query session is a
    FIND command for the query session.

    The saved commands can be executed by SCA by means of the
    @file-spec command.

    Format

      SAVE QUERY   [query-name,...]

1.1  –  Qualifiers

1.1.1    /OUTPUT

       /OUTPUT[=file-spec]
       /OUTPUT=QUERY.COM (D)

    Specifies the save data file to be created. The default
    file type is .COM.

1.1.2    /PREFIX

       /PREFIX=prefix

    Specifies the prefix to be applied to all query names in the
    saved information.

1.1.3    /QUALIFIERS="qualifiers"

    Specifies the qualifiers to be applied to FIND commands in the
    saved information. Should not include /NAME or /DESCRIPTION.

1.2  –  Parameters

 query-name
    Specifies the name of the query to be displayed. If you specify
    a null query name (""),  SCA assumes you mean the current query.
    If you omit this parameter, SCA assumes you have specified an
    asterisk (*).

1.3  –  Example

    $ SCA
    SCA> FIND/DESC=XYZ X*
    SCA> FIND/NAME=ABC @1 OR Y*
    SCA> SAVE QUERY/PREFIX=X_/QUALIFIERS="/NODISPLAY"

    Following the above file QUERY.COM will contain:

    find/name=X_1/desc=XYZ/NODISPLAY X*
    find/name=X_ABC/NODISPLAY @X_1 OR Y*
Close Help