...or have a look at the INSPECT statement to replace two spaces by one. If you want to replace multiple spaces by one you could use INSPECT in a loop.
For debugging, the are two possibilities:
1. If you are actually debugging, use a proper debugging tool (obviously) or, if you don't have one, add debugging code to your source (look in the manuals how to do this).
Simply adding DISPLAY statements and later removing them also works, of course...
I don't know Fujitsu Cobol but most of the time you need to tell the runtime environment which files to access. It appears that Fujitsu Cobol expects an 'allocation file' which should contain that info.
Perhaps the Runtime Environment Setup dialog box is the place to tell the runtime...
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.