Previous Topic Next topic Print topic


Error Handling

When MFBSI detects an AutoEdit error, it inserts an error message in the JCL just before the statement in error. The error message text starts with //* ??? JCLSI0050E. The end of the message displays the number of the original JCL line.

For example:

 1 //MFIDPS01 JOB 'MFIDPS',CLASS=A,MSGCLASS=1
 2 //* %%GLOBAL				GLOBAL01
 3 //* %%LIBSYM    MFIDPS.CTRLM.SYMB %%MEMSYM SYMMBR01
 4 //* %%SET %%SYMBMBR=SYMMBR01
 5 //* %%LIBSYM MFIDPS.CTRLM.SYMB %%MEMSYM %%SYMBMBR
 6 //*
 7 //STEP1    EXEC PGM=IEFBR14
 8 //SYSOUT   DD SYSOUT=*
 9 //*??? JCLSI0050E For "DAGLOBAL(NOTFOUND)" file open error: 9/009. (9)
10 //* %%GLOBAL   NOTFOUND                                    << JCLin
11 //*

In case of AutoEdit error(s), MFBSI generates a bad JCL statement at the end of the JCL to abort the submitted job.

   21 //*
   22 // ***** MFBSI GENERATED JCL ERROR (AUTOEDIT FACILITY ERROR) *****
 **** JCLCM0409E INVALID OPERATOR
   23 //
 **** JCLCM0172E JOB FAILED - JCL ERROR
	 

If this happens, the Control-M AutoEdit facility receives a get RC=208 message.

The submitted JCL can be found in the $MFBSI_DIR\JCLTemp folder.

Previous Topic Next topic Print topic