The Keyed Sequential Access Method (KSAM) organizes records in a file according to the content of key
fields within each record.
Native Language Support (NLS) in KSAM provides the resources to create files whose keys of type BYTE
are sorted according to a native language collating sequence. All BYTE keys in the file will be sorted using
the collating sequence table of the specified language. Keys, as well as data in the record, may contain 8-bit
character data.
A file language attribute may be supplied when a KSAM file is created to provide a key file organized
according to the collating sequence of a native language. The language attribute is provided when the file is
created. All KSAM files created before NLS was introduced are considered to have NATIVE-3000 as a
language attribute.
A KSAM file can bebuiltwith KSAMUTIL, or programmatically using FOPEN.