Are You Using UNIX on Zo/s -Read this!

UNIX on Zo/s is not a new concept. Still you need to know basic commands.

Go to TSO main menu to get into UNIX shell.

-Oget -> To copy a dataset from OMVS to TSO
-Oput -> To copy a dataset from TSO to OMVS
-Oedit -> To edit a file
The above are the basic commands for editing UNIX files.

How to edit a file

Oedit test.C ( sample C program)

How to compile and execute program

C89 -o test test.C

./test

Command to exit from OMVS

Exit

Batch JCL for OMVS OGET and OPUT commands:

//OGET    EXEC PGM=IKJEFT01
//SYSTSPRT DD  SYSOUT=*
//SYSTSIN  DD  *
  OGET '/usr/lpp/dfsms/bin/confighfs' '@TSO@.CONFHFS.REXX' TEXT
/*
//
Advertisements

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.