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

    problem with print-03 and UTF to MARC-8 conversion

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


    I used a ret-01 file as input for a print-03 service. I would like to convert these records to MARC-8 for a European vendor. I submitted the service, but got an empty result.


    Input: nazi2
    Output (empty) in CJH01/scratch: nazi2ftp.mrc

    Execution error : file '/exlibris/aleph/a50_5/aleph/exe/line_utf2line_marc8.gnt'
    error code: 114, pc=0, call=57, seg=0
    114 Attempt to access item beyond bounds of memory (Signal 11)


    This problem is the format of the input file - nazi2. Each line of the file contains a control character (specifically, a carriage return.) Since since each line is of fixed length - meant to be 14 characters long, I just cut off that 15th character using the cut command:

    cut -b1-14 < nazi2 > nazi2_fixed

    This is saying to cut from byte (position) 1 to byte 14, using nazi2 as the input and nazi2_fixed as the output.

    This new file will work.

    • Article last edited: 10/8/2013