company logo

smcb - Structure control block (internal class - not supported as interface)

A structure control block describes a complex data type or an enumeration. Fields of a complex data type are defined as list of field control blocks (fmcb). Enumerators for an enumeration can be accessed by the access object (smcbacc).

The following status information are set in smcbsts:

stserr - structure definition is not correct

stsold - old structure version (mainly for database structures in a dictionary) or __AUTOIDENT-index (for key-smbc)

stssfil - descending __AUTOIDENT-index (for key-smcb) [10.07.2007] in sort key smcb, setup-indication in Dictionary::Display

ststrans - key contains transient key components

stsnof - identity key (for key smcb, only) - otherwise: structure definition is a DBStructDef

stsmod - (old: key value has changed (key smcb, only))

stssav - key contains multi-dimensional component (key smcb, only) (old: key value has been checked for updates (key smcb, only))

stswpt - key value cannot be updated (key smcb, only)

stslck - key contains IDENTITY as component of a VIEW_KEY (key smcb, only)

stsusr1 - smcb has generic key component (key type)

stsusr2 - fixed system type (cannot be copied)

stsusr3 - indicates MEMO key in key types, or temporary type definition (otherwise)

stsdel - Structure inherits directly from __OBJECT

stsres -structure is a synonym