Previous Topic Next topic Print topic


Supporting Error Feedback in PLI Processors

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

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

Sample PROC statement:

      
//             SYSXMLLD=’Error-Feedback-Dataset', 
//             PARMPLI='MACRO,OBJECT,SOURCE,XREF,XINFO(XML)',
...

The XINFO(XML) compiler option is required to support error feedback.

Sample PLI compile step:

      
//COMPILE EXEC PGM=IBMZPLI,COND=(0,LT),MAXRC=4,  
// PARM='&PARMPLI.' 
//SYSXMLSD DD DISP=SHR,  
// DSN=&SYSXMLLD(&C1ELEMENT),  
// MONITOR=COMPONENTS 
...

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

Previous Topic Next topic Print topic