4f5e7da4bb4e846b33133e7a5bd7ab4699ecd7ff
[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.2 2003-07-18 22:36:39 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' and and `code'
13 -- elements because they appear to be admitted from the APDU returned
14 -- as an Init diagnostic from fsz3950test.oclc.org:210.  Adam further
15 -- removed the SEQUENCE structure, changed failReason to a BOOLEAN and
16 -- deleted diagnosticSetId altogether, to make the ASN.1 conform to
17 -- what's actually returned on the wire.
18
19 OCLC-UserInformation ::= SEQUENCE {
20     motd        [1] IMPLICIT VisibleString,
21     dblist      SEQUENCE OF DBName OPTIONAL,
22     failReason  [3] IMPLICIT BOOLEAN OPTIONAL,
23     code        [1] IMPLICIT INTEGER OPTIONAL,
24     text        [2] IMPLICIT VisibleString OPTIONAL
25 }
26
27 DBName ::= [2] IMPLICIT VisibleString
28
29 END
30