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

    How to make ret-item-02 treat statuses besides MI and MS as Missing

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    The ret-item-02 (Missing Items Report) Service treats the item processing statuses MI and MS as Missing.  We have created additional Missing statuses.  Is there some way to get ret-item-02 to treat these other statuses as Missing?

    Resolution

    Yes.  The ./pc_b_eng/ret-item-02.xml file contains the following lines

       <control>
               <hidden>
                      <argname>F07</argname>
                      <value></value>
              </hidden>
       </control>
    ...
    ...

    P-PROC-STATUS-FILTER                X(1000).      F07

    Thus, P-PROC-STATUS-FILTER is a hidden parameter which is passed to ret-item-02 with a value of spaces.  The b_ret_item_02_correct_param program has these lines:  

                IF  P-PROC-STATUS-FILTER = SPACES
                THEN
                     MOVE "MI MS" TO P-PROC-STATUS-FILTER
                END-IF.

    Which insert MI and MS as the values.

    You can change ret-item-02.xml so that it passes a non-blank value to ret-item-02.  To add "XX" as an additional Missing code, you would specify this: 

                      <value>MI MS XX</value>

    (And restart the pc_server before submitting the ret-item-02 Service.)

    Additional Information

    Note 1:  rather than changing the Ex-Libris-delivered a-tree $aleph_root/pc_b_lng/ret-item-02.xml, you should make a copy of it in your u-tree as $alephe_root/pc_b_lng/ret-item-02.xml and change that -- so that the changed ret-item-02.xml is not overwritten by future service-packs/releases.

    Note 2:  You *could* make the Process Status Filter display on the the submission screen by changing it from a hidden parameter to a displayed parameter (-- by creating "<label>" and "<display>" lines - as is done for the other parameters).  But the above is *much* simpler and works well.

      
     

     


    • Article last edited: 1-Nov-2017
    • Was this article helpful?