Support for the UserInformation DPU OCLC-UserInformation:
[yaz-moved-to-github.git] / z39.50 / oclcui.asn
1 UserInfoFormat-oclcUserInformation
2 {Z39-50-userInfoFormat OCLCUserInformation (7)} DEFINITIONS ::=
3 BEGIN
4
5 -- $Id: oclcui.asn,v 1.1 2003-07-18 19:53:28 mike Exp $
6 --
7 -- This format is returned from the server at
8 --      fsz3950test.oclc.org:210
9 -- I found the definition at
10 --      http://www.oclc.org/firstsearch/documentation/z3950/config_guide.htm
11 --
12 -- I have added OPTIONAL modifiers to the `dblist', `diagnosticSetId'
13 -- and `code' elements because they appear to be admitted from the
14 -- APDU returned as an Init diagnostic from fsz3950test.oclc.org:210
15 -- but this still doesn't work yet: I get "Decoding incoming APDU:
16 -- Length of constructed type different from sum of members (code
17 -- 10:36)"
18
19 OCLC-UserInformation ::= SEQUENCE {
20     motd        [1] IMPLICIT VisibleString,
21     dblist      SEQUENCE OF DBName OPTIONAL,
22     failReason  [3] IMPLICIT SEQUENCE {
23         diagnosticSetId OBJECT IDENTIFIER OPTIONAL,
24         code    [1] IMPLICIT INTEGER OPTIONAL,
25         text    [2] IMPLICIT VisibleString OPTIONAL } OPTIONAL
26 }
27
28 DBName ::= [2] IMPLICIT VisibleString
29
30 END
31