Skip to main content

Problem:

We know that in MFE we can get a trace file for IMS diagnostics. How is that done?

Resolution:

To create a BTS trace file to send to SupportLine:

1) start MFE as you normally do

2) open the failing project and turn on the trace option via

     IMS tab in the project view

     IMS System, right click to view Properties

     From the Properties window, select the DL/I Trace tab

     Turn on everything under 'Call trace options'

     Turn on 'Write to data set' leave trace file name as BTS.LST

     Click 'OK'

3) close MFE

4) From a MFE Command Prompt, enter the command:

     IMSDIAG 222

   The MFE Command Prompt can be found from the

   Windows Start button, Start>Programs>Mainframe

   Express>Mainframe Express Command Prompt

   (Leave this open for now)

5) type  mfe  to start up MFE

6) use MFE as you normally do to re-create the error

7) close MFE

8) From the MFE Command Prompt, enter the command:

            IMSDIAG 000

   close this window

9) Zip up and send us the BTS.LST file found in the

    <project folder>\\LISTING directory

To format the trace file so you can review ityourself, go to a Mainframe Express Command Prompt and run MFIMS IMSPRINT BTS.LST. This command will read the BTS.LST file and produce an IMSPRINT output dataset that is in the expected BTS trace used by IBM's IMS. Alternatively, one can use the gui to create the IMSPRINT file. Go to Tools>IMS>Trace Print. Use the window provided to specify your print options for the output file.

Old KB# 2518

#EnterpriseDeveloper
#MFDS