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

    Restarting p_manage_02

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

    Description:
    If p_manage_02 fails, can it be restarted from the point where it failed or does it need to be restarted from the beginning?

    Resolution:
    p_manage_02 can be restarted by a system person..
    You must first take care to reset the $data_scratch/p_manage_02_a.cycles file to "running shape", meaning change all the column values which are not plus to minus, that is: change any "!" to "-"; change any "*" to "-"; and change any "?" to "-"..
    If some but not all of the Z01s or Z02s were loaded for the current cycle, then you will need to delete what was loaded for this current cycle -- to avoid duplicates. Note: the loading of the Z01 occurs in column 2 (p_manage_02_c) and the loading of the Z02 occurs in column 4 (p_manage_02_d1)..
    Note: columns 2, 3, and 4 are single-threaded, that is, only one cycle is processed at a time..
    Then you must run manually and separately all jobs run by p_manage_02:.
    csh -f p_manage_02_a your_param p_manage_02 1 > ....
    csh -f p_manage_02_a your_param p_manage_02 2 > ....
    csh -f p_manage_02_a your_param p_manage_02 3 > ....
    csh -f p_manage_02_a your_param p_manage_02 4 > ....
    csh -f p_manage_02_c your_param p_manage_02 > ....
    csh -f p_manage_02_d your_param p_manage_02 > ....
    csh -f p_manage_02_d1 your_param p_manage_02 > ....
    The number of p_manage_02_a's you have depends on how many processes you specified in your submission. If you specified 6 processes, then you are will have, in addition to the above,.
    csh -f p_manage_02_a your_param p_manage_02 5 > ....
    csh -f p_manage_02_a your_param p_manage_02 6 > ....
    To get the correct values for "your_param" go to the p_manage_02 log of the failed run. For instance, if you have.
    ABC01,0,000000000,999999999,,4,Y,N,.
    then you would substitute this value for your_param. Example:.
    csh -f p_manage_02_a ABC01,0,000000000,999999999,,4,Y,N p_manage_02 1 > ....
    These are started all at once -- you do *not* wait for any to finish before starting the others.....
    And, finally, when all these processes are done, manually rebuild the Oracle indexes that are built at the end of p_manage_02 (z01 and z02). util a/17/2 is used for this purpose.


    • Article last edited: 10/8/2013
    • Was this article helpful?