---
title: "How to run Cobol Program on UNIX?"
description: "Command to run COBOL program on UNIX."
url: https://srinimf.com/2012/11/30/how-to-run-cobol-program-on-unix/
date: 2012-11-30
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2012/11/cobol-on-unix-run-now.jpg?fit=1200%2C900&ssl=1
categories: ["COBOL"]
tags: ["COBOL Tips and Tricks"]
type: post
lang: en
---

# How to run Cobol Program on UNIX?

Guys I am writing this blog, after I came from my office. Writing this post listening to a [CD](http://astore.amazon.com/mainframerobo12-20/detail/007149717X). After Mainframe, everyone knows that UNIX is popular OS. Since it is low expensive, high-speed and security compared to Mainframe. However, they have their own pros and cons.

Related[COBOL: Move, Group Move, Low-values, High-values](https://srinimf.com/2010/04/04/cobol-stuff/)

## [How to](https://srinimf.com/2022/07/11/how-to-measure-speed-of-python-code/) Run COBOL in the UNIX?

To run COBOL programs in the UNIX® environment, you must compile them with the Enterprise COBOL or the COBOL for OS/[390](https://srinimf.com/2015/11/11/mainframe-os390-and-zos-difference/)® and VM compiler. They must be reentrant, so use the compiler and binder option RENT.

Related[CICS Quasi Reentrant Program Means](https://srinimf.com/2012/03/21/cics-quasi-reentrant-program/)

After that you all know running a Script on Unix. Just I am giving sample code..here

**tso “call ‘my.loadlib(myprog)'”**

if we submit this command in Unix terminal, the script will run.

Refer [here](http://pic.dhe.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=%2Fcom.ibm.entcobol.doc_4.1%2FPGandLR%2Ftasks%2Ftpenv11.htm)for more from IBM.

Related Posts

- [How to Use Micro Focus COBOL on UNIX](https://srinimf.com/2014/08/27/micro-focus-cobol-with-unix/)DateAugust 27, 2014
- [Batch JCL calls COBOL and Java modules the real process you need to read](https://srinimf.com/2013/05/04/stand-alone-java-in-mainframe/)DateMay 4, 2013
- [Tutorial On Micro Focus COBOL](https://srinimf.com/2014/06/23/micro-focus-cobol-details/)DateJune 23, 2014

### 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%2F11%2F30%2Fhow-to-run-cobol-program-on-unix%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2012%2F11%2Fcobol-on-unix-run-now.jpg%3Ffit%3D1200%252C900%26ssl%3D1&description=How%20to%20run%20Cobol%20Program%20on%20UNIX%3F)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2012/11/30/how-to-run-cobol-program-on-unix/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2012/11/30/how-to-run-cobol-program-on-unix/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2012/11/30/how-to-run-cobol-program-on-unix/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2012/11/30/how-to-run-cobol-program-on-unix/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20How%20to%20run%20Cobol%20Program%20on%20UNIX%3F&body=https%3A%2F%2Fsrinimf.com%2F2012%2F11%2F30%2Fhow-to-run-cobol-program-on-unix%2F&share=email)
-

### Like this:

Like Loading…
