Unix-Why OMVS on Mainframe?

This UNIX environment is integrated with the “traditional” z/OS environment. For example, you can access a z/OS UNIX file from a batch job and you can access a data set from a z/OS UNIX application.

you can enter the z/OS UNIX environment using the OMVS command from the TSO READY prompt

What is OMVS shell?

  1. OEDIT is the Zo/s UNix editor

If you want to write a program with “C”, the command is

==> oedit sample.c

sample C-program-

#include <stdio.h>





Press “F3” to exit from the editor. Your program will be saved.

Compiling the program:

C89   -o sample sample.c

Run the program:


Then you will get result


Type “Exit” to come out from the OMVS.


Have Something to Say? Post Your Comment

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s