Home-made proc gets "No such file or directory"
- Article Type: General
- Product: Aleph
- Product Version: 20
Description:
We have created two procs:
one to move the abc50 $data_tab/tab_16.1 (which has an Actual due date of Monday) to tab16 and
another to move tab16.2 (which has a one day loan period) to tab16.
We then include these lines to re-initialize the z301 in each proc:
$aleph_proc/util_a_17_b table Z301
$aleph_proc/util_a_17_b index Z301
We want the first to execute on Thursday night and the second to execute Sunday night.
We have these entries in the job_list for them:
01 10:40:00 N tab16_1.log csh -f /aleph/proc/p_switch_tab16_1 ABC50
01 10:45:00 N tab16_2.log csh -f /aleph/proc/p_switch_tab16_2 ABC50
But we find they don't work and we see this in the $alephe_scratch logs:
tab16_2.log_12419080:
/aleph/proc/p_switch_tab16_2: No such file or directory
Resolution:
You need to change the job_list entries to these:
01 10:40:00 N tab16_1.log csh -f /app/exlibris/aleph/a18_1/aleph/proc/p_switch_tab16_1 ABC50
01 10:45:00 N tab16_2.log csh -f /app/exlibris/aleph/a18_1/aleph/proc/p_switch_tab16_2 ABC50
Note: in version 19-up, column 3 *must* be "N" if column 5 is "csh -f ...".
- Article last edited: 10/8/2013