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. p_cash_10 log has error messages: empty export file - ns

    p_cash_10 log has error messages: empty export file - ns

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

    Description:
    I am trying to test cash-10 to see if/how we can use it with our campuses. I have created last-cash-transfer and last-cash recall using util g/2 in the xxx50 library:
    10. last-cash-recall 1 N U
    12. last-cash-transfer 1 N U

    When I run cash-10, a report file is correctly created in the xxx50/print directory. An export file is created in the xxx50/scratch directory, but it has no content:
    <?xml version="1.0"?>
    <p-cash-10>
    </p-cash-10>

    These 2 error messages are in the log file. They each appear multiple times - possibly one for every entry that should be in the export file:

    sort: warning: missing NEWLINE added at end of input file /aleph/prod/abc/abc50/scratch/cash_10_1
    Error (b_cash_10_c) : failed to read z308-rec-key

    Resolution:
    The problem seems to be with the "gsort" command on the customer's AIX machine:

    1. The script p_cash_10 uses the command "$aleph_sort"

    2. The command "$aleph_sort" is interpreted on AIX machines as follows:

    il-aix01-a18(2) >>echo $aleph_sort
    gsort -y -T /exlibris/aleph/a18_2/tmp

    3. However, if there is a problem with "gsort", then $aleph_sort is interpreted as follows (this is the problem on the customer's server):

    >>echo $aleph_sort
    sort -A -y -T /aleph/prod/osw/tmp

    4. the gsort on our AIX server il-aix01 is of a newer version:

    -rwxrwxr-x 1 aleph exlibris 44198 Nov 13 2004 gsort*


    We've put the new version of gsort on your server, directory /app/exlibris/aleph/a18_1/product/bin:

    We've backed up the original gsort:

    -rwxr-xr-x 1 aleph aleph 313167 Dec 22 2003 gsort.20100228*

    Here is the new gsort I brought from our server il-aix01 :

    -rwxr-xr-x 1 aleph aleph 44198 Feb 28 03:31 gsort*

    We've tested gsort. It seems to be working well.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • p_cash_10 doesn't work correctly with Credits for lost loans
      • p_cash_10 with UPDATE=Y doesn't process all z31's for date range
    • Was this article helpful?

    Recommended articles

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