Adding Easytrieve debugging parameters without editing the program source.

Document ID : KB000054519
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

If an Easytrieve program is not referenced instream, (for example DD *~~~~~~~), how can debugging parameters be added without accessing the source program that is reference by a DD DSN=.

Solution:

JCL is set up as follows to add debugging parameters for the current run of the program.

//SYSIN DD DSN=your dataset name(your member name) <==== EZT source code member

Edit the JCL to look as follows:

... 
//SYSIN       DD * 
LIST ON MACROS 
PARM DEBUG(PMAP DMAP STATE XREF LONG) ABEXIT NO SORT(MSG(ALL)) + 
LIST FILE COMPILE 
//        DD    DSN=your dataset name(your member name)

Be sure to concatenate the PDS dataset containing the Easytrieve source member after the newly added Easytrieve debugging parameters.