Previous Topic Next topic Print topic


Supporting Error Feedback in COBOL Processors

In general AWM supports error feedback for COBOL, a function which displays mainframe COBOL Compiler messages in the Error Feedback view. Double-clicking on a compiler message opens the editor and marks all relevant lines.

To support error feedback in combination with the Endevor Attachment you should adapt all COBOL processors.

The following sample shows how to support error feedback in a COBOL processor:

Sample PROC statement:

//             SYSXMLLD=’Error-Feedback-Dataset',
//             PARMCOB='LIB,NOSEQ,OBJECT,APOST,ADATA',       
//             PARMCOBX=',EXIT(ADEXIT(''/N 100 /W 50'',TAURTOCX))',
...

To support error feedback it is necessary to specify the ADATA and ADEXIT options like in the sample above.

Sample COBOL compile step:

      
//COMPILE EXEC PGM=IGYCRCTL,COND=(0,LT),MAXRC=4, 
// PARM='&PARMCOB.&PARMCOBX.' 
//STEPLIB DD DISP=SHR, 
// DSN=HLQ.ZSERVER.LOADLIB  * zServer Loadlib which contains TAURTOCX
//SYSXMLSD DD DISP=SHR, 
// DSN=&SYSXMLLD(&C1ELEMENT), 
// MONITOR=COMPONENTS
//SYSADATA DD SPACE=(CYL(2,5)),RECFM=V
...

The error feedback data set must exist as a variable blocked partitioned data set with record length 16383.

Previous Topic Next topic Print topic