You can open an empty ESDS file in COBOL II, no problem. What can be a problem that is a difference between COBOL I and COBOL II are the file attributes of the file not agreeing with the attributes specified in the program. This is the first place I would look, since it is a difference between file handling on COBOL I vs COBOL II. If this is not the problem, answer back with a file status and I will help you figure it out.
000729 007290 OPEN OUTPUT EDI-FLATFL.
000730 007300 OPEN EXTEND AUDIT-FILE.
000731 007310
000732 007320 IF AUDIT-STAT NOT = '00'
000733 007330 OPEN OUTPUT AUDIT-FILE.
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.