---
title: "Xpediter Mainframe Debugger Tutorial (Part 2)"
description: "Xpediter tutorial explained useful commands"
url: https://srinimf.com/2012/03/26/xpediter-commands-part-2/
date: 2012-03-26
modified: 2026-10-05
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2021/08/pexels-photo-8853388.jpeg?fit=1880%2C1256&ssl=1
categories: ["Xpediter"]
tags: ["Xpediter"]
type: post
lang: en
---

# Xpediter Mainframe Debugger Tutorial (Part 2)

Refer “[part1](http://srinimf.com/2012/01/05/xpediter-commands/)“,  if you miss it. We are “[Born to win](http://www.amazon.com/gp/product/1455120367/ref=as_li_tf_tl?ie=UTF8&tag=mainframesrin-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=1455120367)“. Working with Xpediter/CICS is a nice challenging job. You agree, CICS is a popular Online Transaction Processing. Learning few Xpediter commands enough you debug [CICS program](https://srinimf.com/2014/08/03/3-cobol-features-not-allowed-in-cics/).

In an online  environment, either production/test environment, debugging is a little hard. With Xpediter you will overcome it. Just make sure your installation has Xpediter setup.

**Follow the steps:**

- XPED    xxxxxxx (program name)
- Press F3, Select option 6, DSECT (Give your program name, Logical terminal, Transaction name)
- F3, F3, You will see “session control”
- Fill the options 4 and option 6 (Give user id, program name, Terminal id, Transaction id etc)
- F3, it will take you to “End session screen”
- Give “End session : No” and “Dump option: No”
- Press enter
- XPED xxxxx(pgm name)
- You will see now your program, set [Break point](https://srinimf.com/2020/08/02/how-to-debug-py-module-using-pdb/) where you need.
- Now give input in the screen, see line by line execution.
- If you want to exit from Xpediter, just use Pause-break & “XPND” to terminate a session

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2012%2F03%2F26%2Fxpediter-commands-part-2%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2021%2F08%2Fpexels-photo-8853388.jpeg%3Ffit%3D1200%252C802%26ssl%3D1&description=Xpediter%20Mainframe%20Debugger%20Tutorial%20%28Part%202%29)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2012/03/26/xpediter-commands-part-2/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2012/03/26/xpediter-commands-part-2/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2012/03/26/xpediter-commands-part-2/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2012/03/26/xpediter-commands-part-2/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20Xpediter%20Mainframe%20Debugger%20Tutorial%20%28Part%202%29&body=https%3A%2F%2Fsrinimf.com%2F2012%2F03%2F26%2Fxpediter-commands-part-2%2F&share=email)
-

### Like this:

Like Loading…
