I get an abend when I dummy my output PS file and also remove the DCB. But when I provide DCB it works fine. I was of the opinion that we do not need DCB definition when we dummy the file. Please note that the routine handling the I/O is assembler and no definition in COBOL is required for files in our system. Is the assembler the reason for this or even COBOL would require a DCB on a DD DUMMY?
Joined: 06 Jun 2008 Posts: 8117 Location: East Dubuque, Illinois, USA
Suggestion: go to the Manuals link at the top of the page, find the JCL User's Guide manual, and read section 126.96.36.199 on how the system gets DCB parameter values. Compare what is needed for a complete DCB with the provided data in the Assembler program. On a DD DUMMY, where will the values come from?