Previous Topic: HELP CommandNext Topic: LEARN Command


INIT Command

              ┌           / nnnn    \ ┐
INIT rec-name │ [Version] < Highest > │ [REPL]
              └           \ Lowest  / ┘

Where:

nnnn-record version number

REPL-force reload of the record element descriptions for dictionary-owned records

Use the INIT command to ensure that all subschema or dictionary-owned record element descriptions are available and to initialize all elements to null values appropriate to their usage: numeric fields to zero, and others to spaces.

Normally, CA IDMS DMLO will automatically issue an INIT for a record the first time that record appears in an CA IDMS DML command. However, if you need to refer to an element within that record before the record itself has been referenced, you must issue the INIT command to force the load of record elements from the dictionary.

Once a subschema record has been loaded, you cannot reload the elements from the dictionary. However, you can reload a dictionary-owned record to allow access to a different version, or to refresh the currently loaded version if an update to the dictionary has occurred since you started the CA IDMS DMLO session.

Dictionary-owned records may be used as CLIST work areas or as input/output areas for scratch and queue processing.