Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Creating commands for submitting jobs from command line or including in job_list

    • Article Type: General
    • Product: Aleph
    • Product Version: 16.02

    Description:
    Do you have commands for executing each ALEPH job from the command line or the job_list? If not, how can we create one? (The specific job we are interested in is p_file_96.)

    Resolution:
    The only jobs which we supply command-line commands for are the indexing jobs. (See Appendix A of "How To Run Index Jobs".)

    To submit other jobs, such as p_file_96, from the command line, you need to first submit the job one time from the GUI Services (in order to get the proper parameters):

    bring up the GUI Acq client, connected to sbs50

    click on Services

    select Generic Vendor Records Loader (file-96)

    select the values you want ("Help" has complete information about each parameter)

    submit the job

    view the job log ($alephe_scratch/sbs50_p_file_96.nnnn )

    The "start" line will have the parameters which have been constructed: SBS50,your_input_file,tab_96_def,... etc.

    Take that line and construct a csh command like this:

    csh -f $aleph_proc/p_file_96 SBS50,your_input_file,tab_96_def,... etc. > & logfile.name &

    To see the job's parameters, you can either look at the ./pc_b_eng/p-xxxx-nnn.xml file (such as ./pc_b_eng/p-manage-96.xml) or you can use the following csh command:

    csh -f $aleph_proc/<p_job_name>

    For example:

    csh -f $aleph_proc/p_ill_69
    Usage: csh -f p_ill_69 p_active_library,p_ill_unit,p_user_name

    Additional Information

    faq


    • Article last edited: 10/8/2013