Skip to main content

OCDS and SX Large keys in small nodes

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Object Cobol Developer Suite support's relatively large key sizes in small index nodes.

Object Cobol Developer Suite allows a maximum of 248 byte keys in a 1024 byte node. This is not normal behaviour but can be enabled.

Server Express, the maximum key size for a 1024 byte node is 100, but this can be overridden up to a size of 220 bytes.

Resolution:

Using keys greater than 100 bytes in a node of 1024 bytes.

Change the EXTFH configuration file from:

nodesize=1024

to

nodesize=1024 force

This overrides the internal fielhandler logic for allocating the nodes.

This could result in the file having only 4 keys per node and giving a maximum of 65536 records.

Also note that this has a negative effect on performance.

Old KB# 2035

#RMCOBOL
#COBOL
#AcuCobol
#ServerExpress
#netexpress