/usr/share/yaz/z39.50/oclcui.asn is in libyaz4-dev 4.2.30-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | UserInfoFormat-oclcUserInformation
{Z39-50-userInfoFormat OCLCUserInformation (7)} DEFINITIONS ::=
BEGIN
--
-- 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' and and `code'
-- elements because they appear to be admitted from the APDU returned
-- as an Init diagnostic from fsz3950test.oclc.org:210. Adam further
-- removed the SEQUENCE structure, changed failReason to a BOOLEAN and
-- deleted diagnosticSetId altogether, to make the ASN.1 conform to
-- what's actually returned on the wire. Finally, I removed the
-- OPTIONAL on failReason on the advice of OCLC's Keith Neibarger
-- <neibarge@oclc.org> (although he'd also advised me, wrongly, that I
-- could remove the OPTIONAL on dblist).
OCLC-UserInformation ::= SEQUENCE {
motd [1] IMPLICIT VisibleString OPTIONAL,
dblist SEQUENCE OF DBName OPTIONAL,
failReason [3] IMPLICIT BOOLEAN OPTIONAL,
code [1] IMPLICIT INTEGER OPTIONAL,
text [2] IMPLICIT VisibleString OPTIONAL
}
DBName ::= [2] IMPLICIT VisibleString
END
|