Supporting Error Feedback in C Processors

In general AWM supports error feedback for C, a function which displays mainframe C 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 C processors.

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

Sample PROC statement:

      
//             SYSXMLLD=’Error-Feedback-Dataset',
//             PARMC='/EVENTS,SSCOM,SO,LO,NOMAR,RENT',
...

The /EVENTS option is necessary to support error feedback.

Sample C compile step:

      
//COMPILE EXEC PGM=CCNDRVR,COND=(0,LT),MAXRC=4, 
// PARM='&PARMC.'
//SYSEVENT DD DSN=&&SYSEVENT,DISP=(,PASS,DELETE),
//     UNIT=&WRKUNIT,SPACE=(TRK(30,100),RLSE),
//     DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
 ...

Sample error feedback step:

      
//ERRFB  EXEC PGM=TAURTOEX,MAXRC=4
//STEPLIB DD DISP=SHR,
// DSN=HLQ.ZSERVER.LOADLIB  * zServer loadlib containing TAURTOEX   
//SYSXMLSD DD DISP=SHR,   
// DSN=&SYSXMLLD(&C1ELEMENT),   
// MONITOR=COMPONENTS
//SYSEVENT DD DSN=&&SYSEVENT,DISP=(OLD,DELETE)  
...

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