Is it possible to make my cobol program to executable file or having .bat? just like in java they have .jar file.
How can i make my cobol program to be executable file or .Bat
3.7k Views Asked by jemz At
1
There are 1 best solutions below
Related Questions in COBOL
- Two different numbers in an array which their sum equals to a given value
- how to fill out the table with next values in array with one button
- How to sort a multi-dimensional array by the second array in descending order?
- Looping over defined array elements in Fortran
- Array appending after each onclick and loop in javascript
- PHP : How can I check Array in array?
- store numpy array in mysql
- Java Assign a Value to an array cell
- Saving FileSystemInfo Array to File
- Notice: Undefined offset: 1, but there is such offset
Related Questions in COBOL85
- Two different numbers in an array which their sum equals to a given value
- how to fill out the table with next values in array with one button
- How to sort a multi-dimensional array by the second array in descending order?
- Looping over defined array elements in Fortran
- Array appending after each onclick and loop in javascript
- PHP : How can I check Array in array?
- store numpy array in mysql
- Java Assign a Value to an array cell
- Saving FileSystemInfo Array to File
- Notice: Undefined offset: 1, but there is such offset
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Either COBOL.EXE or COMPILE.BAT in MS-COBOL 2.20 can create an intermediate file. If your source code is HELLO.COB, use either:
or
Both commands will produce the intermediate file HELLO.INT. The intermediate file can be run with
That command could be put into a .BAT file to create an "executable" file that might fit your need.
MS-COBOL 2.20 also comes with LINK.EXE that should be able to turn HELLO.INT into HELLO.EXE. I could not get it to work on Windows XP. MS-COBOL 2.20 was written for DOS, not Windows, so I am not surprised.
All that being said, please do not use MS-COBOL 2.20. It is very old and there is little documentation available. For Cobol on the PC, Microfocus and Fujitsu have good compilers, but you need to pay for them at some point. I use and recommend OpenCobol, which is open source. It is available for free for Windows and Linux and has good documentation. Please see opencobol.org. The direct link to the documentation is http://opencobol.add1tocobol.com/OpenCOBOL%20Programmers%20Guide.pdf. A fast way to get OpenCobol on WindowsXP is using OpenCOBOL-1.1-06FEB2009-mingw.zip (see link and instructions near the bottom of http://www.opencobol.org/modules/bwiki/index.php?Assorted%20Documents).