To run COBOL programs in the z/OS UNIX environment, compile them with Enterprise COBOL or COBOL for OS/390 & VM. The programs must be reentrant, so use the compiler and linker option RENT.
If you are going to run them from the HFS, use the linker option AMODE 31. Any AMODE 24 program that you call from within a z/OS UNIX application must reside in an MVS PDS or PDSE.
The following restrictions apply to running under z/OS UNIX:
You can run a COBOL program in more than one thread when you compile all the COBOL programs in the application with the THREAD option.
You can use Debug Tool to debug z/OS UNIX programs in remote debug mode, for example, by using the Debug Perspective of Rational Developer for System z, or in full-screen mode (MFI) using a VTAM® terminal.
related tasks
Compiling under UNIX
Running OO applications under UNIX
Running in UNIX environments
Setting and accessing environment variables
Calling UNIX/POSIX APIs
Accessing main program parameters
Language Environment Programming Guide
related references
RENT