Introduction to IBM 4300 and DOS/VSE Facilities Student Text
Total Page:16
File Type:pdf, Size:1020Kb
--- - ----- ---------- Introduction to IBM 4300 --_.------- - - --- and DOS/VSE Facilities Student Text --- - ----- -------- Introduction to IBM 4300 ---------- - -_.--- and DOS/VSE Facilities Student Text Minor Revision, May 1980 This is a minor revision of the previous edition with small corrections. All rights reserved. No portion of this text may be reproduced without express permission of the author. References in this publication to IBM proQucts, programs, or services do not imply that IBM intends to make these available outside the United States. Requests for copies of IBM publications should be made to your IBM representative or to the IBM branch office serving your locality. Address comments concerning the contents of this publication to IBM Corporation, Publications Services, Education Center, South Road, Poughkeepsie, New York 12602 IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation whatever. You may, of course, continue to use the information you supply. @ Copyright International Business Machines Corporation 1980 Contents Course Introduction and Orientation 1 Audience . 1 Overview 1 Objectives . 2 Duration. 2 Outline . 3 Exercises 3 Unit 1: Introduction to Data Processing 1-1 Introduction . 1-1 Objective ..... 1-1 Audience ..... 1-1 Average Study Time . 1-1 Topic 1 - Data Processing Overview 1-2 The Data Processing System 1-2 Functional Units. 1-3 Central Processing Unit . 1-3 Storage ......... 1-4 Input and Output Devices 1-4 Exercise 1.1 . 1-7 Solution 1.1 . 1-9 Topic 2 - Data Representation I-tO Symbols, a Communication Tool I-tO Binary Concept . 1-11 Positional Notation . 1-13 Hexadecimal System ..... 1-16 Eight-bit Alphameric Code (Extended Binary Coded Decimal Interchange Code-EBCDIC) , 1-18 Exercise 1.2 . 1-21 Solution 1.2 ..... 1-22 Topic 3 - The Processor 1-23 TheALU .... 1-23 Registers ... 1-23 Control Section . 1-23 Machine Cycles 1-24 Exercise 1.3 . , 1-27 Solution 1.3 .... 1-28 Topic 4 - Main and Auxiliary Storage 1-29 Auxiliary Storage . 1-29 Main Storage 1-30 Exercise 1.4 . 1-33· Solution 1.4 . , . 1-34 Topic 5 - Input and Output Devices . 1-35 Control Units . 1-35 Channels ......... 1-35 Types of Channels . 1-36 Byte Multiplexer Channels 1-36 Selector Channels .... 1-36 Block Multiplexer Channels 1-37 Exercise 1.5.1 1-39 Solution 1.5.1 . 1-40 Contents Direct Access Storage Devices (DASD) ..... 1-41 Magnetic Tape Units . 1-42 Tape Records, Interblock Gap and Tapemark 1-42 Load-Point and End-of-Reel Markers 1-43 Card Readers 1-43 Card Punches . 1-44 Printers ....... 1-45 Wire Matrix Printer. 1-45 Chain Printer . 1-45 Typewriter . 1-46 3800 Printer . 1-46 Visual Display Unit 1-46 Console ... 1-47 Exercise 1.5.2 .. 1-49 Solution 1.5.2 .. 1-50 Input/Output Operations 1-51 Topic 6 - Stored Program Concepts and Compilers 1-52 Introduction . 1-52 Instructions . 1-52 Program ........ 1-53 Programming Languages 1-53 Source Program 1-53 Object Program 1-53 Linkage Editor 1-54 Languages 1-54 Exercise 1. 6 . 1-55 Solution 1.6 ... 1-56 Topic 7 - The Operating System. 1-57 Introduction . 1-57 Operating System . 1-57 Job Management. 1-57 Supervisor . 1-58 Program Library . 1-58 Data Management 1-58 Recovery Management . 1-59 Exercise 1.7 . 1 . 1-61 Solution 1.7.1 . 1-62 Multiprogramming 1-63 Spooling . 1-64 Summary .. 1-64 Exercise 1.7.2 1-65 Solution 1.7.2 1-66 Topic 8 - Data Communications. 1-67 Introduction . 1-67 Elements of a Data Communication Network . 1-68 Host Processor ......... 1-68 Communication Control Devices . 1-68 Modulation/Demodulation Devices 1-69 Communication Lines . 1-69 Configuration ..... 1-69 Transmission Direction . 1-69 Type ....... 1-69 Transmission Mode . 1-69 Codes ..... 1-70 Line Disciplines .. 1-70 ii Contents Terminals . .. ..... 1-70 Data Management Support . 1-70 Data Communication Applications 1-71 Exercise 1.8 ........... 1-73 Solution 1.8 . 1-74 Topic 9 - Virtual Storage Concepts 1-75 Introduction . 1-75 Why Virtual Storage? ...... 1-75 IBM Virtual Storage Implementation 1-76 Summary 1-80 Exercise 1.9 . 1-81 Solution 1.9 . 1-82 Unit 2: Hardware Overview · 2-1 Objectives . · 2-1 Study Time ...... · 2-1 Topic 1 4300 processor. Introduction to 4300 processors · 2-2 Operational modes of 4300 processors · 2-2 ECPS:VSE Mode ........ · 2-2 ECPS: VSE Storage Addressing · 2-2 System/370 Mode ....... · 2-3 System/370 Storage Addressing · 2-3 Error detection and maintenance · 2-3 Error detection . · 2-3 Maintenance . · 2-3 Remote Support Facility (RSF) · 2-3 Compatibility · 2-3 Exercise 2.1.1 · 2-5 Solution 2.1.1 · 2-6 4331 Overview · 2-7 Programming Support · 2-7 Processor Storage . · 2-7 I/O Device Attachment. · 2-8 DASD Adapter . · 2-8 8809 Magnetic Tape Unit Adapter . · 2-8 Communications Adapter · 2-8 5424 Adapter ..... · 2-8 Display/Printer Adapter · 2-8 Channels. · 2-8 Exercise 2.1.2 . · 2-9 Solution 2.1.2 2-10 4341 Overview 2-11 Programming Support 2-11 Processor Storage .. 2-11 1/0 Device Attachment . 2-12 Channels ... 2-12 Operator Console 2-12 Exercise 2.1.3 . 2-13 Solution 2.1.3 . 2-14 Topic 2. Input-Output Devices 2-15 Introduction . 2-15 Direct Access Storage Devices 2-17 3880 Storage Facility . 2-18 3830 Storage Control Unit. 2-18 3340 Disk Storage Facility . 2-19 3350 Direct Access Storage 2-20 Contents iii 3310 DASD ... 2-20 3370 DASD .. 2-21 Diskette Input/Output Device 2-22 Printing Devices . 2-24 3203 Printer Model 5 . .. 2-24 3262 Line Printer. 2-25 3211 Printer 3811 Printer Control Unit 2-25 3800 Printing SubSystem ... 2-26 Card Readers and Card Punches 2-26 3505 Card Reader 2-26 3525 Card Punch. 2-27 2540 Card Read Punch. .. 2-27 5424 Multi-function Card Unit. 2-28 Magnetic Tape Units .. 2-29 3400 Devices . 2-29 3410 Magnetic Tape Unit and 3411 Tape Unit and Tape Control 2-30 3420 Magnetic Tape Unit .. 2-31 3803 Tape Control. .... 2-31 The 8809 Magnetic Tape Unit 2-32 Terminals .. 2-33 IBM 3270 Overview. 2-33 3270 Display Units . 2-33 3270 Printers . 2-34 3270 Control Units. 2-34 IBM 3770 Overview. 2-34 3770 Fixed Function Terminals 2-35 3770 Programmable Terminals . 2-35 Exercise 2.2 . 2-36 Solution 2.2 . 2-38 Unit 3: Introduction to DOS/VSE · 3-1 Introduction . · 3-1 Objectives. .. · 3-1 Average Study Time . · 3-1 Topic - 1 DOS/VSE System Control Programs · 3-2 The IPL Program . · 3-2 The Supervisor ... · 3-3 The Job Control Program (JCP) · 3-4 Exercise 3.1 . · 3-9 Solution 3.1 ......... 3-10 Topic - 2 DOS/VSE Storage and Multiprogramming 3-11 Storage Organization . 3-11 Partitions and I/O Resources .. 3-11 Multiprogramming. .... .... 3-11 Processor Usage in Single-Partition Operation 3-12 Processor Usage in a Multiprogramming Environment 3-12 Processing Priorities 3-14 Multitasking .... 3-14 The Shared Virtual Area 3-15 Exercise 3.2. ... 3-17 Solution 3.2 . 3-18 Topic - 3 DOS/VSE Virtual Storage Implementation. 3-19 Page Data Set 3-19 Page In 3-20 Page Out 3-20 Page Pool 3-20 iv Contents Real Mode . 3-21 Exercise 3.3 3-23 Solution 3.3 3-23 Topic - 4 DOS/VSE Libraries and Processing Programs 3-25 Core Image Library . 3-26 Relocatable Library . 3-27 Source Statement Library 3-27 Procedure Library . 3-27 Library Structure . 3-27 Private Libraries. 3-28 Processing Programs 3-29 Application Programs 3-29 Service Programs . 3-29 Librarian programs . 3-29 Linkage Editor Program 3-29 System Utility Programs 3-29 Data Management Routines 3-29 Language Translators 3-30 Exercise 3.4 . 3-31 Solution 3.4 ...... 3-32 Topic - 5 VSE/POWER 3-33 Concepts and Functions . 3-33 Spooling ...... 3-33 Remote Job Entry . 3-36 Job Entry Control Language 3-36 Operator Commands 3-36 Exercise 3.5 . 3-37 Solution 3.5 ........ 3-38 Topic - 6 DOS/VSE Data Management. 3-39 Data Organization and Access Methods . 3-39 Data Organization . 3-39 Access Method . 3-39 Sequential Access Method (SAM) and Organization 3-40 File Organization. 3-40 Data Access .................. 3-40 Indexed Sequential Access Method (ISAM) and Organization 3-40 Index and File Organization . 3-40 Direct Access Method (DAM) and Organization . 3-41 VSE/Virtual Storage Access Method (VSE/VSAM) 3-41 File Organization . 3-41 VSAM Catalogs . 3-42 VSE/VSAM Space Management for SAM Feature 3-42 VSE/VSAM Device Independence. 3-42 ISAM Interface Program (lIP) 3-42 Data Security/Data Integrity . 3-42 VSE/VSAM Summary . 3-43 Telecommunication Access Methods 3-43 Protection of Data. 3-43 File labeling .......... 3-43 Protection Against Duplicate Assignments 3-44 File Security . 3-44 Track Hold Specification . 3-45 Exercise 3.6 . 3-47 Solution 3.6 ..... 3-48 Topic 7 Unit Summary 3-49 Ccmtents , Unit 4: ICCF Facilities . · 4-1 Introduction . · 4-1 Objective ..... · 4-1 Average Study Time . · 4-1 Topic - 1. Interactive Computing · 4-2 Program Development With Batch Facilities · 4-2 Interactive Program Development . · 4-3 VSE/ICCF · 4-5 Exercise 4.1 . · 4-7 Solution 4.1 . · 4-8 Topic - 2. Organization of ICCF · 4-9 ICCF Control Program . · 4-9 ICCF Command Processors . .4-9 Terminal Control Facility . .4-9 ICCF Interactive Partitions 4-10 Exercise 4.2 ....... 4-11 Solution 4.2 .