3 6 13 Create Batch Control

LANSA Technical

3.6.13 Create Batch Control

Specify whether or not other database files that perform batch control totaling against this file should be allowed to automatically create missing "batch" records in this file.

NO, indicates that when a batch control record cannot be found in this file, the other file operation should fail with error message IOM0032.

YES, indicates that when a batch control record cannot be found in this file, the other file's I/O operation is allowed to automatically create one. The other file's I/O operation is modified to create the missing batch control record in this file like this:

  • All fields in this file's record format are set to blanks (alphanumeric fields) or zero (numeric fields).
  • The field(s) or value(s) from the other file that were used as key(s) to access the batch control record in this file are mapped into their corresponding field(s) in this file. This mapping is by key matching, not by name.
  • The new record thus assembled is inserted into this file.

Default = NO (unchecked/not selected).

Warnings

  • Before attempting to use this option ensure that you understand the ramifications of using it and then thoroughly test all resulting applications.
  • When changing this option, it is necessary to make the amendment to this file operational. Additionally, all I/O modules for other files that perform batch control totaling against this file must also be (re)compiled.

 

Ý 3.6 File Attributes