Help for CPD0727

The specified variable must be declared before it is referred to in the program.

Add a declare (DCL command) for the variable or change the statement referring to the variable. Then try the CRTCLPGM command again.