I copied the contents of NewData.cbl into a new source file in a new project and it compiled without errors. However, will "hello" be written into that file? I opened it after the program had executed and there was nothing there. The code in the screenshots above was written in COBOL for OS/390, which means that there's probably a syntax error. I stick to Visual COBOL for now... I compiled your program using Visual COBOL, but i still got unexpected resultat. Thanks in advance.
- Thomas