0% found this document useful (0 votes)
194 views32 pages

z/OS Introduction and Workshop: Unix System Services

The document provides an overview of z/OS Unix System Services, including how it is integrated with z/OS, comparisons with MVS, file systems, accessing MVS data sets and Unix files, and commands. It covers mounting Unix file systems, displaying processes and files, and manual pages for more information.

Uploaded by

Denys Henrique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
194 views32 pages

z/OS Introduction and Workshop: Unix System Services

The document provides an overview of z/OS Unix System Services, including how it is integrated with z/OS, comparisons with MVS, file systems, accessing MVS data sets and Unix files, and commands. It covers mounting Unix file systems, displaying processes and files, and manual pages for more information.

Uploaded by

Denys Henrique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

z/OS Introduction and Workshop

Unix System Services

© 2009 IBM Corporation


© 2017 IBM Corporation
Unit Objectives

After completing this unit, you should be able to:


• Understand Unix System Services is a base ‘element’
• Understand z/OS uses both MVS and Unix simultaneously
• Understand z/OS is an open operating system capable of web enabling all applications
• Understand z/OS differences between MVS data sets and Unix files
• Understand executable programs can be stored in MVS data sets or Unix files
• Understand data can be stored in MVS data sets or Unix files
• Understand z/OS programs can simultaneously access MVS data sets and Unix files
• Recognize the Unix System Services 3 character component identifier

2
© 2017 IBM Corporation
Unix System Services - Comparisons

3
© 2017 IBM Corporation
Unix System Services – ISHELL, OMVS, TELNET, SSH

4
© 2017 IBM Corporation
Unix System Services

z/OS UNIX System Services is tightly integrated into the operating system and a key
element of IBM open and distributed computing strategy.

WebSphere Application Server, CICS, IMS, Java Runtime, Tuxedo, DB2, WebSphere
MQ, SAP R/3, Lotus Domino, and Oracle Web Server all use z/OS UNIX.

z/OS UNIX applications can communicate with DB2, CICS, IMS, and WebSphere MQ.

z/OS UNIX is built for the enterprise where you can prioritize workloads for high
performance when running with a mixed workload.

z/OS UNIX has a hierarchical file system familiar to UNIX users.

Applications can work with data in both UNIX hierarchical file systems and traditional
MVS data sets

5
© 2017 IBM Corporation
Unix System Services - tightly integrated within z/OS BCP

The kernel is part of the BCP element of z/OS; it sends instructions to the
processor, schedules work, manages I/O, and tracks processes, open files,
and shared memory, among other things. Other parts of the operating system
or applications request the kernel's services using assembler callable services
(called syscalls). No work gets done in z/OS UNIX without involving the kernel.

A common misconception is that application programmers have a choice of either


running UNIX programs that use UNIX services and file systems or running
MVS programs that use MVS services and MVS data sets. You do not have to
choose between z/OS UNIX and MVS.

There is no wall between UNIX and MVS and there are no "sides"; you do not run
"on the UNIX side" or "the MVS side". z/OS is a powerful blend of UNIX
System Services and MVS.

6
© 2017 IBM Corporation
Unix System Services

7
© 2017 IBM Corporation
UNIX System Services – File Systems

z/OS UNIX System Services (z/OS UNIX) allows z/OS to access UNIX files.

A z/OS UNIX file system is hierarchical and byte-oriented.

Files in the UNIX file system are sequential files and are accessed as byte streams.

UNIX files and traditional z/OS data sets can reside on the same DASD volume.

8
© 2017 IBM Corporation
Unix System Services – File Systems

A physical file system (PFS) controls access to data.

PFSs receive and act upon requests to read and write files that they control.
The format of these requests is defined by the PFS interface.

PFSs include pipes, sockets, the Network File System client, and the following
UNIX file systems:
HFS - Hierarchical File System (special data set type HFS)
zFS - zSeries File System (VSAM formatted by utility to be unix file system)
TFS - Temporary File System

