How can I resolve the following error?
EZGO0006 CA-EASYTRIEVE UNABLE TO OPEN (EMPTY) SYSLIN FILE
A job step is receiving the above message when it contains a //SYSLIN DD DUMMY statement when executing under release 11.6 using New Function Mode.
This example, page 56 of the User Guide, illustrates the JCL necessary to compile and link-edit a load module to be executed later:
//jobname JOB accounting.info
//stepname EXEC PGM=EZTPA00,REGION=4M
//STEPLIB DD DISP=SHR,DSN=your.ezt.product.loadlib
//EZTVFM DD UNIT=SYSDA,SPACE=(4096,(100,100))
//SYSPRINT DD SYSOUT=A
//SYSLIN DD UNIT=SYSDA,SPACE=(400,(100,50)),DISP=(,PASS),
// DSN=&&SYSLIN
//SYSIN DD *
PARM LINK(TESTPGM)...
...CA Easytrieve source statements...
//LKED EXEC PGM=IEWL
//SYSPRINT DD SYSOUT=A
//SYSLIN DD DSN=&&SYSLIN,DISP=(OLD,DELETE)
//SYSLIB DD DISP=SHR,DSN=your.ezt.product.loadlib
//SYSLMOD DD DISP=SHR,DSN=your.ezt.application.loadlib
//SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(1,5))
Throughout the User Guide, doing a find on 'SYSLIN' shows that this //SYSLIN DD statement should be coded.
With release 11.x, the compiler writes the object to the SYSLIN file while the object is being generated. Then later, that SYSLIN file is read back in for the "Go phase of the Compile-and-Go job. So that is why the //SYSLIN DD statement cannot be dummied in the release 11.x jobs. This has been requested in the past and was deemed a design constraint.