Chapter 16 - Monitoring Hardware and Jobs

Slides:



Advertisements
Similar presentations
Week # 3 AS/400 Library List A library list is:
Advertisements

Unit 3. Save/Restore 3.1 OS/400 save and restore concepts 3.2 Save data offline3 3.3 Restoring data to system 3.4 Automatic Backup by scheduling.
User Query Control An Enhancement For AS/400 Query On The IBM iSeries from  Copyright I/O International, 2005 Skip Intro.
August 29, Accessing the iSeries and Some Commands.
L11C8C9ops400.ppt1 SUBSYSTEMS and PERFORMANCE Chapter 8.
 Copyright I/O International, 2013 Visit us at: A Feature Within from Vendor Payment Terms User Friendly Maintenance 
Operating-System Structures
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
DiskScope. Do you need DiskScope? Vanishing disk space ? Poor I/O performance ? No time to investigate ? No resources for solutions ? Don’t know when,
I/O Shipping Management An Enhancement For AS/400 DMAS From  Copyright I/O International, 2002 Skip Intro.
Professor Michael J. Losacco CIS 1110 – Using Computers Operating Systems & Utility Programs Chapter 7.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 8: Troubleshooting Storage Devices and Display Devices.
Operating Systems: Software in the Background
Chapter 14 Chapter 14: Server Monitoring and Optimization.
Introduction of z/OS Basics © 2006 IBM Corporation Chapter 5: Working with data sets.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
1 I/O Management in Representative Operating Systems.
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 7: Batch processing and the Job Entry Subsystem (JES) Batch processing and JES.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
1 Intro to the AS/400 Chapter 8 - Data File Utility Copyright 1999 by Janson Industries.
The AS/400 and the printing process
Introduction to Query Part 2. Query Topics Joining Files Defining Result Fields Complex Record Selection Formatting Output Creating Reports Using Multiple.
1 REVIEW Object types - ???? System security levels - ???? Current library - How is it assigned ???? How do you change it??? Qualified naming - What is.
Stephen Linkin Houston Community College January 15, 2007 © Mike Murach & Associates, HCC, IBM 1 Introduction To IBM Mainframe Systems Chapter.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 5: Batch processing and the Job Entry Subsystem (JES) Batch.
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Chapter 4 System Software.
Operating Systems.  Operating System Support Operating System Support  OS As User/Computer Interface OS As User/Computer Interface  OS As Resource.
OPERATING SYSTEM OVERVIEW. Contents Basic hardware elements.
Lesson 11-Locating, Printing, and Archiving User Files.
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 16 Designing Effective Output. E – 2 Before H000 Produce Hardware Investment Report HI000 Produce Hardware Investment Lines H100 Read Hardware.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Chapter Eight Exploring the UNIX Utilities. 2 Lesson A Using the UNIX Utilities.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 4: Working with data sets.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
Introduction to Query Part 1. Query Overview Quick Utility Efficient Report Yes! Impress your manager!
L9C6ops400.ppt1 Device configuration Chapter 6 How to connect devices to the AS/400.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
Week 4 presentation! This week we will cover editing and the use of the on-board tools provided, SEU and PDM.
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 7: Batch processing and the Job Entry Subsystem (JES) Batch processing and JES.
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 7: Batch processing and the Job Entry Subsystem (JES) Batch processing and JES.
Lecture 3 REVIEW of concepts security assistance profiles Library list
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
BABCA Software Operating Systems (OS) aka Systems Software A set of instructions that coordinate all the activities among computer hardware resources.
1 Week # 4 Introduction to PDM PDM is a workbench environment that lets programmers and system operators navigate the three levels of the AS/400’s object-based.
Click to add text © 2004 IBM Corporation IBM ^ z/VM Basic Structures and Commands Control Program.
Basic Navigation in Oracle R12 BY: Muhammad Irfan.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
SQL Database Management
Messages, Logs, and Cleanup
Chapter 6 Chapter 6 - Summary.
Objects, Libraries, and Library Lists
Chapter 10 Backup and Recovery.
Chapter 2: System Structures
OS/400 Command Structure and Control Language
Starting and Stopping the AS/400
Chapter 13 Subsystems.
Handling Spooled Files and Printing Functions
Processor Management Damian Gordon.
Chapter 2: Operating-System Structures
Chapter 2: Operating-System Structures
Processor Management Damian Gordon.
Presentation transcript:

