This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Dataset showing invalid DSORG in catalog

My program is opening an output dataset with DCB in the JCL specified as DCB=(LRECL=80,RECFM=FB,BLKSIZE=0) and DISP=(NEW,PASS,KEEP). Sometime the program logic does not write anything to this file and when this file is empty, the catalog entry of it shows invalid DSORF and thus net step which refer it in SYSUT1 fails to find the file.

However if I specify DSORG=PS then it works fine.

Tags:

Labels:

Enterprise Developer
Parents
  • 0  

    Hi,

    I recommend you to take the following approach:
    -Ensure the file being accessed exists on disk.

    -If not able to resolve with above approach, consider creating a support case and include a reproducible test case (include sample files and JCL, COBOL program and directives used to compile) that the support team can use to replicate the issue, include the full text/screenshot of the invalid DSORF error.

Reply
  • 0  

    Hi,

    I recommend you to take the following approach:
    -Ensure the file being accessed exists on disk.

    -If not able to resolve with above approach, consider creating a support case and include a reproducible test case (include sample files and JCL, COBOL program and directives used to compile) that the support team can use to replicate the issue, include the full text/screenshot of the invalid DSORF error.

Children
No Data