3 6 12 IOM Required

LANSA Technical

3.6.12 IOM Required

Specify whether or not an I/O module is required for this file and its associated logical views.

To effectively use NO (not checked/not selected), you must use the FUNCTION RDML command with the OPTIONS(*DBOPTIMISE) keyword in every RDML function that attempts to access this file or any of its associated logical views. If this command is omitted from the RDML function, it will still compile correctly, but at execution time, it will fail because it places a call to the non-existent I/O module.

Default = YES (checked/selected).

Warnings

  • Note that if this value is changed from YES(checked/selected) to NO (unchecked/not selected), and the resultant change made operational, any existing I/O module will be automatically deleted. After this has been done, all existing RDML functions that access this file without using *DBOPTIMISE will fail when used. This is because they are attempting to resolve to a now non-existent I/O module. In such cases, add the *DBOPTIMISE option to the RDML functions involved and recompile them.

Tips & Techniques

  • It is strongly recommended that you do not use NO (not checked/not selected) until you have had some experience with the LANSA product and are familiar with the concept and workings of I/O modules.

Platform Considerations

  • IBM i: This file attribute applies to IBM i databases only.

 

Ý 3.6 File Attributes