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

    Adding SAF (Subject Authority File) to z39.50

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

    Desired Outcome Goal:
    Add new authority data base of library of congress via z39.50 by the name SAF

    Procedure:
    1. vi $alephe_tab/tab_base.lng
    Add the line:

    SAF SAF EXT01 USM01 EXT01

    2. vi $alephe_tab/z39_gate/z39_gate_SAF.conf
    Add the the next lines:
    ###########################################################
    # SAF Authority
    ###########################################################
    target SAF
    database SAF
    hostname lx2.loc.gov:210
    recordtype USMARC
    find WRD u=1002 t=l,r,b
    find WAU u=1002 t=l,r,b
    find WTI u=4 t=l,r,b
    find WSU u=21 t=l,r,b
    find WYR u=31
    find LCC u=9 t=l,r,b s=pw c=1
    find ISBN u=7
    find ISSN u=8
    find 028 u=51 t=l,r,b s=p c=1
    # find TERM u=1016 t=l,r,b s=pw

    sort 01 u=31
    sort 02 u=1003
    sort 03 u=4

    3. vi $alephe_tab/z39_gate/z39_gate.conf

    Add the next line:
    include z39_gate_SAF.conf

    4. vi ./aleph/xxx_x/alephe/gate/saf.conf
    Add the next lines:
    ###########################################################
    ## SAF
    ###########################################################

    ###########################################################
    #General Settings
    ###########################################################
    Z58-BASE-NAME SAF
    Z58-ACCESS-METHOD Z39
    Z58-BASE-REMOTE SAF

    ###########################################################
    #Find Request Settings
    ###########################################################
    Z58-OUT-FIND-CHAR-CONV

    ###########################################################
    #Present Response Settings
    ###########################################################
    Z58-IN-RECORD-TYPE USMARC
    Z58-IN-RECORD-CREATE vir_z00_z39_usmarc
    Z58-IN-RECORD-CHAR-CONV UTF-8
    Z58-IN-RECORD-FIX

    ##########################################################
    #Scan Request Settings
    ##########################################################
    Z58-IN-SCAN-CHAR-CONV
    Z58-OUT-SCAN-CHAR-CONV

    ##########################################################
    #Sort Request Settings
    ##########################################################
    Z58-SORT N

    #########################################################
    #Holdings Info Settings
    #########################################################
    Z58-HOLDING-METHOD OPAC


    #########################################################
    #Find transformations
    #########################################################


    #########################################################
    #Scan transformations
    #########################################################

    5. Add the file .\al500\alephcom\tab\SearBase.dat

    The following line to the file searbase.dat
    SAF SAF EXT01 0

    Category: Cataloging (500)

    Subject: Authorities (500)


    • Article last edited: 10/8/2013