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