I m reading seq file where data is in the below mentioned form:
I read this data, into variable A pic X(100).
Then, unstring and put it into 3 diff variables.
w-1,w-2,w-3 -----> pic x(3), pic x(6), pic x(6).
Now, to convert this w-2 to numeric, i am using
the Numval function:
Compute w-c = function numval(w-2) where ws-c -->pic s9(3)v99.
While compiling i am getting a compilation error. saying :
IGYPS2121-S "FUNCTION" was not defined as a data-name.
Is there any option in the compilation jcl, that i am missing.. or any suggestions....