Chapter 16 - Monitoring Hardware and Jobs 4/20/2017 Intro to the AS/400 Chapter 16 - Monitoring Hardware and Jobs Copyright 1999 by Janson Industries Copyright Janson Industries 1999

Objectives Show how to control jobs and hardware devices 4/20/2017 Objectives Show how to control jobs and hardware devices Define and explain: Jobs Job Queues Subsystems Explain and show how to change device status The student should also be able to do the following: Locate components and devices. Invoke the data management and application development tools. Copyright Janson Industries 1999

System Components Peripheral Devices Processing Unit Workstations Printers Tape Drives Diskette Drives Disk Drives Processing Unit Copyright Janson Industries 1999

Managing Peripherals - Go Device DEVICE Device Operations System: S1010045 Select one of the following: 1. Work with device status 2. Work with displays 3. Printer 4. Tape 5. Diskette 6. Configure PC connections 70. Related commands Selection or command ===> __________________________________________________________________________ _______________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu

Managing Peripherals Options 2-6 will allow you to display: each peripheral device in the selected category the status of each device You can also choose options to: change the status of the device change the device definition work with job(s) using the device

Work with Displays Work with Configuration Status S1010045 05/05/99 13:30:12 Position to . . . . . __________ Starting characters Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status ... Opt Description Status -------------Job-------------- __ DSP01 ACTIVE DSP01 QSECOFR 018032 __ QCONSOLE VARIED OFF __ QPADEV0001 VARY ON PENDING __ QPADEV0002 VARY ON PENDING __ QPADEV0003 VARY ON PENDING __ QPADEV0004 ACTIVE QPADEV0004 INTROXX 018187 __ QPADEV0005 VARY ON PENDING __ QPADEV0006 VARY ON PENDING __ QPADEV0007 VARY ON PENDING More... Parameters or command ===> _________________________________________________________________________ F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys Device User id Job Name Number For active displays

Changing device status The “Work with Configuration Status” screen options let you: Make the device unavailable (vary off) Make the device available (vary on) Halt communication to/from the device (hold) Resume communication to/from the device (release)

Q Printers A printer/printing is more complicated than a display The “Printer” screen provides control over all the elements involved in the printing process Q Print Writer CPU Spool file Spool file Spool file Printer

Printer screen PRINTER Printer System: S1010045 Select one of the following: 1. Work with spooled output files 2. Work with printers 3. Change job printer 4. Work with printer device status 5. Work with output queues 6. Display default system printer 7. Change default system printer 70. Related commands Selection or command ===> _________________________________________________________________________ _______________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu

Printer screen The “Printer” screen options let you: Change the status of: the printer (opt 2 or 4) spool files (opt 1) an output queue (opt 5) the printer writer (opt 4 then option 5) Change the default system printer Delete spool files End the printer writer

Working With Printing Components The “Work with Configuration Status” screen for printers provides the same capabilities as for terminals: change the device status work with the job (printer writer) using the device Working with an output queue or printer writer will affect many spool files Individual spool file controls include: delete assign to a different queue hold

Spool Files & Output Queues Work with All Output Queues Type options, press Enter. 2=Change 3=Hold 4=Delete 5=Work with 6=Release 8=Description 9=Work with Writers 14=Clear Opt Queue Library Files Writer Status __ MYQ QGPL 0 RLS __ QDKT QGPL 0 RLS __ QPFROUTQ QGPL 0 RLS __ QPRINT QGPL 120 QPRINT RLS __ QPRINTS QGPL 0 RLS __ QPRINT2 QGPL 0 RLS __ Q1 QGPL 0 RLS __ Q2 QGPL 0 RLS __ Q3 QGPL 0 RLS __ STHG306 QGPL 0 STHG306 RLS __ STHLAB1 QGPL 1 STHLAB1 RLS __ TRSTUD QGPL 0 RLS More... Command ===> _________________________________________________________________________ F3=Exit F4=Prompt F5=Refresh F12=Cancel F24=More keys Holding QPRINT would affect 120 spool files!

