© 2004 IBM Corporation IBM ^ z/VM Module 2: Conversational Monitor System (CMS)

Slides:



Advertisements
Similar presentations
OPERATING SYSTEM INTRODUCTION
Advertisements

Operating-System Structures
Chap 2 System Structures.
Operating-System Structures
Introduction CSCI 444/544 Operating Systems Fall 2008.
Lecture 1: History of Operating System
Threads Section 2.2. Introduction to threads A thread (of execution) is a light-weight process –Threads reside within processes. –They share one address.
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
© 2004 IBM Corporation IBM ^ z/VM Module 9: Performance.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
1 Chapter 4 Threads Threads: Resource ownership and execution.
A. Frank - P. Weisberg Operating Systems Introduction to Tasks/Threads.
Lecture Nine Database Planning, Design, and Administration
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Database System Architectures  Client-server Database System  Parallel Database System  Distributed Database System Wei Jiang.
The Origin of the VM/370 Time-sharing system Presented by Niranjan Soundararajan.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Overview of the Database Development Process
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
CICS – Mainframe (LC) 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/TP01/003 Version No: 1.0 Course Schedule Day1 - Introduction to CICS Day2.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
Mastering the AS/400, Third Edition, author Jerry Fottral 1 Week 2 The System The AS/400 is a multi-user, multi-tasking system -- a system on which many.
CHAPTER FOUR COMPUTER SOFTWARE.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Components of Database Management System
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview Part 2: History (continued)
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Suite zTPFGI Facilities. Suite Focus Three of zTPFGI’s facilities:  zAutomation  zTREX  Logger.
© 2004 IBM Corporation IBM ^ z/VM Design considerations > Security > Performance (SIE)
INFORMATION SYSTEM-SOFTWARE Topic: OPERATING SYSTEM CONCEPTS.
Chapter 2 Processes and Threads Introduction 2.2 Processes A Process is the execution of a Program More specifically… – A process is a program.
Operating System Structure A key concept of operating systems is multiprogramming. –Goal of multiprogramming is to efficiently utilize all of the computing.
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 7: Batch processing and the Job Entry Subsystem (JES) Batch processing and JES.
Lecture 5: Threads process as a unit of scheduling and a unit of resource allocation processes vs. threads what to program with threads why use threads.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Process-Concept.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Processes and Threads.
1 Process Description and Control Chapter 3. 2 Process A program in execution An instance of a program running on a computer The entity that can be assigned.
2.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition System Programs (p73) System programs provide a convenient environment.
Click to add text © 2004 IBM Corporation IBM ^ z/VM Basic Structures and Commands Control Program.
HNC COMPUTING - Network Concepts 1 Network Concepts Network Concepts Network Operating Systems Network Operating Systems.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
Some of the utilities associated with the development of programs. These program development tools allow users to write and construct programs that the.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Advanced Operating Systems CS6025 Spring 2016 Processes and Threads (Chapter 2)
CT101: Computing Systems Introduction to Operating Systems.
Development Environment
2. OPERATING SYSTEM 2.1 Operating System Function
z/VM Module 2: Conversational Monitor System (CMS)
Chapter 2: System Structures
Introduction to Operating System (OS)
Computers Are Your Future
Chapter 2: System Structures
Process Description and Control
Threads Chapter 4.
Chapter 2: Operating-System Structures
Operating System Overview
Presentation transcript:

© 2004 IBM Corporation IBM ^ z/VM Module 2: Conversational Monitor System (CMS)

© 2004 IBM Corporation IBM ^ Objectives  List z/VM’s base components and describe how they work together  Describe CMS and the tasks it can accomplish  State why CMS Pipelines are an important feature of z/VM  Describe CMS Application Multitasking  Describe the XEDIT environment and its purpose

© 2004 IBM Corporation IBM ^ Objectives continued  Describe the three important application environments that CMS supports: –Callable Service Library (CSL) –OpenExtensions –Reusable Server Kernel  Show how to find and use the Help Facility  Explain Shared File System (SFS) setup and configuration  Explain how syntax diagrams are used  List and describe the most important and useful CMS commands

