---
title: "MPP and BMP Why CMPAT=Y in PSBGEN"
description: "Default CMPAT=N in PSBGEN, it means only can be used in Batch processing. Read more..."
url: https://srinimf.com/2016/07/19/why-cmpaty-in-psbgen/
date: 2016-07-19
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2016/07/pexels-photo-531446.jpeg?fit=1880%2C1115&ssl=1
categories: ["IMS DB"]
tags: ["IMS DB Tips and Tricks"]
type: post
lang: en
---

# MPP and BMP Why CMPAT=Y in PSBGEN

The [best answer](https://srinimf.com/2010/08/12/vsam-esds/) for this [interview question](https://srinimf.com/2014/08/05/cobol-tricky-interview-question/) is the CMPAT=Y in PSBGEN helps avoid compiling [Ims dB](https://srinimf.com/2015/10/31/bmp-transaction-oriented-jcl-in-ims-db/) program in both Batch message processing and online message processing regions.

Related[Why DLITCBL in IMS DB programs you need](https://srinimf.com/2016/10/18/why-dlitcbl-in-ims-db-programs/)

## CMPAT = Y

- In the case of MPP and BMP the first PCB is IO PCB or TP PCB.
- This means the PSBGEN is compatible for both batch and online regions.

Keep Reading

Related[DB2 Stage-1 and Stage-2 Indexing](https://srinimf.com/2014/07/08/advanced-sql-in-db2-part-2/)

- [How To Find I-O PCB in IMS DB Program](https://srinimf.com/2012/04/05/imsdb-how-to-find-i-o-pcb-in-program/)DateApril 5, 2012
- [IMS DB – DL/I, BMP, MPP – Advanced Concepts](https://srinimf.com/2014/07/13/imsdb-dli-bmp-mpp-advanced-concepts/)DateJuly 13, 2014
- [IMS DB/DC Not Suitable for Batch programs, why](https://srinimf.com/2015/10/30/why-dbdc-does-not-support-for-batch-programs/)DateOctober 30, 2015

### 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%2F2016%2F07%2F19%2Fwhy-cmpaty-in-psbgen%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2016%2F07%2Fpexels-photo-531446.jpeg%3Ffit%3D1200%252C712%26ssl%3D1&description=MPP%20and%20BMP%20Why%20CMPAT%3DY%20in%20PSBGEN)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2016/07/19/why-cmpaty-in-psbgen/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2016/07/19/why-cmpaty-in-psbgen/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2016/07/19/why-cmpaty-in-psbgen/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2016/07/19/why-cmpaty-in-psbgen/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20MPP%20and%20BMP%20Why%20CMPAT%3DY%20in%20PSBGEN&body=https%3A%2F%2Fsrinimf.com%2F2016%2F07%2F19%2Fwhy-cmpaty-in-psbgen%2F&share=email)
-

### Like this:

Like Loading…
