Skip to main content

Problem:

I am using Mainframe Express. Can I debug a user written preprocessor?

Resolution:

MFE Release 2.5

You need to debug as Non Mainframe - if you don't see the Non Mainframe tag, this needs to be turned on in Options>Debug, Enable debugging of Non-mainframe programs...

The command line to use is:

       COBOL yourprogname directitves.  

Directives will need to include the PREPROCESSOR or P directive naming the user preprocessor.

Also see the topic Writing a Preprocessor in the on line help for further information

So your command line would look something like this:

      cobol mypgm p(myprep parm1) endp;  

Old KB# 6717

#COBOL
#ServerExpress
#netexpress
#MainframeExpressandMFE
#MFDS
#Enterprise
#EnterpriseDeveloper