Skip to main content

Problem:

I would like to check the length of the source and of the target for alphanumeric Move operation

Resolution:

The compiler directive MOVE-LEN-CHECK ( or MOVELENCHECK) check the lengths . This directive must be used with the directive WARNING that is validated to 2 or 3.

Example :

-C MOVELENCHECK -C WARNING=3

At the begin of the module :

123456$SET MOVELENCHECK WARNING(3)

Old KB# 2312