X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=z39.50%2Fz3950v3.asn;h=d84196111dbc9cb062f98e1ea297031bf0aea130;hb=c12f2351ad72e5e4788f30684de0d98e5bc0dc1e;hp=1cbe780a3147ba47e39152ad7c3668144e0c4a7e;hpb=6b3cf0738c53080781fedd852e26b299224af3c3;p=yaz-moved-to-github.git diff --git a/z39.50/z3950v3.asn b/z39.50/z3950v3.asn index 1cbe780..d841961 100644 --- a/z39.50/z3950v3.asn +++ b/z39.50/z3950v3.asn @@ -4,7 +4,7 @@ BEGIN -- Z39.50 Maintenance Agency Official Text for ANSI/NISO Z39.50-1995 - J -- EXPORTS OtherInformation, Term, AttributeSetId, AttributeList, AttributeElement, ElementSetName, SortElement, DatabaseName, CompSpec, Specification, Permissions, InternationalString, IntUnit, Unit, StringOrNumeric, Query, Records, ResultSetId, -DefaultDiagFormat, DiagRec; +DefaultDiagFormat, DiagRec, Segment; -- PDU ::= CHOICE{ @@ -1016,6 +1016,7 @@ RecordSyntax-explain BEGIN IMPORTS AttributeSetId, Term, OtherInformation, DatabaseName, ElementSetName, IntUnit, Unit, StringOrNumeric, Specification, InternationalString, AttributeList, AttributeElement FROM Z39-50-APDU-1995; +EXPORTS LanguageCode; Explain-Record ::= CHOICE{ -- Each of these may be used as search term when Use attribute is 'explain-category'. @@ -2400,11 +2401,12 @@ OriginPartToKeep ::= SEQUENCE{ recordInsert (1), recordReplace (2), recordDelete (3), - elementUpdate (4)}, + elementUpdate (4), + specialUpdate (5)}, databaseName [2] IMPLICIT InternationalString, schema [3] IMPLICIT OBJECT IDENTIFIER OPTIONAL, - elementSetName [4] IMPLICIT InternationalString OPTIONAL} - + elementSetName [4] IMPLICIT InternationalString OPTIONAL, + actionQualifier [5] IMPLICIT EXTERNAL OPTIONAL} OriginPartNotToKeep ::= SuppliedRecords @@ -2444,23 +2446,23 @@ CorrelationInfo ::= SEQUENCE{ id [2] IMPLICIT INTEGER OPTIONAL} TaskPackageRecordStructure ::= SEQUENCE{ - recordOrSurDiag [1] CHOICE { - record [1] IMPLICIT EXTERNAL, - -- Choose 'record' if recordStatus is 'success', and - -- elementSetName was supplied. - diagnostic [2] DiagRec - -- Choose 'diagnostic', if RecordStatus is failure. - } OPTIONAL, - -- The parameter recordOrSurDiag will thus be omitted only if - -- 'elementSetName' was omitted and recordStatus is - -- 'success'; or if record status is 'queued' or in 'process'. - correlationInfo [2] IMPLICIT CorrelationInfo OPTIONAL, + recordOrSurDiag [1] CHOICE { + record [1] IMPLICIT EXTERNAL, + -- ........ + surrogateDiagnostics [2] IMPLICIT + SEQUENCE OF DiagRec + -- Choose 'SurrogateDiagnostics', if + -- RecordStatus is failure. + } OPTIONAL, + correlationInfo [2] IMPLICIT CorrelationInfo OPTIONAL, -- This should be included if it was supplied by the origin. - recordStatus [3] IMPLICIT INTEGER{ + recordStatus [3] IMPLICIT INTEGER{ success (1), queued (2), inProcess (3), - failure (4)}} + failure (4)}, + supplementalDiagnostics [4] IMPLICIT + SEQUENCE OF DiagRec OPTIONAL} END