📄 z3950v3.asn
字号:
referenceId ReferenceId OPTIONAL, sortStatus [3] IMPLICIT INTEGER{ success (0), partial-1 (1), failure (2)}, resultSetStatus [4] IMPLICIT INTEGER{ empty (1), interim (2), unchanged (3), none (4)} OPTIONAL, diagnostics [5] IMPLICIT SEQUENCE OF DiagRec OPTIONAL, resultCount [6] IMPLICIT INTEGER OPTIONAL, otherInfo OtherInformation OPTIONAL}-- begin auxiliary definitions for Sort SortKeySpec ::= SEQUENCE{ sortElement SortElement, sortRelation [1] IMPLICIT INTEGER{ ascending (0), descending (1), ascendingByFrequency (3), descendingByfrequency (4)}, caseSensitivity [2] IMPLICIT INTEGER{ caseSensitive (0), caseInsensitive (1)}, missingValueAction [3] CHOICE{ abort [1] IMPLICIT NULL, null [2] IMPLICIT NULL, --supply a null value for missing value missingValueData [3] IMPLICIT OCTET STRING} OPTIONAL} SortElement ::= CHOICE{ generic [1] SortKey, datbaseSpecific [2] IMPLICIT SEQUENCE OF SEQUENCE{ databaseName DatabaseName, dbSort SortKey}} SortKey ::= CHOICE{ sortfield [0] IMPLICIT InternationalString, -- An element, element-group-tag, or alias supported by the target -- and denoting a set of elements associated with each record. elementSpec [1] IMPLICIT Specification, sortAttributes [2] IMPLICIT SEQUENCE{ id AttributeSetId, list AttributeList}}-- end auxiliary definitions for sort-- Extended Service APDUs ExtendedServicesRequest ::= SEQUENCE{ referenceId ReferenceId OPTIONAL, function [3] IMPLICIT INTEGER { create (1), delete (2), modify (3)}, packageType [4] IMPLICIT OBJECT IDENTIFIER, packageName [5] IMPLICIT InternationalString OPTIONAL, -- PackageName mandatory for 'modify' or 'delete'; optional for -- 'create'. Following four parameters mandatory for 'create'; should -- be included on 'modify' if being modified; not needed on 'delete'. userId [6] IMPLICIT InternationalString OPTIONAL, retentionTime [7] IMPLICIT IntUnit OPTIONAL, permissions [8] IMPLICIT Permissions OPTIONAL, description [9] IMPLICIT InternationalString OPTIONAL,-- (ExtendedServiceRequest APDU continued) taskSpecificParameters [10] IMPLICIT EXTERNAL OPTIONAL, -- Mandatory for 'create'; included on 'modify' if specific -- parameters being modified; not necessary on 'delete'. For the -- 'EXTERNAL,' use OID of specific ES definition and select -- CHOICE [1]: 'esRequest'. waitAction [11] IMPLICIT INTEGER{ wait (1), waitIfPossible (2), dontWait (3), dontReturnPackage (4)}, elements ElementSetName OPTIONAL, otherInfo OtherInformation OPTIONAL}--ExtendedServicesResponse ::= SEQUENCE{ referenceId ReferenceId OPTIONAL, operationStatus [3] IMPLICIT INTEGER{ done (1), accepted (2), failure (3)}, diagnostics [4] IMPLICIT SEQUENCE OF DiagRec OPTIONAL, taskPackage [5] IMPLICIT EXTERNAL OPTIONAL, -- Use OID: {Z39-50-recordSyntax (106)} and corresponding -- syntax. For the EXTERNAL, 'taskSpecific,' within that -- definition, use OID of the specific es, and choose [2], -- 'taskPackage'. otherInfo OtherInformation OPTIONAL} Permissions ::= SEQUENCE OF SEQUENCE{ userId [1] IMPLICIT InternationalString, allowableFunctions [2] IMPLICIT SEQUENCE OF INTEGER{ delete (1), modifyContents (2), modifyPermissions (3), present (4), invoke (5)}} Close ::= SEQUENCE{ referenceId ReferenceId OPTIONAL, -- See 3.2.11.1.5. closeReason CloseReason, diagnosticInformation [3] IMPLICIT InternationalString OPTIONAL, resourceReportFormat [4] IMPLICIT ResourceReportId OPTIONAL, -- For use by origin only, and only on Close request; -- origin requests target to include report in response. resourceReport [5] ResourceReport OPTIONAL, -- For use by target only, unilaterally on Close request; -- on Close response may be unilateral or in response -- to origin request. otherInfo OtherInformation OPTIONAL} CloseReason ::= [211] IMPLICIT INTEGER{ finished (0), shutdown (1), systemProblem (2), costLimit (3), resources (4), securityViolation (5), protocolError (6), lackOfActivity (7), peerAbort (8), unspecified (9)}--Duplicate detection APDUsDuplicateDetectionRequest ::= SEQUENCE { referenceId ReferenceId OPTIONAL, inputResultSetIds [3] IMPLICIT SEQUENCE OF InternationalString, outputResultSetName [4] IMPLICIT InternationalString, applicablePortionOfRecord [5] IMPLICIT EXTERNAL OPTIONAL, duplicateDetectionCriteria [6] IMPLICIT SEQUENCE OF DuplicateDetectionCriterion OPTIONAL, clustering [7] IMPLICIT BOOLEAN OPTIONAL, -- 'true' means "clustered". -- This parameter may be omitted -- only if retentionCriteria CHOICE is -- 'numberOfEntries' and its value is 1. retentionCriteria [8] IMPLICIT SEQUENCE OF RetentionCriterion, sortCriteria [9] IMPLICIT SEQUENCE OF SortCriterion OPTIONAL, otherInfo OtherInformation OPTIONAL}DuplicateDetectionCriterion ::= CHOICE{ levelOfMatch [1] IMPLICIT INTEGER, -- a percentage; 1-100. caseSensitive [2] IMPLICIT NULL, punctuationSensitive [3] IMPLICIT NULL, regularExpression [4] IMPLICIT EXTERNAL, rsDuplicates [5] IMPLICIT NULL -- values 6-100 reserved for future assignment. }RetentionCriterion ::= CHOICE{ numberOfEntries [1] IMPLICIT INTEGER, -- greater than 0 percentOfEntries [2] IMPLICIT INTEGER, -- 1-100, duplicatesOnly [3] IMPLICIT NULL, -- should not be chosen -- if clustering is 'true' discardRsDuplicates [4] IMPLICIT NULL -- values 5-100 reserved for future assignment. }SortCriterion ::= CHOICE{ mostComprehensive [1] IMPLICIT NULL, leastConmprehensive [2] IMPLICIT NULL, mostRecent [3] IMPLICIT NULL, oldest [4] IMPLICIT NULL, leastCost [5] IMPLICIT NULL, preferredDatabases [6] IMPLICIT SEQUENCE OF InternationalString -- values 7-100 reserved for future assignment.}DuplicateDetectionResponse ::= SEQUENCE { referenceId ReferenceId OPTIONAL, status [3] IMPLICIT INTEGER{ success (0), failure (1)}, resultSetCount [4] IMPLICIT INTEGER OPTIONAL, diagnostics [5] IMPLICIT SEQUENCE OF DiagRec OPTIONAL, otherInfo OtherInformation OPTIONAL}-- Global auxiliary definitions ReferenceId ::= [2] IMPLICIT OCTET STRING ResultSetId ::= [31] IMPLICIT InternationalString ElementSetName ::= [103] IMPLICIT InternationalString DatabaseName ::= [105] IMPLICIT InternationalString AttributeSetId ::= OBJECT IDENTIFIER-- OtherInformation OtherInformation ::= [201] IMPLICIT SEQUENCE OF SEQUENCE{ category [1] IMPLICIT InfoCategory OPTIONAL, information CHOICE{ characterInfo [2] IMPLICIT InternationalString, binaryInfo [3] IMPLICIT OCTET STRING, externallyDefinedInfo [4] IMPLICIT EXTERNAL, oid [5] IMPLICIT OBJECT IDENTIFIER}}-- InfoCategory ::= SEQUENCE{ categoryTypeId [1] IMPLICIT OBJECT IDENTIFIER OPTIONAL, categoryValue [2] IMPLICIT INTEGER}-- Units -- IntUnit is used when value and unit are supplied together. Unit, alone, is used when just -- specifying a unit (without a value). For example, IntUnit is used in Term, in an RPNQuery, or -- it can be the datatype of an element within a retrieval record. Unit (alone) would be used in an -- element request, when requesting data be returned according to a particular unit. IntUnit ::= SEQUENCE{ value [1] IMPLICIT INTEGER, unitUsed [2] IMPLICIT Unit}-- Unit ::= SEQUENCE{ unitSystem [1] InternationalString OPTIONAL, -- e.g. 'SI' unitType [2] StringOrNumeric OPTIONAL, -- e.g. 'mass' unit [3] StringOrNumeric OPTIONAL, -- e.g. 'kilograms' scaleFactor [4] IMPLICIT INTEGER OPTIONAL -- e.g. 9 means 10**9 }--CharacterString InternationalString ::= GeneralString -- When version 2 is in force, this collapses to VisibleString. That is, only characters in the -- visibleString repertoire may be used. (Datatype compatibility with version 2 is not affected, -- because references are IMPLICIT.) When version 3 is in force, the semantics of the -- GeneralString content may be altered by negotiation during initialization. If no such -- negotiation is in effect, then GeneralString semantics are in force.StringOrNumeric ::= CHOICE{ string [1] IMPLICIT InternationalString, numeric [2] IMPLICIT INTEGER}END -- IR DEFINITIONSDiagnosticFormatDiag1 {Z39-50-diagnosticFormat diag-1 (2)} DEFINITIONS ::=BEGINIMPORTS Term, Specification, AttributeList, SortElement, DatabaseName, DefaultDiagFormat, InternationalString FROM Z39-50-APDU-1995;DiagnosticFormat ::= SEQUENCE OF SEQUENCE{ diagnostic [1] CHOICE{ defaultDiagRec [1] IMPLICIT DefaultDiagFormat, explicitDiagnostic [2] DiagFormat} OPTIONAL, message [2] IMPLICIT InternationalString OPTIONAL} DiagFormat ::= CHOICE{tooMany [1000] IMPLICIT SEQUENCE{ tooManyWhat [1] IMPLICIT INTEGER{ argumentWords (1), truncatedWords (2), booleanOperators (3), incompleteSubfields (4), characters (5), recordsRetrieved (6), dataBasesSpecified (7), resultSetsCreated (8), indexTermsProcessed (9)}, max [2] IMPLICIT INTEGER OPTIONAL},
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -