Previous Topic: Modifying the JOB Processing SubroutineNext Topic: Modifying the DD Processing Subroutine


Modifying the EXEC Processing Subroutine

Modify this subroutine so that any trailing blanks in the step name on the EXEC statement are removed. Removing the blanks gives the error message a neater appearance.

To modify the EXEC processing subroutine, assign the non-blank value of EXEC.STEPNAME to the step_name variable.

   /********************************************************************/
   /*  Exec Card processing Subroutine                                */
   /********************************************************************/
   EXEC_PROCESSING:	
    step_name = STRIP(EXEC.STEPNAME,T)       /* Remove trailing blanks */
   Return