Working with Output Queues The screens also provide some maintenance functions Option 14 - Clear (CLROUTQ) And alternative access (other than the “Device” screen) to print control functions Option 9 - Work with Writers - provides access to printer writer functions

Storage Device Management Tape and Diskette device screens provide the same capabilities as terminal and printer screens Also provide specialized “storage functions”: Displaying storage media information Initializing the storage media Displaying the contents of storage Saving/Restoring

Tape Devices Look familiar? TAPE Tape System: S1010045 Select one of the following: 1. Display tape information 2. Initialize a tape 3. Print contents of a tape 4. Save 5. Restore 6. Work with tape device status 7. Verify tape 70. Related commands Selection or command ===> _____________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu Work with Configuration Status S1010045 05/11/99 14:19:45 Position to . . . . . __________ Starting characters Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status ... Opt Description Status -------------Job-------------- __ TAP01 VARIED ON Bottom Parameters or command ===> _ F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys Look familiar?

General information re: files on the tape TAPE Tape System: S1010045 Select one of the following: 1. Display tape information 2. Initialize a tape 3. Print contents of a tape 4. Save 5. Restore 6. Work with tape device status 7. Verify tape 70. Related commands Selection or command ===> _____________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu Display Tape (DSPTAP) Type choices, press Enter. Tape device . . . . . . . . . . TAP01 Name Volume identifier . . . . . . . *MOUNTED Character value, *MOUNTED File label . . . . . . . . . . . *ALL Sequence number . . . . . . . . 1 1-9999 Data type . . . . . . . . . . . *LABELS *LABELS, *SAVRST Output . . . . . . . . . . . . . * *, *PRINT End of tape option . . . . . . . *REWIND *REWIND, *UNLOAD Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Display Tape Volume Information Device . . . . . . : TAP01 Volume ID . . . . : FRI001 Owner ID . . . . . : Density . . . . . : *QIC1000 Type . . . . . . . : *SL Code . . . . . . . : *EBCDIC Data file label . . . . . . . . . : ECLXX File sequence . . . . . . . . . . : 0005 Record format . . . . . . . . . . : U Block attribute . . . . . . . . . : Record length . . . . . . . . . . : 00000 Block length . . . . . . . . . . . : 32760 File length . . . . . . . . . . . : 000006 Buffer offset . . . . . . . . . . : Control character . . . . . . . . : More... Press Enter to continue. F3=Exit F12=Cancel F14=Previous entry General information re: files on the tape

Detailed information re: files on the tape Display Tape (DSPTAP) Type choices, press Enter. Tape device . . . . . . . . . . TAP01 Name Volume identifier . . . . . . . *MOUNTED Character value, *MOUNTED File label . . . . . . . . . . . *ALL Sequence number . . . . . . . . 1 1-9999 Data type . . . . . . . . . . . *SAVRST *LABELS, *SAVRST Output . . . . . . . . . . . . . * *, *PRINT End of tape option . . . . . . . *REWIND *REWIND, *UNLOAD Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Display Saved Objects - Tape Library . . . . . . : ECLXX Release level . . . : V R M0 ASP . . . . . . . . : 1 File sequence . . . : 5 Volume ID . . . . . : FRI001 Data compressed . . : Yes Expiration date . . : *PERM Data compacted . . . : No Save command . . . . : SAVCHGOBJ Objects displayed . : 6 Save active . . . . : *NO Objects saved . . . : 8 File label ID . . . : ECLXX Access paths . . . . : 0 Save date/time . . . : 05/10/99 23:00:59 Type options, press Enter. 5=Display saved data base file members Opt Object Type Attribute Owner Size Data SUPQRY *QRYDFN QRY INTROXX 12800 YES _ CUST *FILE PF INTROXX 17408 YES _ DDSSRC *FILE PF INTROXX 27648 YES _ INVDATA *FILE PF INTROXX 17408 YES _ PRODUCT *FILE PF INTROXX 17408 YES _ SUPPLIER *FILE PF INTROXX 7680 YES + F3=Exit F12=Cancel Detailed information re: files on the tape

