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. Custom job never finishes.

    Custom job never finishes.

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

    Description:
    We have a problem with the custom jobs. Take for example p_priv_01. It runs fine, and the sql generates a printout, but the batch never shows completion. The batch log (abc50_p_priv_01.00053) for job 2336 in ABC50 (ABCSUPER/ACPSUPER20, port 6515) on hickory server shows it still running although a finished print report shows up in the ABC50 print folder (test-priv01-srf).

    The log shows "end" at the bottom, but I notice in comparing to standard Aleph job batch logs, I don't see the "Wrote Z100 record with rec-key: ######" at the bottom. Would that cause the batch to hang up and never show success? Do we have to include a reference to that process in the custom batch?

    Resolution:
    Does the job continue to show up in util c/1? and in ps -ef | grep priv_01 ?

    p_priv_01 ends with these lines:

    ex_p_priv_01:
    bl_end
    rm_f_symbol
    exit

    while p_com_02 ends with these:

    ex_p_com_02:
    end_p_proc
    exit

    I suggest that, as a test, you replace the last three lines in p_priv_01 with the two shown above from p_com_02.

    [From site:] This worked.


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Custom job in job_list: "Unable to open log"
      • Custom services -- check input file
    • Was this article helpful?

    Recommended articles

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