9
© 2017 IBM Corporation
Unix System Services – File Systems

10
© 2017 IBM Corporation
Unix System Services – File Systems

11
© 2017 IBM Corporation
JCL to create Unix filesystem

//DEFINE EXEC PGM=IDCAMS


//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER(NAME(ZOS.UNIX.USER) LINEAR -
SHAREOPTIONS(2) VOLUMES(VPWRKC) CYL(3000))
// IF RC = 0 THEN
//FORMAT EXEC PGM=IOEAGFMT,REGION=0M,
// PARM=('-aggregate ZOS.UNIX.USER -compat')
//SYSPRINT DD SYSOUT=*
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//SYSUDUMP DD DUMMY
//CEEDUMP DD DUMMY
// ELSE
// ENDIF

12
© 2017 IBM Corporation
JCL to mount Unix filesystem

//MOUNT EXEC PGM=IKJEFT01


//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD DUMMY
//SYSTSIN DD *
MKDIR ‘/u/zos/zfs’
MOUNT FILESYSTEM(‘ZOS.UNIX.USER') -
TYPE(ZFS) MODE(RDWR) -
MOUNTPOINT('/u/zos/zfs')
/*

13
© 2017 IBM Corporation
Unix System Services – Data Sets with Unix Filesystems

14
© 2017 IBM Corporation
Unix System Services – D OMVS,F display mounted files

15
© 2017 IBM Corporation
Unix System Services – MVS Data Sets <> Unix Files

16
© 2017 IBM Corporation
Unix System Services – MVS Data Sets <> Unix Files

17
© 2017 IBM Corporation
Unix System Services – MVS Data Sets <> Unix Files

18
© 2017 IBM Corporation
Unix System Services – MVS Data Sets <> Unix Files

19
© 2017 IBM Corporation
Unix System Services – Unix Process display using SDSF

20
© 2017 IBM Corporation
Unix System Services – unix command output

Unix
processes

System info

User activity

Manual pages c compiler

21
© 2017 IBM Corporation
z/OS Unix shell

22
© 2017 IBM Corporation
z/OS Unix shell

23
© 2017 IBM Corporation
z/OS Unix shell

24
© 2017 IBM Corporation
z/OS Unix shell

25
© 2017 IBM Corporation
Unix System Services – unix ls command output

26
© 2017 IBM Corporation
Unix System Services – D OMVS,A=ALL

27
© 2017 IBM Corporation
Unix System Services – MVS base component

28
© 2017 IBM Corporation
Unix System Services – Initialization Parameters

29
© 2017 IBM Corporation
Unix System Services – SYSLOG Messages

BPXF013I FILE SYSTEM OMVS.SVSCPLEX.ROOT


BPXF013I FILE SYSTEM ..................

BPXF203I DOMAIN AF_INET WAS SUCCESSFULLY ACTIVATED.


BPXF203I DOMAIN AF_UNIX WAS SUCCESSFULLY ACTIVATED.
BPXF224I THE RESOLVER_PROC, RESOLVER, IS BEING STARTED.

BPXI004I OMVS INITIALIZATION COMPLETE

30
© 2017 IBM Corporation
Unix System Service Manuals

z/OS Unix System Services Bookshelf


Command Reference
User's Guide
Programming Tools

MVS Bookshelf
Initialization and Tuning Reference (BPXPRMxx)

31
© 2017 IBM Corporation
Unit Summary

Having completed this unit, you should be able to:


 Understand Unix System Services is a base ‘element’
 Understand z/OS uses both MVS and Unix simultaneously
 Understand z/OS is an open operating system capable of web enabling all applications
 Understand z/OS differences between MVS data sets and Unix files
 Understand executable programs can be stored in MVS data sets or Unix files
 Understand data can be stored in MVS data sets or Unix files
 Understand z/OS programs can simultaneously access MVS data sets and Unix files
 Recognize the Unix System Services 3 character component identifier

32
© 2017 IBM Corporation

You might also like