© 2004 IBM Corporation IBM ^ Introducing z/VM’s Base Components  Conversational Monitor System (CMS)  An end-user interface for running user programs  Control Program (CP)  A component that manages the resources of a single system to make it appear that multiple computing systems exist  REXX/VM  A programming language that allows you to write customized application programs and command procedures  Group Control System (GCS)  A virtual machine supervisor that provides multitasking services

© 2004 IBM Corporation IBM ^ Introducing z/VM’s Base Components continued  Transparent Services Access Facility (TSAF)  APPC/VM VTAM Support (AVS)  Virtual Machine Serviceability Enhancements Staged/Extended (VMSES/E)  Dump Viewing Facility

© 2004 IBM Corporation IBM ^ What is CMS?  Conversational Monitor System is an operating system environment itself  Over time CMS became a part of VM  CMS is a single user operating system, which makes it possible to:  Create and maintain files  Write and execute application programs  CMS communicates with users through the console

© 2004 IBM Corporation IBM ^ CMS Tasks With CMS, you can:  Write, test, and debug application programs for use on CMS or guest systems  Run application programs developed on CMS or guest systems  Create and edit data files  Process jobs in batch mode  Share data between CMS and guest systems  Communicate with other system users

© 2004 IBM Corporation IBM ^ Structure of CMS

© 2004 IBM Corporation IBM ^ Callable Services Library (CSL)

© 2004 IBM Corporation IBM ^ CMS Pipelines  Provide a rich and efficient set of functions that can be used to solve large problems by breaking them up into smaller programs  Smaller programs are called stages  Stages:  Read data  Filter and refine data  Combine multiple data items

© 2004 IBM Corporation IBM ^ CMS Pipelines

© 2004 IBM Corporation IBM ^ Pipeline Example pipe < profile exec | count lines | console  This command executes the number of lines contained within your PROFILE EXEC file.

© 2004 IBM Corporation IBM ^ CMS Application Multitasking  An application can be divided into multiple units of execution, called threads.  Threads have the ability to run on multiple CPUs at the same time  Multitasking facilities allow applications to harness the power of the underlying multiprocessor complex to achieve high performance.

© 2004 IBM Corporation IBM ^ OpenExtensions  OpenExtensions provides open systems support in two ways:  OpenExtensions Services  OpenExtensions Shell and Utilities  OpenExtensions Services include:  POSIX.1—System Interfaces  POSIX.1a—Extensions to POSIX.1  POSIX.1c—Threads

© 2004 IBM Corporation IBM ^ OpenExtensions – Invocation  Invocation from REXX Procedures example  OPENVM is a z/VM subcommand environment  OPENVM makes invocation of callable services look like other requests for host functions  The OPENVM language binding file defines REXX variables used by the OpenExtensions services. You include the file using the APILOAD function.

© 2004 IBM Corporation IBM ^ Reusable Server Kernel  Enables vendors and application programmers to write multithreaded server programs  The server kernel is the starting point for a server program  To construct a server program you need:  A text library of routines  A macro library of function prototypes  Constant definitions  These entities are supplied by the Reusable Server Kernel

© 2004 IBM Corporation IBM ^ Additional RSK Help Areas  Connectivity  DASD I/O  Authorization  Memory management  Runtime environment  Worker machines  Configuration and operation

© 2004 IBM Corporation IBM ^ XEDIT

© 2004 IBM Corporation IBM ^ XEDIT continued

© 2004 IBM Corporation IBM ^ XEDIT continued

© 2004 IBM Corporation IBM ^ The Batch Facility  Can take over both short and long processing jobs for you  Frees up your time to continue working at your terminal  Two examples: –Have the facility format text and send it to the printer, instead of doing it yourself –Have large jobs run throughout the night to take advantage of lower computing costs

© 2004 IBM Corporation IBM ^ How the VM Batch Facility Works  The process starts when you submit a job to the VM Batch Facility  The monitor virtual machine receives your job and holds it until it can start  A task virtual machine runs your job  The monitor machine periodically checks your job while it runs  Your commands can retrieve the status of a job, change how and when it is to run, and cancel a job  When your job is completed, the task machine logs off and is ready for another job

