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. How can I tell if a job locks the library?

    How can I tell if a job locks the library?

    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:
    How can I tell if a job locks the library?

    We see (in $aleph_proc) that many procedures have a line "wait_unlock_library". Does this mean that they lock the library?

    Resolution:
    In most cases, if a job locks the library, it will say so on the GUI submission screen, such as: "This procedure locks the ALEPH system ...".

    A job which locks the library has lines like the following in its $aleph_proc procedure:

    lock_library b
    if ($lock_lib_exc_st == not_locked) then
    abort_exit
    endif

    The wait_unlock_library is a check to prevent the proc from being executed if the library is locked. It does *not* mean that the proc locks the library.

    Additional Information

    The following grep in $aleph_proc shows jobs which lock the library:

     

    > grep 'lock_library b' p*
    p_abac_euc:        lock_library b
    p_acq_04:        lock_library b
    p_arc_01:          lock_library b
    p_auth_14:      lock_library b
    p_fill_z01x:        lock_library b
    p_ill_14:        lock_library b
    p_ill_77:#        lock_library b
    p_manage_01:        lock_library b
    p_manage_02:        lock_library b
    p_manage_05:        lock_library b
    p_manage_07:        lock_library b
    p_manage_08:    lock_library b
    p_manage_102:        lock_library b
    p_manage_105:        lock_library b
    p_manage_14:        lock_library b
    p_manage_16:        lock_library b
    p_manage_17:        lock_library b
    p_manage_18:            lock_library b
    p_manage_180:        lock_library b
    p_manage_19:        lock_library b
    p_manage_27:        lock_library b
    p_manage_32:        lock_library b
    p_manage_35:        lock_library b
    p_manage_42:            lock_library b
    p_manage_42s:           lock_library b
    p_manage_91:       lock_library b
    p_sap_bsf:            lock_library b
    p_union_05:        lock_library b
    p_union_16:        lock_library b
    p_union_19:        lock_library b


    • Article last edited: 17-Jun-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How can I tall what version of linux we are running?
      • How can I tell if Oracle archive logging is turned on? location of logs
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. contype:kba
      2. lock
      3. lock_library
      4. Prod:Aleph
      5. 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