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. Error: Sort routine not defined in tab_znn_sort

    Error: Sort routine not defined in tab_znn_sort

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 20, 21, 22, 23

    Description:
    You see messages such as these in the pc_server_log:
    build_z30_sort_key: Sort routine not defined in tab_z30_sort.
    build_z30_sort_key: Sort type xxxx not defined in (xxx50) tab_z30_sort.


    Or:
    build_z36_sort_key: Sort routine not defined in tab_z36_sort.
    build_z36_sort_key: Sort type DEFAULT not defined in (xxx50) tab_z36_sort.


    Or:
    build_z31_sort_key: Sort routine not defined in tab_z31_sort.
    build_z31_sort_key: Sort type CASH-4-D not defined in (xxx50) tab_z31_sort.


    Resolution:

    This message occurs when the ./com_io/build_z3n_sort_key program looks at column 1 in the ./xxx50/tab/tab_z3n_sort table and doesn't find the value it's looking for.

    * For tab_z30_sort, the value is a module, such as, ITEM or SERIAL or WWW-A.

    * For tab_z36_sort, the value is a LOAN-n choice, selected from the GUI Circ dropdown (and specified as LOAN-SORT-TYPE values in ./xxx50/tab/pc_tab_exp_field.eng). The default loan sort is registered for the Circulation module in the GuiSys file under the "LoanSortType" line..
    In addition, the ./com_io/get_buf_z36_doc program calls build_z36_sort_key with a parameter "DEFAULT". Thus, the tab_z36_sort needs to have an entry with "DEFAULT" in column 1.

    * The tab_z31_sort is the same as the tab_z36_sort except that the value is a CASH-n choice, the pc_tab_exp_field.eng label is "CASH-SORT-TYPE", and the GuiSys line is "CashSortType". Thus, the "Sort type CASH-4-D not defined" error is occurring because the CASH-4-D line has been selected by default (in the GuiSys CashSortType line) or explicitly, from the GUI Cash dropdown, and the ./xxx50/tab/tab_z31_sort has no CASH-4-D entry.

    These errors do not prevent display of the items/loans/cash. It's just that they may not be in the order the user would like.

    Additional Information

    faq


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • ERROR-messages during UTIL SP 8 (SP 20.2.6)
      • Error: ... is not allowed in $data_tab/tab100 of library
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 17.01
      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