CHECK_USING

When this value is 1 (on, true, yes), the runtime system tests each use of a LINKAGE data item to make sure that the item passed by the calling program is at least as large as the item declared by the called program. This ensures that unallocated memory is not accidentally referenced.

Setting this value to 0 (off, false, no) inhibits the parameters size matching test. It also inhibits the runtime test that verifies that all parameters of a subprogram are passed by the caller.

The default value is 1. If you set this value to 0, you should test your programs carefully to avoid corrupting memory.

Note: It is common for programs in some OLTP environments to specify a data item length as a negative value. By default, this produces a runtime error. Set CHECK_USING to 0 to override the default behavior.