View previous topic :: View next topic
|
Author |
Message |
mahesh83
New User
Joined: 29 Jan 2008 Posts: 14 Location: Bangalore
|
|
|
|
In the Enterprise COBOL for z/OS 3.4 manual on page 368 there is a statement
regarding OPEN OUTPUT. It says:
Do not specify OUTPUT for files that:
Are defined with a DD dummy card. Unpredictable results can occur.
Huh? I've used DD DUMMY on output files for OS390 cobol and I've never had unpredictable results. The program always runs and writes to DUMMY, ie. no where.
But when we upgrade the program to Enterprise COBOL for z/OS 3.4 it gives U4083 abend
IGZ0035S There was an unsuccessful OPEN or CLOSE of file XXXXXX in program XXXXXXXXX .Neither FILE STATUS nor an ERROR declarative were specified. The status code was 90. |
|
Back to top |
|
|
mahesh83
New User
Joined: 29 Jan 2008 Posts: 14 Location: Bangalore
|
|
|
|
Please advise me what has to be done in order to avoid this abend in Enterprise cobol..Thank you |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Follow the manual and don't attempt to open an output file that is pointing to DD DUMMY. The manual is quite clear -- and unpredictable results can include (surprise!) abends.
Seriously, without providing us with code, JCL, or anything else just how do you expect us to be able to help? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
E-Cobol seems to really support Optional Files. Had the TS bothered to read a few pages more, there may be a replacement for OUTPUT dummy.
and he should be referencing the Application Programmers guide,
as well as reading it. |
|
Back to top |
|
|
|