GRS-1 records in Z39.50
- Product: Aleph
- Product Version: 20, 21, 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
Description:
Problem: How do I stop the z39_server from returning certain fields in GRS-1 format?
Can we use element sets?
Would it be possible to have functionality to configure which fields the z39_server returns in GRS-1 format?
Resolution:
Please use the following setting:
1) In z39_server_... .conf file, add the fix routine:
for example:
out-record-fix Z39
2) In xxx01/tab/tab_fix:
Z39 fix_doc_do_file_08 delete_fields
3) In xxx01/tab/import/delete_fields
define the fields to be removed, for example:
1 049## DELETE-FIELD
1 504## DELETE-FIELD
1 505## DELETE-FIELD
1 666## DELETE-FIELD
1 852## DELETE-FIELD
1 950## DELETE-FIELD
1 999## DELETE-FIELD
Restart the z39_server and the pc_server
********************************
Correction to the documentation:
"z39_server – 18"
2.3.3. Element Sets
z39_server supports two special element sets, “F” and “X”.
When the F element set is requested:
if the F element set is defined in ./alephe/tab/z39_server/z39_server_elements, the record is returned according to the lines defined in the table.
if the F element set is not defined in the z39_server_elements table, a full record is returned.
When the X element set is requested, a full record including Aleph alphanumeric fields (such as CAT, SYS, and so on) is returned. The X element set is recognized for USMARC format only. For all other formats, it is ignored.
You can define additional element sets using the z39_server_elements configuration file.
MARC records returned by z39_server always contain the 005 tag even if tag 005 is not defined in the element set configuration (in ./alephe/tab/z39_server/
z39_server_elements).
That is F is default set in the following sense: F is always recognized, also if it’s not defined by z39_server_elements.
- Article last edited: 17-Jun-2016