Diskette and Tape Drives The storage media has to be initialized before information can be written TAPE Tape System: S1010045 Select one of the following: 1. Display tape information 2. Initialize a tape 3. Print contents of a tape 4. Save 5. Restore 6. Work with tape device status 7. Verify tape 70. Related commands Selection or command ===> _____________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu

If there are active files on the tape: Initializing Specify the tape drive and press Enter Initialize Tape (INZTAP) Type choices, press Enter. Tape device . . . . . . . . . . TAP01 Name New volume identifier . . . . . *NONE Character value, *NONE... New owner identifier . . . . . . *BLANK Volume identifier . . . . . . . *MOUNTED Character value, *MOUNTED Check for active files . . . . . *YES *YES, *NO, *FIRST Tape density . . . . . . . . . . *DEVTYPE *DEVTYPE, *QIC120, *QIC525... Code . . . . . . . . . . . . . . *EBCDIC *EBCDIC, *ASCII End of tape option . . . . . . . *REWIND *REWIND, *UNLOAD Clear . . . . . . . . . . . . . *NO *NO, *YES Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys If there are active files on the tape: Active file XXXXXXX found on volume XXXXX.

Disk Drives Go CMDDSK Primary tool is WRKDSKSTS CMDDSK Disk Commands Select one of the following: Commands 1. End Disk Data Collection ENDDSKCOL 2. Print Disk Information PRTDSKINF 3. Print Disk Activity Report PRTDSKRPT 4. Retrieve Disk Information RTVDSKINF 5. Start Disk Data Collection STRDSKCOL 6. Work with Disk Status WRKDSKSTS Bottom Selection or command ===> _________________________________________________________________________ ______________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F16=Major menu Primary tool is WRKDSKSTS

Work with Disk Status (WRKDSKSTS) Type choices, press Enter. Output . . . . . . . . . . . . . * *, *PRINT Reset status statistics . . . . *NO *NO, *YES Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Work with Disk Status S1010045 05/11/99 16:52:01 Elapsed time: 00:00:00 Size % I/O Request Read Write Read Write % Unit Type (M) Used Rqs Size (K) Rqs Rqs (K) (K) Busy 1 6109 988 57.6 .0 .0 .0 .0 .0 .0 0 2 6109 988 57.4 .0 .0 .0 .0 .0 .0 0 3 6109 988 57.4 .0 .0 .0 .0 .0 .0 0 4 6109 988 57.3 .0 .0 .0 .0 .0 .0 0 5 6109 988 15.8 .0 .0 .0 .0 .0 .0 0 6 6109 988 15.8 .0 .0 .0 .0 .0 .0 0 Bottom Command ===> _________________________________________________________________________ F3=Exit F5=Refresh F12=Cancel F24=More keys Initial screen shows each disk units: Type Capacity Utilization Press F5 (Refresh) to see performance/status

WRKDSKSTS % BUSY Work with Disk Status S1010045 05/11/99 16:52:59 Elapsed time: 00:00:57 Size % I/O Request Read Write Read Write % Unit Type (M) Used Rqs Size (K) Rqs Rqs (K) (K) Busy 1 6109 988 57.6 1.7 2.7 1.4 .3 2.8 1.9 3 2 6109 988 57.4 2.5 1.9 1.5 1.0 2.5 .9 5 3 6109 988 57.4 1.7 2.0 1.2 .5 1.9 2.1 3 4 6109 988 57.3 1.4 2.9 1.3 .1 3.0 1.4 2 5 6109 988 15.8 .5 1.7 .5 .0 1.9 .6 1 6 6109 988 15.8 1.0 2.3 .8 .2 2.4 2.1 2 Bottom Command ===> _________________________________________________________________________ F3=Exit F5=Refresh F12=Cancel F24=More keys Displays summary I/O transaction information for elapsed time period Most important information % BUSY

Prints detailed transaction report using data collected by Disk Drives Report Options CMDDSK Disk Commands Select one of the following: Commands 1. End Disk Data Collection ENDDSKCOL 2. Print Disk Information PRTDSKINF 3. Print Disk Activity Report PRTDSKRPT 4. Retrieve Disk Information RTVDSKINF 5. Start Disk Data Collection STRDSKCOL 6. Work with Disk Status WRKDSKSTS Bottom Selection or command ===> _________________________________________________________________________ ______________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F16=Major menu Prints detailed transaction report using data collected by options 1 and 5

