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. Upgrade Express: "There was a line which matched z304-address-1 ... global.trn"

    Upgrade Express: "There was a line which matched z304-address-1 ... global.trn"

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

    Description:
    We're upgrading from version 20 to version 21. In checking the Upgrade Express logs for errors, Step 19 has the following:
    A_INFO: There was a line which matched ^z304-address-1 AP-ZIP-USA in /exlibris/aleph/u21_1/abc01/form_eng/global.trn.

    We see the following in the /exlibris/aleph/upgrade_express_2001_2101/source/19/implement.txt:

    Step 19 - Description:

    Changed the following XSL and TRN files in ADM libraries:

    1) <snip>

    2) ./[adm_libs]/form_{lng}/global.trn

    And the /exlibris/aleph/upgrade_express_2001_2101/source/19/implement file has:

    upgrade_translate_file adm global.trn

    But it doesn't say what it is changing in the global.trn file.

    Resolution:
    This is the v20 usm01/form_eng/global.trn:

    z302-address-0 AP-ZIP-USA S z302-zip z302-address-1
    z302-address-1 AP-ZIP-USA S z302-zip z302-address-2
    z302-address-2 AP-ZIP-USA S z302-zip z302-address-3
    z302-address-3 AP-ZIP-USA S z302-zip z302-address-4
    z302-address-4 AP-ZIP-USA S z302-zip

    z304-address-0 AP-ZIP-USA S z304-zip z304-address-1
    z304-address-1 AP-ZIP-USA S z304-zip z304-address-2
    z304-address-2 AP-ZIP-USA S z304-zip z304-address-3
    z304-address-3 AP-ZIP-USA S z304-zip z304-address-4
    z304-address-4 AP-ZIP-USA S z304-zip

    and this, the v21 usm01/form_eng/global.trn:

    z302-address-0 AP-ZIP-USA S z302-zip z302-address-1 z302-address-2 z302-address-3 z302-address-4
    z302-address-1 AP-ZIP-USA S z302-zip z302-address-2 z302-address-3 z302-address-4
    z302-address-2 AP-ZIP-USA S z302-zip z302-address-3 z302-address-4
    z302-address-3 AP-ZIP-USA S z302-zip z302-address-4
    z302-address-4 AP-ZIP-USA S z302-zip

    z304-address-0 AP-ZIP-USA S z304-zip z304-address-1 z304-address-2 z304-address-3 z304-address-4
    z304-address-1 AP-ZIP-USA S z304-zip z304-address-2 z304-address-3 z304-address-4
    z304-address-2 AP-ZIP-USA S z304-zip z304-address-3 z304-address-4
    z304-address-3 AP-ZIP-USA S z304-zip z304-address-4
    z304-address-4 AP-ZIP-USA S z304-zip

    This goes back to v20 rep_change 85:

    Problem: "The zip code is appended more than once to the address on the printouts when there are empty lines in the middle of the patron's address."

    Solution: "This has been corrected. Now, the address is appended to the last (not empty) line of the address."

    Implementation Notes:

    The following configuration is needed for ./[bib library]/form_lng/global.trn:

    z302-address-0 AP-ZIP-USA S z302-zip z302-address-1 z302-address-2 z302-address-3 z302-address-4
    z302-address-1 AP-ZIP-USA S z302-zip z302-address-2 z302-address-3 z302-address-4
    z302-address-2 AP-ZIP-USA S z302-zip z302-address-3 z302-address-4
    z302-address-3 AP-ZIP-USA S z302-zip z302-address-4
    z302-address-4 AP-ZIP-USA S z302-zip
    z302-zip TO-BLANK S
    z304-address-0 AP-ZIP-USA S z304-zip z304-address-1 z304-address-2 z304-address-3 z304-address-4
    z304-address-1 AP-ZIP-USA S z304-zip z304-address-2 z304-address-3 z304-address-4
    z304-address-2 AP-ZIP-USA S z304-zip z304-address-3 z304-address-4
    z304-address-3 AP-ZIP-USA S z304-zip z304-address-4
    z304-address-4 AP-ZIP-USA S z304-zip
    z304-zip TO-BLANK S

    <end v20 rep_change 85>

    if you aren't seeing the problem of duplicated zipcodes, you could leave your global.trn address lines as they are, but it's probably better to change them to the v21 form shown above.

    Note: v20 rep_change 85 can be found as KB 27022.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Upgrade Express: "No libraries are currently defined"
      • Upgrade Express: "There's no such library xxxnn"
    • Was this article helpful?

    Recommended articles

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