I am trying to use the COPY REPLACING option in an Enterprise COBOL program and can't seem to get it to work. It compiles cleanly, but seems to ignore the statement. No data is replaced. Here is the code.
COPY TR319XXX REPLACING ==DL== BY ==XL==.
I have tried literals, fields etc. and no...
We have a request to generate a random alphanumeric string of characters for our business using VS COBOL II (MVS) on the mainframe. Any ideas if there are any random character generating functions available in COBOL?
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.