Hi,
How to avoid error 1. CPD0726-vriable declared but not referred to in a CL program ?
also how to resolve2. 2. CPD0727 variable referred to but not declared?(this error specially is occurring when we are doing SBMJOB CMD (CLL PGM(X) PARM(&VAR1) &VAR2 &VAR3)
Here this CPD0727 is appearing for &var3 which is even though declared but when compiling cl program then getting this error
it's declared like below :-
************************************************** **
DCL VAR(&VAR3) TYPE(*CHAR) STG(*DEFINED) +
LEN(10) DEFVAR(&DATA_STRCT 6)
3. why this error is appearing length specified is too long for variable type.
SBMJOB CMD(CALL PGM(X) PARM(&VAR1 &VAR2 &VAR3 &VAR4 &VAR5)
Thanks...
How to avoid error 1. CPD0726-vriable declared but not referred to in a CL program ?
also how to resolve2. 2. CPD0727 variable referred to but not declared?(this error specially is occurring when we are doing SBMJOB CMD (CLL PGM(X) PARM(&VAR1) &VAR2 &VAR3)
Here this CPD0727 is appearing for &var3 which is even though declared but when compiling cl program then getting this error
it's declared like below :-
************************************************** **
DCL VAR(&VAR3) TYPE(*CHAR) STG(*DEFINED) +
LEN(10) DEFVAR(&DATA_STRCT 6)
3. why this error is appearing length specified is too long for variable type.
SBMJOB CMD(CALL PGM(X) PARM(&VAR1 &VAR2 &VAR3 &VAR4 &VAR5)
Thanks...
Comment