scottmitchell
Programmer
Anyone who can shed some light on this error, I'd love to hear from you!
I have a variable in working storage called "char-count" and I have it as an index for several tables, and also present in some procedure code as follows:
PERFORM PROCESS-CHAR VARYING CHAR-COUNT FROM 1 BY 1
UNTIL CHAR-COUNT > 60.
I get an compile error for this line of code saying,
"DECODE.COB 103: JMN2504I-S USER WORD 'CHAR-COUNT' IS MULTI-DEFINED."
What can I check to get rid of this error?
Thanks!
Scott
I have a variable in working storage called "char-count" and I have it as an index for several tables, and also present in some procedure code as follows:
PERFORM PROCESS-CHAR VARYING CHAR-COUNT FROM 1 BY 1
UNTIL CHAR-COUNT > 60.
I get an compile error for this line of code saying,
"DECODE.COB 103: JMN2504I-S USER WORD 'CHAR-COUNT' IS MULTI-DEFINED."
What can I check to get rid of this error?
Thanks!
Scott