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

    NCIP using USM50 library rather than local ADM library

     

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

     

    Description

    The BorrowDirect NCIPMessage transactions in the www_server log have lines like this:

      Load: /exlibris/aleph/a21_1/usm50/tab/tab100
      Load: /exlibris/aleph/a21_1/usm50/tab/tab_ncip.conf

    indicating that the program is looking at the usm50 tables rather than the local xxx50 ADM tables

    Resolution

    This indicates that there is no 

      setenv www_ncip_library_...

    line for the relevant ncip ip address in $alephe_root/www_server.conf.

    (See details below.)

    One site with this problem wrote:  "We've resolved this issue. I took out all the old IP addresses in www_server.conf and in tab_attr_sub_library and that seems to have worked."
      

    Additional Information

    The ./www_com/www_ncip program has this code:

            01  DEFAULT-LIBRARY             PICTURE X(5) VALUE "USM50".
            ...
                ...

                STRING
                    "www_ncip_library_"
                    CLIENT-IP-ADDRESS
                DELIMITED BY SIZE INTO
                    ENV-NAME
                END-STRING.

                MOVE 100 TO L.
                CALL "len_count" USING
                    ENV-NAME
                    L
                END-CALL.

                MOVE SPACES TO CURRENT-LIBRARY.
                MOVE L TO N2-N.
                CALL "get_env" USING
                    ENV-NAME
                    N2-X
                    CURRENT-LIBRARY
                END-CALL.

                IF  CURRENT-LIBRARY = SPACES
                THEN
                ...
                ...

                IF  ERROR-CODE = ZERO
                THEN
                    MOVE CURRENT-LIBRARY TO ACTIVE-LIBRARY
                ELSE
                    MOVE DEFAULT-LIBRARY TO ACTIVE-LIBRARY
                END-IF.


    • Article last edited: 22-Jun-2016