X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=z39.50%2Foclcui.asn;fp=z39.50%2Foclcui.asn;h=d60852d31391e5a8c9131d11e9579ac8fb8cc391;hp=0000000000000000000000000000000000000000;hb=d3f87757eae53fd87d2e3e48a392a9e06872f71b;hpb=aeb5cc9755e2e4d6a788f0bf162017215772cbf8 diff --git a/z39.50/oclcui.asn b/z39.50/oclcui.asn new file mode 100644 index 0000000..d60852d --- /dev/null +++ b/z39.50/oclcui.asn @@ -0,0 +1,31 @@ +UserInfoFormat-oclcUserInformation +{Z39-50-userInfoFormat OCLCUserInformation (7)} DEFINITIONS ::= +BEGIN + +-- $Id: oclcui.asn,v 1.1 2003-07-18 19:53:28 mike Exp $ +-- +-- This format is returned from the server at +-- fsz3950test.oclc.org:210 +-- I found the definition at +-- http://www.oclc.org/firstsearch/documentation/z3950/config_guide.htm +-- +-- I have added OPTIONAL modifiers to the `dblist', `diagnosticSetId' +-- and `code' elements because they appear to be admitted from the +-- APDU returned as an Init diagnostic from fsz3950test.oclc.org:210 +-- but this still doesn't work yet: I get "Decoding incoming APDU: +-- Length of constructed type different from sum of members (code +-- 10:36)" + +OCLC-UserInformation ::= SEQUENCE { + motd [1] IMPLICIT VisibleString, + dblist SEQUENCE OF DBName OPTIONAL, + failReason [3] IMPLICIT SEQUENCE { + diagnosticSetId OBJECT IDENTIFIER OPTIONAL, + code [1] IMPLICIT INTEGER OPTIONAL, + text [2] IMPLICIT VisibleString OPTIONAL } OPTIONAL +} + +DBName ::= [2] IMPLICIT VisibleString + +END +