Intro to VM CP & CMS 5/25/2019.

Slides:



Advertisements
Similar presentations
Operating-System Structures
Advertisements

The Web Warrior Guide to Web Design Technologies
.NET Reflector 5.0 Lutz Roeder December Overview C# 3.0: LINQ query expressions, Lambda expressions Code URL: code://mscorlib/System.Object Assembly.
Wednesday, June 07, 2006 “Unix is user friendly … it’s just picky about it’s friends”. - Anonymous.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Virtual Machine and UNIX. What is a VM? VM stands for Virtual Machine. It is a software emulation of hardware. By using a VM, you can have the same hardware.
7/17/2009 rwjBROOKDALE COMMUNITY COLLEGE1 Unix Comp-145 C HAPTER 2.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 12.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
Background - hardware User interface devices to system –Mainframe Text mode only Command-line (text mode) interface “Some” menus available (NOT a GUI)
Python CGI programming
UNIX Commands. Why UNIX Commands Are Noninteractive Command may take input from the output of another command (filters). May be scheduled to run at specific.
© 2004 IBM Corporation IBM ^ z/VM Module 2: Conversational Monitor System (CMS)
SAPC Hardware Pentium CPU (or 486) 4M usable memory no hard disk; boot from floppy no keyboard or monitor or mouse COM2 serial port: used for console i/o.
Computational Boot Camp HTML Mike Schaffer. 8/23/2002 (MES) HTML What is HTML? HTML stands for HyperText Markup Language HTML is the language for publishing.
Introduction to Programming Using C An Introduction to Operating Systems.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
Click to add text © 2004 IBM Corporation IBM ^ z/VM Basic Structures and Commands Control Program.
Embedded Software Design Week II Linux Intro Linux Kernel.
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Review Why do we use protection levels? Why do we use constructors?
Rexx for Shell Scripting or “We don't need no stinkin' bashes...”
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
Development Environment
Introducing the UNIX Operating System.
Chapter Objectives In this chapter, you will learn:
Getting started with CentOS Linux
Web Programming Essentials:
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
The Desktop Screen image displayed when a PC starts up A metaphor
An Introduction to Computers and Visual Basic
The Command Prompt Commands are the way to “do things” in Unix
Chapter 2: System Structures
The Linux Operating System
PRU-ICSS Programming with CCS
Java programming lecture one
Introduction to Computers
An Introduction to Computers and Visual Basic
Bomgar Remote support software
CS 301 Fall 2001 – Chapter 3 Slides by Prof. Hartman, following “IBM PC Assembly Language Programming” by Peter Abel 9/17/2018.
Intro to PHP & Variables
Intro to UNIX System and Homework 1
Microsoft Word 2010: Basics
Telnet/SSH Connecting to Hosts Internet Technology.
HTML Forms and User Input
LING 408/508: Computational Techniques for Linguists
OS Virtualization.
Dreaming of a Paperless Office
SAPC Hardware Pentium CPU (or 486) 4M usable memory
Operating Systems and Using Linux
Operating Systems and Using Linux
Introduction to Algorithm Design
Web Programming Essentials:
Shells, Help, and Paths.
Chapter Four UNIX File Processing.
Getting started with CentOS Linux
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
An Introduction to Computers and Visual Basic
Intro to PHP.
What is Unix? A multi-user networked operating system
Little Man Computer There’s a little man in the mailroom that follows each instruction to the letter but he can only follow one instruction at a time.
University of Warith AL-Anbiya’a
Web Programming and Design
Web Programming and Design
Presentation transcript:

Intro to VM CP & CMS 5/25/2019

Environments CP CMS The real O/S running the mainframe Commands control virtual machine CMS A “shell” & “mini O/S” Has page 0 reserved storage, same as CP Can process virtual interrupts Virtual privileged mode File system Commands for file system & more © D. J. Foreman, 5/25/2019

Environmental hints RUNNING MORE … will auto-clear in 30 seconds data pending for display must clear the screen to see it HOLDING must click on the “clear” button CP READ commands go directly to CP VM READ commands go to CMS You may “pass” commands to CP via “CP” prefix E.g.; CP Q TIME © D. J. Foreman, 5/25/2019

CMS structure Minidisk - Disk storage Access mode - letter (A-Z) assigned to a disk Search order – like “path” in Windows or Linux but only contains access mode letters “flat” file system No “folders” Files have a name, a type and a mode-letter E.g.; sos assemble a Default mode-letter is “A” © D. J. Foreman, 5/25/2019

More on structure Search order z/a means search ‘z’ as if it was at end of ‘a’ R/O disk is read only RW disk is read & write Shared file system (SFS) (not available for 552) Hierarchical file system Extends CMS file system Sub-directories Multi-user accessible © D. J. Foreman, 5/25/2019

Bingtjw 3270 login screen © D. J. Foreman, 5/25/2019

Logging in CMS shell auto-starts PROFILE EXEC – Rexx script runs Connects to Foreman’s 999 as your “Z” disk Sets up for printing Screen captures Files Runs PROFILE2 EXEC (also in Rexx) Sets up colors Sets up F-keys F2 = retrieve F3 = clear screen Asks for re-boot into Linux © D. J. Foreman, 5/25/2019

Some basic CP commands Ipl like BIOS, loads an O/S I CMS I 222 (to “boot” your SOS program) Query - ask about virtual environment SET - change virtual environment Begin - resumes execution Trace - instruction tracing, like gdb in Linux Display - show RAM, PSW, register content Commands are NOT case sensitive © D. J. Foreman, 5/25/2019

CMS Command Syntax Command [Operands] [( options] Commands have a “minimal truncation” The ( is required preceding any options Commands are NOT case sensitive © D. J. Foreman, 5/25/2019

Some basic CMS commands HELP - activities & specific commands ACcess - put a disk in the search order Query - file system & other info Search - lists disks in search order Disk - lists virtual disks Time SET - file system & environment SENDFile Fn Ft to user at loc (SMTP FILEList hx - halts execution of a CMS program © D. J. Foreman, 5/25/2019

More CMS commands Load - links elements of a program Genmod - makes a RAM image of a program COPYfile - copies files Print - send a file to the output queue - should be available via Pharos TELL - sends a message to another user #CP - forces command directly to CP - bypasses any outstanding “read” - never seen by user’s program © D. J. Foreman, 5/25/2019

XEDIT Built into CMS Command driven Expandable via REXX programs See Z-disk for examples Tailorable elements Colors Layout © D. J. Foreman, 5/25/2019

Some Xedit commands Commands operate from “current line” to end f, b scroll forward or back .name scroll to named line top scroll to top of file bot scroll to bottom of screen /string locate “string” c/s1/s2 change s1 to s2 c/s1/s2/* change s1 to s2 on all lines c/s1/s2/3 4 change s1 to s2 on 3 lines for up to 4 occurrences per line © D. J. Foreman, 5/25/2019

Xedit “line” commands .name names a line c copy cc copy multiple lines (must be paired) a after b before © D. J. Foreman, 5/25/2019

REXX Similar to many procedural languages All variables are strings PL/1 Perl Pascal All variables are strings Built-in conversion as needed Text parsing function © D. J. Foreman, 5/25/2019

Special setup instructions for advanced O/S class Format 222 I Creates the CMS file system for this disk Puts disk in search order as disk “I” Format 222 I 4 (recomp Reserves 1 cylinder for SAL You only need to do this ONE TIME © D. J. Foreman, 5/25/2019