Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. X-Services sort-set error: "Sort instructions must be given"

    X-Services sort-set error: "Sort instructions must be given"

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 16.02

    Description:
    I'm having trouble getting the sort-set operation to work.

    I tried this:
    http://mysvr.univ.edu:8991/X?op=sort-set&library=abc01&set_number=002304&sort_code_1=01&sort_order_1=A

    got this:
    Sort instructions must be given

    I looked in tab_sort, found this:
    01 99 008 260## c 08 04

    ! Sort by Author
    02 99 100## a 110## a 111## a 130## a 700## a 00 00

    ! Sort by Title
    03 99 245## a 2 240## a 00 00

    ! Sort by Sublib-CollCode-Call#
    04 99 LOC## bchi 00 00

    ! Sort by Call #
    05 99 PSTS# h 00 00


    I tried sort_code_1 = 01 up to 05, but it didn't work

    What are the values that should go in the sort instructions?

    Resolution:
    According to the X-Services documentation, "If one of the four parameters indicating what kind of re-sort is needed is empty, the following error message appears in the XML output: <error>Sort instructions must be given</error>". The four parameters referred to are:

    SORT_CODE_1
    SORT_ORDER_1
    SORT_CODE_2
    SORT_ORDER_2

    In other words, it appears that you must specify both a primary and a secondary sort in the sort-set service for it to work.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • X-Services : Is it possible to create a list of patrons incl. their addresses
      • X-services: "No license for service BOR-INFO"
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 16.02
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved