>PDU Contents Table

PDU Contents Table

We include, for reference, a listing of the fields of each top-level PDU, as well as their default settings.

Table 6-1. Default settings for PDU Initialize Request

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
protocolVersionOdr_bitmaskEmpty bitmask
optionsOdr_bitmaskEmpty bitmask
preferredMessageSizeint30*1024
maximumRecordSizeint30*1024
idAuthenticationZ_IdAuthenticationNULL
implementationIdchar*"81"
implementationNamechar*"YAZ"
implementationVersionchar*YAZ_VERSION
userInformationFieldZ_UserInformationNULL
otherInfoZ_OtherInformationNULL

Table 6-2. Default settings for PDU Initialize Response

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
protocolVersionOdr_bitmaskEmpty bitmask
optionsOdr_bitmaskEmpty bitmask
preferredMessageSizeint30*1024
maximumRecordSizeint30*1024
resultbool_tTRUE
implementationIdchar*"id)"
implementationNamechar*"YAZ"
implementationVersionchar*YAZ_VERSION
userInformationFieldZ_UserInformationNULL
otherInfoZ_OtherInformationNULL

Table 6-3. Default settings for PDU Search Request

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
smallSetUpperBoundint0
largeSetLowerBoundint1
mediumSetPresentNumberint0
replaceIndicatorbool_tTRUE
resultSetNamechar *"default"
num_databaseNamesint0
databaseNameschar **NULL
smallSetElementSetNamesZ_ElementSetNames NULL
mediumSetElementSetNamesZ_ElementSetNames NULL
preferredRecordSyntaxOdr_oidNULL
queryZ_QueryNULL
additionalSearchInfoZ_OtherInformation NULL
otherInfoZ_OtherInformationNULL

Table 6-4. Default settings for PDU Search Response

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
resultCountint0
numberOfRecordsReturnedint0
nextResultSetPositionint0
searchStatusbool_tTRUE
resultSetStatusintNULL
presentStatusintNULL
recordsZ_RecordsNULL
additionalSearchInfoZ_OtherInformationNULL
otherInfoZ_OtherInformationNULL

Table 6-5. Default settings for PDU Present Request

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
resultSetIdchar*"default"
resultSetStartPointint1
numberOfRecordsRequestedint10
num_rangesint0
additionalRangesZ_RangeNULL
recordCompositionZ_RecordCompositionNULL
preferredRecordSyntaxOdr_oidNULL
maxSegmentCountintNULL
maxRecordSizeintNULL
maxSegmentSizeintNULL
otherInfoZ_OtherInformationNULL

Table 6-6. Default settings for PDU Present Response

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
numberOfRecordsReturnedint0
nextResultSetPositionint0
presentStatusintZ_PRES_SUCCESS
recordsZ_RecordsNULL
otherInfoZ_OtherInformationNULL

Table 6-7. Default settings for Delete Result Set Request

FieldTypeDefault Value
referenceId Z_ReferenceIdNULL
deleteFunctionintZ_DeleteRequest_list
num_idsint0
resultSetListchar**NULL
otherInfoZ_OtherInformationNULL

Table 6-8. Default settings for Delete Result Set Response

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
deleteOperationStatusintZ_DeleteStatus_success
num_statusesint0
deleteListStatusesZ_ListStatus**NULL
numberNotDeletedintNULL
num_bulkStatusesint0
bulkStatusesZ_ListStatusNUL L
deleteMessagechar*NULL
otherInfoZ_OtherInformationNULL

Table 6-9. Default settings for Scan Request

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
num_databaseNamesint0
databaseNameschar**NULL
attributeSetOdr_oidNULL
termListAndStartPointZ_AttributesPlus... NULL
stepSizeintNULL
numberOfTermsRequestedint20
preferredPositionInResponseintNULL
otherInfoZ_OtherInformationNULL

Table 6-10. Default settings for Scan Response

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
stepSizeintNULL
scanStatusintZ_Scan_success
numberOfEntriesReturnedint0
positionOfTermintNULL
entriesZ_ListEntrisNULL
attributeSetOdr_oidNULL
otherInfoZ_OtherInformationNULL

Table 6-11. Default settings for Trigger Resource Control Request

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
requestedActionint Z_TriggerResourceCtrl_resou..
prefResourceReportFormatOdr_oidNULL
resultSetWantedbool_tNULL
otherInfoZ_OtherInformationNULL

Table 6-12. Default settings for Resource Control Request

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
suspendedFlagbool_tNULL
resourceReportZ_ExternalNULL
partialResultsAvailableintNULL
responseRequiredbool_tFALSE
triggeredRequestFlagbool_tNULL
otherInfoZ_OtherInformationNULL

Table 6-13. Default settings for Resource Control Response

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
continueFlagbool_tTRUE
resultSetWantedbool_tNULL
otherInfoZ_OtherInformationNULL

Table 6-14. Default settings for Access Control Request

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
whichenumZ_AccessRequest_simpleForm;
uunionNULL
otherInfoZ_OtherInformationNULL

Table 6-15. Default settings for Access Control Response

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
whichenumZ_AccessResponse_simpleForm
uunionNULL
diagnosticZ_DiagRecNULL
otherInfoZ_OtherInformationNULL

Table 6-16. Default settings for Segment

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
numberOfRecordsReturnedintvalue=0
num_segmentRecordsint0
segmentRecordsZ_NamePlusRecordNULL
otherInfoZ_OtherInformationNULL

Table 6-17. Default settings for Close

FieldTypeDefault Value
referenceIdZ_ReferenceIdNULL
closeReasonintZ_Close_finished
diagnosticInformationchar*NULL
resourceReportFormatOdr_oidNULL
resourceFormatZ_ExternalNULL
otherInfoZ_OtherInformationNULL