MOVE-LEN-CHECK

Syntax:

>>-.---.-.----.-MOVE-LEN-CHECK--.---------------.--.---><
   +-/-+      +                 +--"parameter"--+  +     
              +-NOMOVE-LEN-CHECK-------------------+

Parameters:

parameter ALL or TRUNC

Properties:

Default: NOMOVE-LEN-CHECK
Phase: Syntax check
$SET: Any

Comments:

This directive causes the compiler to check source and target lengths for alphanumeric MOVE operations and issues a warning message (166) if they are different.

If you do not specify a parameter, or if you set parameter to ALL, a warning message (166) is issued if the source and target lengths are different.

If you set parameter to TRUNC, a warning message (1247) is issued when the source length is greater than the target length.

Any warning messages produced by enabling this directive are only visible if WARNINGS"2" or WARNINGS"3" is selected.