You need to use a variable length cobol field like this:
03 W020-SEARCH-VALUE.
49 W020-SEARCH-LEN PIC S9(4) COMP.
49 W020-SEARCH-VAL PIC X(25).
set length component equal to actual size of string and I think you should...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.