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_publish_06 does not create a tar file - error in system date

    p_publish_06 does not create a tar file - error in system date

    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: 22

    Problem Symptoms:
    Service p_publish_06 runs correctly but it doesn't create a new file tar.

    Example of error:
    If the system date is not correct (e.g. 2030 instead 2015) and if publish_06 is executed with this date,
    the date in the file tab_publish_timestamp and in z00p_timestamp will not be correct.

    cat /exlibris/aleph/a20_1/aleph/tab/tab_publish_timestamp
    PRIMO-SCD 203002051449090

    select max(Z00P_TIMESTAMP) from z00P where Z00P_SET like 'PRIMO-SCD%';
    MAX(Z00P_TIMEST
    ---------------
    203002051449089

    Cause:
    error in system date

    Resolution:
    To correct this error, correct the date in the file tab_publish_timestamp and in the oracle table z00p (z00p_timestamp).

    cat /exlibris/aleph/a20_1/aleph/tab/tab_publish_timestamp
    PRIMO-SCD 201502051449090

    update z00p set z00p_timestamp = ' 201502051449089' where Z00P_SET like 'PRIMO-SCD%' and z00p_timestamp = '203002051449089';

    Additional Information

    Context:
    The last date used by p_publish_06 to add a new record or an update of BIB record in the table z00p,
    is in the file /exlibris/aleph/ann_n/aleph/tab/tab_publish_timestamp.

    The last date written in field z00p_timestamp is the same set (PRIMO-FULL).

    cat /exlibris/aleph/a20_1/aleph/tab/tab_publish_timestamp
    PRIMO-FULL 201502110148595
    PRIMO-SCD 201502110201005

    select max(Z00P_TIMESTAMP) from z00P where Z00P_SET like 'PRIMO-FULL%';
    MAX(Z00P_TIMEST
    ---------------
    201502110148594

    select max(Z00P_TIMESTAMP) from z00P where Z00P_SET like 'PRIMO-SCD%';
    MAX(Z00P_TIMEST
    ---------------
    201502110201004

    z00p_set z00p_timestamp tab_publish_stamp
    -----------------------------------------------------------------------------------
    PRIMO-FULL 201502110148594 201502110148595
    PRIMO-SCD 201502110201004 201502110201005

    Category: Publishing - ALEPH

    Subject: Publishing Services - ALEPH


    • Article last edited: 2/12/2015
    View article in the Exlibris Knowledge Center
    1. Back to top
      • p_publish_06 : can it publish to an off-site drive? Z00P?
      • p_publish_06 fails to include current text of changed collection code
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 22
      2. contype:kba
      3. Prod:Aleph
      4. Publishing - ALEPH
      5. Publishing Services - ALEPH
      6. 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