Database update implementation for OCLC Z39.50 Cataloging: Extended Service Definition
Purpose
OCLC supports setting and deleting institution holding symbols via the Z39.50-1995 DatabaseUpdate Extended Service Definition. The following is the general definition of how OCLC has implemented these Z39.50-1995 capabilities in its target server. Refer to The Z39.50 Document for more information about the Extended Services DatabaseUpdate Service.
Service definitions
The OCLC Z39.50 server does not maintain a task package database. All databaseUpdate tasks are assumed waited. The OCLC Z39.50 server DatabaseUpdate Extended Service supports only the creation of a task package that will be returned in the response.
Extended service common parameters implementation
| Common task package parameter | Origin supplied | Target response | Task package parameter |
|---|---|---|---|
| Function | x (Create only) | ||
| packageType | x (DatabaseUpdate) | ||
| taskStatus | x | ||
| packageDiagnostic | x (opt) | ||
| Task-Specific-parameters | x | ||
| Task-package | x | ||
| operation status | x |
Task-specific-parameters for DatabaseUpdate
| Common task package parameter | Origin supplied | Target supplied | Task package parameter |
|---|---|---|---|
| action | x | x | |
| databaseName | x | x | |
| suppliedRecords | x | ||
| taskStatus | x | x |
Updating holdings
databaseName = "oclc_oluc_holdings"
action = elementUpdate
suppliedRecords ::= SEQUENCE OF SEQUENCE {record [4] IMPLICIT EXTERNAL}
-- note only one record will be accepted per request.
oid=1.2.840.10003.5.1000.17.1
holdingSymbolRecord ::= SEQUENCE {
olucRecordNumber [5] IMPLICIT InternationalString,
Delete holdings
databaseName = "oclc_oluc_holdings"
action = elementUpdate
suppliedRecords ::= SEQUENCE OF SEQUENCE {record [4] IMPLICIT EXTERNAL}
-- note only one record will be accepted per request.
oid=1.2.840.10003.5.1000.17.1002
holdingSymbolRecord ::= SEQUENCE {
olucRecordNumber [5] IMPLICIT InternationalString,
Record numbers
8-digit
If the number is 8 or fewer digits, the form should be “ocm” + OCLC accession number. The number may or may not contain leading zeroes and a single trailing space.
Example: These two variations both result in the same record being updated:
- ocm1
- ocm00000001
9-digit
If the number is 9 digits, the form should be “ocn” + OCLC accession number. The number will not contain a trailing space.
Example: ocn100000000
10-digit
If the number is 10 or more digits, the form should be “on” + OCLC accession number. The number will not contain a trailing space.
Example: on1234567891
The institution symbol associated with the authorization supplied in the Init Service will be used to update/delete the holdings database.
