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.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.