Z39.50-1995 Amendment 1:
Add resultCount parameter to Sort Response

November 1998
Amendment Number: Z39.50-1995 Amendment 1
Formerly Z39.50MA-AM0004

Originator: CA Sanders <[email protected]>

Date: 11/98

Amendment Concerning: Sort Service

Reference in Document: ASN.1(4.1; Z39-50-APDU-1995; SortResponse)

Reference in Maintenance Agency page:

Amendment: This amendment adds the optional parameter resultCount to the SortResponse, to indicate the size of the output result set (the result set whose name is as supplied by the parameter sortedResultSetName on the SortRequest). The target is never obligated to supply this parameter, there is no default value, and the origin should not draw any conclusion by its omission (for example that the result size is equal to the sum of the sizes of the input result sets).

The SortResponse is defined as follows:


  SortResponse  ::= SEQUENCE{
            referenceId  ......
            sortStatus                [3]....,
            resultSetStatus           [4] ...,
            diagnostics               [5] ...,
            otherInfo......          ........}

This amendment changes the definition to:


  SortResponse  ::= SEQUENCE{
    referenceId  ......
    sortStatus           [3]....,
    resultSetStatus      [4] ...,
    diagnostics          [5] ...,
    resultCount          [6] IMPLICIT INTEGER OPTIONAL,
                             -- Size of the output result set.  
                             -- Target is never obligated to supply this parameter,  
                             -- there is no default value, and the origin should 
                             -- not draw any conclusion by its omission.  
	otherInfo......             ........}

This amendment also assigns option bit 16. The following rules apply:

Status: Approved by ZIG, October 1998. Approved by Z39.50 Maintenance Agency, November 1998.


Library of Congress