DTRHELP.HLB  —  Commands Statements Clauses, SUM Statement, Arguments
    print-list

       Is a list of one or more numeric fields, other value expressions,
       and modifiers. The print list has the following format:

       {value-expression  [ {modifier} [...] ] }  [,...]

       The section on the PRINT statement describes the value
       expressions and modifiers you can use in a print list.

    sort-list

       Is a list of one or more sort keys that determine the order in
       which DEC DATATRIEVE presents the summary totals. An item in the
       sort list consists of the name of a field whose contents form
       the basis for the sort, preceded or followed by a keyword that
       determines the order DEC DATATRIEVE uses to sort the data.

       To specify the sort order for each sort key, use one of the
       following keywords:

       ASC[ENDING]

       DESC[ENDING]

       INCREASING

       DECREASING

       If you specify more than one sort key, use a comma to separate
       each sort key from the next.

    file-spec

       Is the file specification to which you want to write the output
       of the statement.

       A complete file specification has the following format:

       node-spec::device:[directory]file-name.type;version

    *.prompt-name

       Is the prompting value expression that prompts you for the
       file specification to which you want to write the output of the
       statement.
Close Help