© 2004 IBM Corporation IBM ^ z/VM Help Facility  CMS Help Facility provide assistance for:  Tasks  Commands and options  Subcommands  REXX statements  Callable routines  Pipeline stages  Assembler language macros  Messages

© 2004 IBM Corporation IBM ^ Shared File System (SFS)  Files are stored in file pools  A user can be given an amount of file space in a pool  The files in a file space are organized in directories  A file can be placed in more than one directory

© 2004 IBM Corporation IBM ^ Shared File System (SFS) continued  Users can grant each other authorities for files or directories  Multiple users can have concurrent access to the same file or directory  Locks on files and directories ensure data integrity among multiple users  You can share files and directories with users on other systems

© 2004 IBM Corporation IBM ^ Syntax Diagrams (basics)  Read syntax diagrams from left to right and from top to bottom  This side module shows you descriptions and examples

© 2004 IBM Corporation IBM ^ CMS Commands

© 2004 IBM Corporation IBM ^ QUERY

© 2004 IBM Corporation IBM ^ QUERY – Usage Notes

© 2004 IBM Corporation IBM ^ SET

© 2004 IBM Corporation IBM ^ ACCESS

© 2004 IBM Corporation IBM ^ ACCESS

© 2004 IBM Corporation IBM ^ ACCESS – Usage Notes  Using the ACCESS command with a directory ID or a device number –With and without a file pool  Using the ACCESS command with a directory ID –Determining status by ownership  Using the ACCESS command with a virtual device number –Access can create a file directory in your virtual machine when one is not present

© 2004 IBM Corporation IBM ^ RELEASE  The RELEASE Command is used to free an accessed disk that was previously accessed with the ACCESS Command.  Example:  release 0293

© 2004 IBM Corporation IBM ^ RELEASE  If you want to release and detach the 498 disk that is accessed as your file mode b, then issue:  release 498 (det OR -- release b (det  To just release the disk currently accessed as file mode c, issue:  release c

© 2004 IBM Corporation IBM ^ FORMAT

© 2004 IBM Corporation IBM ^ FORMAT – Usage Notes  Examples of RECOMP and LABEL: –format 192 b (recomp) –format 193 c (label)  Formatting a disk requires heavy processor utilization, so can be slow and affect performance  Choose the appropriate block size to optimize: –space utilization –performance  Automatic formatting is possible on the 192 disk

© 2004 IBM Corporation IBM ^ Conclusion  CMS – Conversational Monitor System  Is a operating system that runs within z/VM  CMS tasks include writing, testing, and debugging application programs to be used by CMS or z/VM guest systems  CMS runs the full-screen editing facility called XEDIT  The CMS help facility is a CMS Command that can be accessed when help is needed by entering:  help cms

© 2004 IBM Corporation IBM ^ Glossary Conversational Monitor System (CMS)- A component of z/VM that runs in a virtual machine and provides both the interactive z/VM end-user interface and the general z/VM application programming interface. CMS runs only under the control of the z/VM Control Program (CP). CMS Pipelines- CMS job control product for z/VM that enables complex tasks to be specified and executed. CMS Pipelines has three parts – a command parser, a library of built-in programs, and a dispatcher. Callable Services Library-A package of CMS routines that can be stored as an entity and made available to a high-level language, REXX, or an assembler program.

© 2004 IBM Corporation IBM ^ Glossary File pool-A collection of minidisks managed by a file pool server. It contains user files and directories and associated control information. The files and directories for many users can be contained in a single file pool. Group Control System (GCS)- A component of z/VM, consisting of a named saved system that the user can IPL and run in a virtual machine. It provides simulated MVS services and unique supervisor services to help support a native SNA network. Initial Program Load (IPL)- The process of loading an operating system into a machine OpenExtensions Services- The VM implementation of three POSIX standards

© 2004 IBM Corporation IBM ^ Glossary OpenExtensions Shell and Utilities- provides application development tools and an interactive environment in support of the POSIX application environment. REXX/VM- (REstructed eXtended eXecutor programming language) processes English-like commands. XEDIT- A full-screen editing facility that runs under CMS.

© 2004 IBM Corporation IBM ^ References  CMS Command and Utility Reference. Manual Number: SC Third Edition (May 2002).  CMS User’s Guide. Manual Number: SC First Edition (July 2001).