# Different Output formats for CMPRTnn in Natural Batch

**URL:** <https://techcommunity.softwareag.com/t/different-output-formats-for-cmprtnn-in-natural-batch/60039>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-on-Windows-Unix\
**Created:** [June 29, 2005, 5:51pm UTC](https://techcommunity.softwareag.com/t/different-output-formats-for-cmprtnn-in-natural-batch/60039 "2005-06-29T17:51:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dirk\_Holbeck](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@Dirk\_Holbeck](https://techcommunity.softwareag.com/u/Dirk_Holbeck)\
**Post date:** [June 29, 2005, 5:51pm UTC](https://techcommunity.softwareag.com/t/different-output-formats-for-cmprtnn-in-natural-batch/60039/1 "2005-06-29T17:51:43Z")

</div>

Hi folks,

with the parameter BMSIM=MF (Similar Batch Mode Output) one is able to change the outputformat for the batch output file CMPRINT.

============================================  
Natural documentation 6.1.1 for BMSIM:

Forces output similar to Natural for Mainframe Version 2.3. Each line in CMPRINT is filled with trailing blanks.

# A control character appears at the beginning of each line of CMPRINT. The control character codes are similar to the IBM control character option ASA.

A customer has now more than one outputfile from a natural batch, currently on mainframe but in the near future on windows, CMPRINT and CMPRT01.

By using BMSIM=MF the output is populated “correctly” in MF-style in CMPRINT, but in CMPRT01 the output style is like the default on the operating system the natural is running on.

Is there a chance / a flag to change the output style of CMPRTnn as well like it is done with CMPRINT ??

Thanks in advance  
Dirk Holbeck

---

<div class="post-metadata">

**Author:** ![BenedictXVII](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@BenedictXVII](https://techcommunity.softwareag.com/u/BenedictXVII)\
**Post date:** [August 3, 2005, 5:33pm UTC](https://techcommunity.softwareag.com/t/different-output-formats-for-cmprtnn-in-natural-batch/60039/2 "2005-08-03T17:33:17Z")

</div>

No, apparently there is currently no way to control the layout of the alternative reports CMPRTnn.  
Bad luck for the moment, +o:-(

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 20, 2010, 12:38am UTC](https://techcommunity.softwareag.com/t/different-output-formats-for-cmprtnn-in-natural-batch/60039/3 "2010-08-20T00:38:35Z")

</div>

This is causing my client a fair bit of grief. The batch portion of their application is tested under Windows, but production is executed on a mainframe. CMPRINT is used exclusively as an audit trail; all user reports are written to CMPRTnn. We would like to apply BMSIM to those reports.

---

<div class="post-metadata">

**Author:** ![Rd\_Lau](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@Rd\_Lau](https://techcommunity.softwareag.com/u/Rd_Lau)\
**Post date:** [November 22, 2012, 8:16am UTC](https://techcommunity.softwareag.com/t/different-output-formats-for-cmprtnn-in-natural-batch/60039/4 "2012-11-22T08:16:17Z")

</div>

This problem is now my problem. The report format has to be kept unchanged after migration from Natural for Mainframe to Natural for Windows as the reports will be further processed by an other application. Once again as you, I go through the manual for a solution but with no luck.

Is the use of BMSIM for CMPRTnn still not available? or anyone know some trick to make it work?

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [November 22, 2012, 11:30am UTC](https://techcommunity.softwareag.com/t/different-output-formats-for-cmprtnn-in-natural-batch/60039/5 "2012-11-22T11:30:52Z")

</div>

I’d suggest creating a change request

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/different-output-formats-for-cmprtnn-in-natural-batch/60039/6 "2021-04-02T14:40:12Z")

</div>


