Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 16 - Monitoring Hardware and Jobs

Similar presentations


Presentation on theme: "Chapter 16 - Monitoring Hardware and Jobs"— Presentation transcript:

1 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

2 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

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

4 Managing Peripherals -
Go Device DEVICE Device Operations System: S 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

5 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

6 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 __ DSP ACTIVE DSP QSECOFR __ QCONSOLE VARIED OFF __ QPADEV VARY ON PENDING __ QPADEV VARY ON PENDING __ QPADEV VARY ON PENDING __ QPADEV ACTIVE QPADEV0004 INTROXX __ QPADEV VARY ON PENDING __ QPADEV VARY ON PENDING __ QPADEV 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

7 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)

8 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

9 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

10 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

11 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

12 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 RLS __ QDKT QGPL RLS __ QPFROUTQ QGPL RLS __ QPRINT QGPL QPRINT RLS __ QPRINTS QGPL RLS __ QPRINT QGPL RLS __ Q QGPL RLS __ Q QGPL RLS __ Q QGPL RLS __ STHG QGPL STHG RLS __ STHLAB QGPL STHLAB RLS __ TRSTUD QGPL RLS More... Command ===> _________________________________________________________________________ F3=Exit F4=Prompt F5=Refresh F12=Cancel F24=More keys Holding QPRINT would affect 120 spool files!

13 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

14 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

15 Tape Devices Look familiar?
TAPE Tape System: S Select one of the following: Display tape information Initialize a tape Print contents of a tape Save Restore Work with tape device status Verify tape 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 S 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 __ TAP VARIED ON Bottom Parameters or command ===> _ F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys Look familiar?

16 General information re: files on the tape
TAPE Tape System: S Select one of the following: Display tape information Initialize a tape Print contents of a tape Save Restore Work with tape device status Verify tape 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 TAP Name Volume identifier *MOUNTED Character value, *MOUNTED File label *ALL Sequence number 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 : TAP Volume ID : FRI001 Owner ID : Density : *QIC1000 Type : *SL Code : *EBCDIC Data file label : ECLXX File sequence : Record format : U Block attribute : Record length : Block length : File length : Buffer offset : Control character : More... Press Enter to continue. F3=Exit F12=Cancel F14=Previous entry General information re: files on the tape

17 Detailed information re: files on the tape Display Tape (DSPTAP)
Type choices, press Enter. Tape device TAP Name Volume identifier *MOUNTED Character value, *MOUNTED File label *ALL Sequence number 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 : File sequence : 5 Volume ID : FRI 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/ :00:59 Type options, press Enter. 5=Display saved data base file members Opt Object Type Attribute Owner Size Data SUPQRY *QRYDFN QRY INTROXX YES _ CUST *FILE PF INTROXX YES _ DDSSRC *FILE PF INTROXX YES _ INVDATA *FILE PF INTROXX YES _ PRODUCT *FILE PF INTROXX YES _ SUPPLIER *FILE PF INTROXX YES + F3=Exit F12=Cancel Detailed information re: files on the tape

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

19 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 TAP 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.

20 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

21 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 S 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 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

22 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 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

23 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

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

25 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.

26 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.

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

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

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

30 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

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

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

33 Communication Devices
Standard device status screen and functions

34 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

35 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

36 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

37 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)

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

39 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

40 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

41 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

42 WRKSYSSTS

43 WRKSBS

44 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


Download ppt "Chapter 16 - Monitoring Hardware and Jobs"

Similar presentations


Ads by Google