PRTDSKRPT Details regarding what was accessed on each disk and disk activity statistics

Disk Monitoring Provides reports on disk space and contents. CMDDSK Disk Commands Select one of the following: Commands 1. End Disk Data Collection ENDDSKCOL 2. Print Disk Information PRTDSKINF 3. Print Disk Activity Report PRTDSKRPT 4. Retrieve Disk Information RTVDSKINF 5. Start Disk Data Collection STRDSKCOL 6. Work with Disk Status WRKDSKSTS Bottom Selection or command ===> _________________________________________________________________________ ______________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F16=Major menu Provides reports on disk space and contents. The disk information must first be collected with RTVDSKINF.

Disk Monitoring Content reports can be for libraries, folders, objects, etc. Subsetting criteria The objects on the report can be sorted by size, owner, alphabetically, etc.

Disk Information Includes: Usage (in bytes and % of available space) according to general categories

Disk Information Usage (in bytes and % of available space) in more detailed categories

Disk Information Detailed space usage (for libraries or objects or folders, etc.) in sort order

Processing Unit Components 4/20/2017 Processing Unit Components Control/status is provided for: Communication Devices Lines Controllers System Processor Main Storage System processor - the current AS/400 allows for 64 bit addressing. The current processor is the new RISC processor. Main Storage - all programs and data that the system processor is currently executing are contained in main storage. Control Storage - Control storage is a high-speed memory area containing the most often used LIC instructions. Input/Output Bus - is the internal circuitry that provides the high-speed transfer of data between the system processor I/O processors - All I/O devices attached to the AS/400 are managed by the I/O processors. Each processor has separate responsibilities and tasks that are performed simultaneously and in coordination with the system processor. Service processor - The service processor is a specialized processor that constantly monitors system performance. Copyright Janson Industries 1999

Communication Devices Just like the “DEVICE” screen, the CMNSTS screen provides access to the “Work with Configuration Status” screen.

Communication Devices In this case, you specify the category of communication device

Communication Devices Standard device status screen and functions

Processing Unit Resources Some system resources like Main memory Processor time Subsystems are groupings of these resources In other words, creating a subsystem means allocating resources need to be more tightly controlled

Processing Unit Resources Each device is then assigned to a subsystem Therefore, work (jobs) associated with a device is done with the allocated subsystem resources Different types of jobs include: Interactive Batch Communication

Jobs Can be created many different ways: You can also: Signing on creates an interactive job. All the work you do is considered part of that job You can also: Submit jobs (SBMJOB) Schedule jobs to run at a particular date and time (ADDJOBSCDE) And, of course, there are a rich set of commands and screens to manage and control jobs

Jobs, Subsystems & Job Queues Just like messages and output, there is more than meets the eye to jobs. When work is requested the job is sent to a job queue Job queues are tied to subsystems Jobs can be sent to specific job queues (SBMJOB) OR the device’s default job queue can be used (as is done when you sign on)

Jobs, Subsystems & Job Queues Memory Job Queue User CRTCLPGM Job Processor Spool file (Compilation Report) Output Queue Print Writer Spool file Spool file Printer

Jobs You can monitor/control the job while it’s WRKACTJOB On the job queue (WRKJOBQ) In the subsystem (WRKACTJOB) WRKACTJOB Lets you specify which subsystem Provides standard control functions hold release end Allows you to change job attributes

WRKACTJOB It also shows CPU utilization for the entire system and each active job The function each job is executing and the status of each job and subsystem

Subsystems & Main Memory MM “carved up” into pools You can display & modify the MM pool allocation with WRKSYSSTS Pools are assigned to subsystems You can display/modify the pool/subsystem assignment with WRKSBS WRKSBS also provides control functions over the subsystem

WRKSYSSTS

WRKSBS

4/20/2017 Points to Remember The AS/400 has many hardware management functions which can be accessed from the DEVICE, CMNSTS and WRKSYSSTS screens Disk management is limited to reporting functions from CMDDSK menu Subsystems are allocations of system resources All work is performed as jobs within subsystems Copyright Janson Industries 1999