The value in the REXX variable does not have a length of 1 or the value is not either '0' or '1'.
Change the REXX procedure so that the variable value has a length of 1 or a value of '0' or '1' for the parameter specified as *LGL.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.