IBM Tape Device Drivers IBM

Total Page:16

File Type:pdf, Size:1020Kb

IBM Tape Device Drivers IBM IBM Tape Device Drivers IBM Installation and User's Guide GC27-2130-21 IBM Tape Device Drivers IBM Installation and User's Guide GC27-2130-21 ii IBM Tape Device Drivers: Installation and User's Guide Twenty-second Edition (November 2015) This twenty-second edition of the IBM Tape Device Drivers Installation and User's Guide, GC27-2130-21, replaces and makes obsolete the following manual: IBM Tape Device Drivers Installation and User's Guide, GC27-2130-20. © Copyright IBM Corp. 2007, 2015 iii iv IBM Tape Device Drivers: Installation and User's Guide Read this first Accessing online technical support For online technical support for your Library, visit: v www.ibm.com/support. Registering for My Notification My Notification registration provides email notification when firmware levels have been updated and are available for download and installation. To register for My Notification: 1. Visit the web at http://www-01.ibm.com/software/support/einfo.html. 2. Click My Notifications. Note: Library firmware and tape drive firmware are verified and released together. When updating to the latest firmware, verify that all installed components such as tape drives, and library are at the latest levels noted on the Support website. Mixing different levels of library and tape drive firmware is not supported and can cause unpredictable results. Contacting IBM technical support In the USA: Call 1-800-IBM_SERV (1-800-426-7378). All other Countries/Regions: Visit www.ibm.com/support To open a Service Request online: Under Support & downloads, click Open a service request. © Copyright IBM Corp. 2007, 2015 v vi IBM Tape Device Drivers: Installation and User's Guide Preface These publications and URLs provide user information and installation assistance for IBM® tape drive, medium changer, and library device drivers. Related information Reference material, including the Adobe PDF version of this publication, is available at the following url: http://www-01.ibm.com/support/ docview.wss?uid=ssg1S7002972. A companion publication that covers programming aspects for the device drivers is: IBM Tape Device Drivers: Programming Reference, GA32-0566. IBM tape products IBM tape product publications v IBM TS1120, TS1130, TS1140, and TS1150 Tape Drives and TS1120 Controller Introduction and Planning Guide v IBM TS1120 Tape Drive and Controller Operator Guide, GA32-0556 v IBM TS3500 Tape Library Operator Guide, GA32-0560 v IBM TS3500 Tape Library Introduction and Planning Guide, GA32-0559 v IBM TS4500 Tape Library Introduction and Planning Guide, SC27-5990 v IBM 3953 Library Manager Model L05 Operator Guide, GA32-0558 v IBM 3953 Tape System Introduction and Planning Guide, GA32-0557 v IBM Tape Drive 3592 SCSI Reference, GA32-0570 v IBM Introduction and Planning Guide 3592 Models J1A, E05, E06, EU6, E07, E08, and J70, C06, C07 Controllers, GA32-0555 v IBM Operator Guide 3592 Models J1A, E05, E06, EU6, E07, E08, J70 and C06, GA32-0556 v IBM LTO Ultrium 3-H Tape Drive Setup, Operator, and Service Guide, SC23-5231 v IBM TS2230 Tape Drive Setup, Operator, and Service Guide, GC27-2099 v IBM TS2230 Tape Drive Installation Quick Reference, GC27-2100 v IBM TS2240 Tape Drive Setup, Operator, and Service Guide, GC27-2151 v IBM TS2240 Tape Drive Installation Quick Reference, GC27-2167 v IBM TS2250 Tape Drive Setup, Operator, and Service Guide, GC27-2275 v IBM TS2250 Tape Drive Installation Quick Reference, GC27-2276 v IBM TS2260 Tape Drive Setup, Operator, and Service Guide, GC27-2226 v IBM TS2260 Tape Drive Installation Quick Reference, GC27-2226 | v IBM TS2270 Tape Drive Setup, Operator, and Service Guide, SC27-8519 | v IBM TS2270 Tape Drive Installation Quick Reference, GC27-2276 v IBM 3580 Tape Drive Models L33/L3H Setup, Operator, and Service Guide, GC26-7708 v IBM 3580 Tape Drive Models L33/L3H Quick Reference, GC26-7709 v IBM TS2340 Tape Drive Models L43/S43 Setup, Operator, and Service Guide, GC27-2103 v IBM TS2340 Tape Drive Models L43/S43 Quick Reference Card, GC27-2104 © Copyright IBM Corp. 2007, 2015 vii v IBM TS2350 Tape Drive Setup, Operator, and Service Guide, GC27-2277 v IBM TS2350 Tape Drive Installation Quick Reference, GC27-2278 v IBM TS2360 Tape Drive Setup, Operator, and Service Guide, GC27-2228 v IBM TS2360 Tape Drive Installation Quick Reference, GC27-2278 v IBM TS3500 Tape Library Planning and Operator Guide, GA32-0408 v IBM TS3500 Tape Library Maintenance Information, 19P2440 v IBM TS3500 Tape Library with ALMS: Introduction and Planning Guide, GA32-0593 v IBM TS3500 Tape Library with ALMS: Operator's Guide, GA32-0594 v IBM TS3500 Tape Library with ALMS: Tape System Reporter User's Guide, GA32-0589 v IBM TS3310 Tape Library Setup and Operator Guide, GA32-0477 v IBM TS3310 Tape Library Maintenance Information, GA32-0478 v IBM TS3310 Tape Library SCSI Reference, GA32-0476 v IBM TS3100 Tape Library and TS3200 Tape Library Setup, Operator, and Service Guide, GA32-0545 v IBM TS3100 Tape Library and TS3200 Tape Library Installation Quick Reference, GA32-0548 v IBM TS3100 Tape Library and TS3200 Tape Library SCSI Reference, GA32-0547 To access the latest documentation for your product, go to the IBM Publications Center at http://www-05.ibm.com/e-business/linkweb/publications/servlet/ pbi.wss. Select your country, then click Search for publications to find the desired publication. Publications can be viewed and downloaded from the website. AIX The following URL points to information about IBM System p (also known as pSeries) servers: http://www-1.ibm.com/servers/eserver/pseries. HP-UX The following URL relates to HP HP-UX systems: http://www.hp.com. Linux The following URLs relate to Linux distributions: http://www.redhat.com and http://www.suse.com. Solaris The following URL relates to Oracle Solaris systems: http://www.oracle.com/us/ sun/index.html . Microsoft Windows The following URL relates to Microsoft Windows systems: http:// www.microsoft.com . Additional Information The following publication contains additional information related to the IBM tape drive, medium changer, and library device drivers: American National Standards viii IBM Tape Device Drivers: Installation and User's Guide Institute Small Computer System Interface X3T9.2/86-109 X3.180, X3B5/91-173C, X3B5/91-305, X3.131-199X Revision 10H, and X3T9.9/91-11 Revision 1. Preface ix x IBM Tape Device Drivers: Installation and User's Guide Sending your comments Your feedback is important in helping us provide the most accurate and best quality information. If you have comments or suggestions for improving this publication, you can send us comments electronically by using these addresses. v E-mail Submit your comments electronically to the following e-mail address: [email protected] Be sure to include the name and order number of the book and, if applicable, the specific location of the text you are commenting on, such as a page number or table number. v Mail Fill out the Readers' Comments form (RCF) at the back of this book. Return it by mail or give it to an IBM representative. If the RCF is removed, you can address your comments to: International Business Machines Corporation RCF Processing Department GZW 9032 South Rita Road Tucson, AZ 85775-4401 © Copyright IBM Corp. 2007, 2015 xi xii IBM Tape Device Drivers: Installation and User's Guide Special printing instructions This Tape Device Drivers Installation and User's Guide contains sections for each type of operating system/platform; for example, AIX, HP-UX, Linux, Oracle Solaris, Windows; and a separate section on these operating systems for the 3494 Enterprise tape library. Note: When the page range is selected for the section you want to print, note that the print page range is based on the page controls for Adobe Acrobat, not the page printed on the actual document. Enter the Adobe page numbers to print. Importantprinternote Thisareaindicatesthe Ignore thepagenumber pagesthatwillactually appearingonthepageitself printinyourspecified whenenteringpageranges rangeofpages. foryourprinter. Figure 1. How to print Adobe pdf files If you want to print one or more separate sections of the manual, follow these steps: 1. Navigate to the beginning of the section and note the page number. 2. Navigate to the last page in the section and note that page number. 3. Select File > Print, then choose Pages and enter the page range for the section. Only the page range entered prints. 4. Repeat these steps to print additional sections. Attention: Only one Table of Contents and one Index exists for this entire book. If you want to print those items, you must repeat the previous process, entering the page range for the Table of Contents and the Index page range, respectively. © Copyright IBM Corp. 2007, 2015 xiii xiv IBM Tape Device Drivers: Installation and User's Guide Contents iii Querying primary and alternative path configurations ............ 35 Read this first ............ v Configuring and unconfiguring primary and alternative devices ........... 35 Data Path failover and load balancing support for Preface .............. vii tape drives .............. 36 Installing Data Path failover license key .... 36 Sending your comments ....... xi Configuring and unconfiguring path failover support............... 36 Special printing instructions ..... xiii Primary and alternative paths ....... 37 Querying primary and alternative path Figures .............. xix configuration ............. 37 Configuring and unconfiguring primary and alternative devices ........... 38 Tables ............... xxi System-managed encryption ......... 38 Device driver configuration ........ 38 Chapter 1. Introduction ........ 1 Querying tape drive configuration...... 39 Testing data encryption configuration and Chapter 2. Common extended features . 5 connectivity ............. 39 Path failover and load balancing........ 5 Error logging ............. 39 Automatic failover ........... 5 Field support information ........ 39 Dynamic load balancing ......... 9 Problem determination .......... 39 Dynamic Runtime Attributes ........ 10 Dump support ............ 39 Supported devices and feature codes ...... 10 Device and volume information logging .... 40 Data encryption ............. 11 Log file ............... 41 Tape and library requirements ....... 11 Tape log utility ...........
Recommended publications
  • Beginning Portable Shell Scripting from Novice to Professional
    Beginning Portable Shell Scripting From Novice to Professional Peter Seebach 10436fmfinal 1 10/23/08 10:40:24 PM Beginning Portable Shell Scripting: From Novice to Professional Copyright © 2008 by Peter Seebach All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-4302-1043-6 ISBN-10 (pbk): 1-4302-1043-5 ISBN-13 (electronic): 978-1-4302-1044-3 ISBN-10 (electronic): 1-4302-1044-3 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Lead Editor: Frank Pohlmann Technical Reviewer: Gary V. Vaughan Editorial Board: Clay Andres, Steve Anglin, Ewan Buckingham, Tony Campbell, Gary Cornell, Jonathan Gennick, Michelle Lowman, Matthew Moodie, Jeffrey Pepper, Frank Pohlmann, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Project Manager: Richard Dal Porto Copy Editor: Kim Benbow Associate Production Director: Kari Brooks-Copony Production Editor: Katie Stence Compositor: Linda Weidemann, Wolf Creek Press Proofreader: Dan Shaw Indexer: Broccoli Information Management Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013.
    [Show full text]
  • SOAP / REST and IBM I
    1/11/18 SOPA / REST and IBM i Tim Rowe- [email protected] Business Architect Application Development © 2017 International Business Machines Corporation Using a REST API with Watson https://ibm-i-watson-test.mybluemix.net/ 2 © 2017 International Business Machines Corporation 1 1/11/18 ™ What is an API - Agenda •What is an API •What is a Web Service •SOAP vs REST – What is SOAP – What is REST – Benefits – Drawbacks 3 © 2017 International Business Machines Corporation ™ Connections Devices There Here Applications 4 © 2017 International Business Machines Corporation 2 1/11/18 ™ 5 © 2017 International Business Machines Corporation ™ 6 © 2017 International Business Machines Corporation 3 1/11/18 ™ 7 © 2017 International Business Machines Corporation ™ 8 © 2017 International Business Machines Corporation 4 1/11/18 ™ API Definition Application Programming Interface 9 © 2017 International Business Machines Corporation ™ API Definition 10 © 2017 International Business Machines Corporation 5 1/11/18 ™ APIs - Simple Simple way to connect endpoints. Send a request and receive a response. 11 © 2017 International Business Machines Corporation ™ Example Kitchen 12 © 2017 International Business Machines Corporation 6 1/11/18 ™ 13 © 2017 International Business Machines Corporation ™ Not just a buzz-word, but rather the evolution of services- oriented IT. Allows users, businesses & partners the ability to interact in new and different ways resulting in the growth (in some cases the revolution) of business. 14 © 2017 International Business Machines Corporation
    [Show full text]
  • Shell Variables
    Shell Using the command line Orna Agmon ladypine at vipe.technion.ac.il Haifux Shell – p. 1/55 TOC Various shells Customizing the shell getting help and information Combining simple and useful commands output redirection lists of commands job control environment variables Remote shell textual editors textual clients references Shell – p. 2/55 What is the shell? The shell is the wrapper around the system: a communication means between the user and the system The shell is the manner in which the user can interact with the system through the terminal. The shell is also a script interpreter. The simplest script is a bunch of shell commands. Shell scripts are used in order to boot the system. The user can also write and execute shell scripts. Shell – p. 3/55 Shell - which shell? There are several kinds of shells. For example, bash (Bourne Again Shell), csh, tcsh, zsh, ksh (Korn Shell). The most important shell is bash, since it is available on almost every free Unix system. The Linux system scripts use bash. The default shell for the user is set in the /etc/passwd file. Here is a line out of this file for example: dana:x:500:500:Dana,,,:/home/dana:/bin/bash This line means that user dana uses bash (located on the system at /bin/bash) as her default shell. Shell – p. 4/55 Starting to work in another shell If Dana wishes to temporarily use another shell, she can simply call this shell from the command line: [dana@granada ˜]$ bash dana@granada:˜$ #In bash now dana@granada:˜$ exit [dana@granada ˜]$ bash dana@granada:˜$ #In bash now, going to hit ctrl D dana@granada:˜$ exit [dana@granada ˜]$ #In original shell now Shell – p.
    [Show full text]
  • UNIX X Command Tips and Tricks David B
    SESUG Paper 122-2019 UNIX X Command Tips and Tricks David B. Horvath, MS, CCP ABSTRACT SAS® provides the ability to execute operating system level commands from within your SAS code – generically known as the “X Command”. This session explores the various commands, the advantages and disadvantages of each, and their alternatives. The focus is on UNIX/Linux but much of the same applies to Windows as well. Under SAS EG, any issued commands execute on the SAS engine, not necessarily on the PC. X %sysexec Call system Systask command Filename pipe &SYSRC Waitfor Alternatives will also be addressed – how to handle when NOXCMD is the default for your installation, saving results, and error checking. INTRODUCTION In this paper I will be covering some of the basics of the functionality within SAS that allows you to execute operating system commands from within your program. There are multiple ways you can do so – external to data steps, within data steps, and within macros. All of these, along with error checking, will be covered. RELEVANT OPTIONS Execution of any of the SAS System command execution commands depends on one option's setting: XCMD Enables the X command in SAS. Which can only be set at startup: options xcmd; ____ 30 WARNING 30-12: SAS option XCMD is valid only at startup of the SAS System. The SAS option is ignored. Unfortunately, ff NOXCMD is set at startup time, you're out of luck. Sorry! You might want to have a conversation with your system administrators to determine why and if you can get it changed.
    [Show full text]
  • Bash Guide for Beginners
    Bash Guide for Beginners Machtelt Garrels Garrels BVBA <tille wants no spam _at_ garrels dot be> Version 1.11 Last updated 20081227 Edition Bash Guide for Beginners Table of Contents Introduction.........................................................................................................................................................1 1. Why this guide?...................................................................................................................................1 2. Who should read this book?.................................................................................................................1 3. New versions, translations and availability.........................................................................................2 4. Revision History..................................................................................................................................2 5. Contributions.......................................................................................................................................3 6. Feedback..............................................................................................................................................3 7. Copyright information.........................................................................................................................3 8. What do you need?...............................................................................................................................4 9. Conventions used in this
    [Show full text]
  • Argest® Backup User Guide
    ArGest ® Backup User’s Guide Version 4.0 Copyright © 2020, TOLIS Group, Inc. ArGest® Backup User’s Guide TOLIS Group, Inc.., et al Copyright © 2008-2020, TOLIS Group, Inc., All rights reserved Notice of rights All rights reserved. No part of this book may be reproduced or transmitted in any form by any means without the prior written permission of TOLIS Group, Inc.. For information on getting permission for reprints and excerpts, contact [email protected]. Notice of Liability The information in this manual is distributed “as is” and without warranty. While every precaution has been taken in the preparation of the manual, TOLIS Group, Inc. nor its resellers and representatives shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information and instructions contained in the manual or by the computer software described within. Trademarks Throughout this book trademarked names may be used. TOLIS Group, Inc. states that we are using any and all trademarked names in an editorial fashion and to the benefit of the trademark owner with no intention of infringement of the trademark. Update Information TOLIS Group, Inc. will always work to insure that the data contained in this manual is kept up to date. You can always find the latest version at our website at http://www.tolisgroup.com/documentation.html ArGest® Backup User’s Guide Table of Contents - 3 Email Settings ...............................................................................32 Table
    [Show full text]
  • Lab Work 06. Linux Shell. Files Globbing & Streams Redirection
    LAB WORK 06. LINUX SHELL. FILES GLOBBING & STREAMS REDIRECTION. 1. PURPOSE OF WORK • Learn to use shell file globbing (wildcard); • Learn basic concepts about standard UNIX/Linux streams redirections; • Acquire skills of working with filter-programs. • Get experience in creating composite commands that have a different functional purpose than the original commands. 2. TASKS FOR WORK NOTE. Start Your UbuntuMini Virtual Machine on your VirtualBox. You need only Linux Terminal to complete the lab tasks. Before completing the tasks, make a Snapshot of your Virtual Linux. If there are problems, you can easily go back to working condition! 2.0. Create new User account for this Lab Work. • Login as student account (user with sudo permissions). • Create new user account, example stud. Use adduser command. (NOTE. You can use the command “userdel –rf stud” to delete stud account from your Linux.) $ sudo adduser stud • Logout from student account (logout) and login as stud. 2.1. Shell File Globbing Study. 2.2. File Globbing Practice. (Fill in a Table 1 and Table 2) 2.3. Command I/O Redirection Study. 2.4. Redirection Practice. (Fill in a Table 3 and Table 4) © Yuriy Shamshin, 2021 1/20 3. REPORT Make a report about this work and send it to the teacher’s email (use a docx Report Blank). REPORT FOR LAB WORK 06: LINUX SHELL. FILES GLOBBING & STREAMS REDIRECTION Student Name Surname Student ID (nV) Date 3.1. Insert Completing Table 1. File globbing understanding. 3.2. Insert Completing Table 2. File globbing creation. 3.3. Insert Completing Table 3. Command I/O redirection understanding.
    [Show full text]
  • Western Peripherals ™ Division of ~
    MODEL TC-120/128 TAPE CONTROLLER HARDHARE MANUAL western peripherals ™ Division of ~ 14321 New Myford Hoad • Tustin, California 92680 • (714) 730·6250 • TWX: 910 595·1775 • Cable: WESPER MODEL TC-120/128 TAPE CONTROLLER HARDHARE MANUAL PUBLICATION NUMBER 01200146 C western peripherals 14321 MYFORD ROAD TUSTIN~ CALIFORNIA 92680 © 198:1:. by Westem Peripherals, Inc. All Rights Reserved PRINTED IN U.S.A. PREFACE This manual provides information necessary for the installation and maintenance of the Western Peripherals Model TC-120/l28 Tape Controller, used with Data General or Data General-emulating computers. The manual is divided into the following sections: Section I General Description Section II Installation Section III Programming Section IV Theory of Operation SECTION I GENERAL DESCRIPTION • • TABLE OF CONTENTS PARAGRAPH PAGE • 1.1 DESCRIPTION OF EQUIPMENT 1-1 1.3 DRIVE COMPATIBILITY 1-1 1.6 OTHER FEATURES 1-2 • 1.12 SPECIFICATIONS 1-4 • • .' • • • • SECTION I • GENERAL DESCRIPTION • 1.1 DESCRIPTION OF EQUIPMENT 1.2 The Western peripherals Model TC-120/128 is a universal mag­ netic tape controller/formatter which is hardware and software • compatible with the Data General family of computer systems, pro­ viding both NRZI and phase encoded (PE) format capability in a single embedded printed circuit board. The controller is also I compatible with all other computers emulating the Data General computer family, using the standard-sized 15 inch x 15 inch cir­ cuit boards. The controller contains all interface, control, • status, and formatting electronics to emulate the Data General tape subsystem and installs directly into any available card slot in the computer or expansion chassis.
    [Show full text]
  • CS2043 - Unix Tools & Scripting Cornell University, Spring 20141
    CS2043 - Unix Tools & Scripting Cornell University, Spring 20141 Instructor: Bruno Abrahao January 31, 2014 1 Slides evolved from previous versions by Hussam Abu-Libdeh and David Slater Instructor: Bruno Abrahao CS2043 - Unix Tools & Scripting Vim: Tip of the day! Line numbers Displays line number in Vim: :set nu Hides line number in Vim: :set nonu Goes to line number: :line number Instructor: Bruno Abrahao CS2043 - Unix Tools & Scripting Counting wc How many lines of code are in my new awesome program? How many words are in this document? Good for bragging rights Word, Character, Line, and Byte count with wc wc -l : count the number of lines wc -w : count the number of words wc -m : count the number of characters wc -c : count the number of bytes Instructor: Bruno Abrahao CS2043 - Unix Tools & Scripting Sorting sort Sorts the lines of a text file alphabetically. sort -ru file sorts the file in reverse order and deletes duplicate lines. sort -n -k 2 -t : file sorts the file numerically by using the second column, separated by a colon Example Consider a file (numbers.txt) with the numbers 1, 5, 8, 11, 62 each on a separate line, then: $ sort numbers.txt $ sort numbers.txt -n 1 1 11 5 5 8 62 11 8 62 Instructor: Bruno Abrahao CS2043 - Unix Tools & Scripting uniq uniq uniq file - Discards all but one of successive identical lines uniq -c file - Prints the number of successive identical lines next to each line Instructor: Bruno Abrahao CS2043 - Unix Tools & Scripting Character manipulation! The Translate Command tr [options] <char_list1> [char_list2] Translate or delete characters char lists are strings of characters By default, searches for characters in char list1 and replaces them with the ones that occupy the same position in char list2 Example: tr 'AEIOU' 'aeiou' - changes all capital vowels to lower case vowels Instructor: Bruno Abrahao CS2043 - Unix Tools & Scripting Pipes and redirection tr only receives input from standard input (stdin) i.e.
    [Show full text]
  • Service Handbook B Class Model B132L/B132L+/B160L/B180L
    Service Handbook B Class Model B132L/B132L+/B160L/B180L HP Part No. A4190-90041 Edition E1097 Printed in U.S.A. Hewlett-Packard Co. 1997 Printing History First Printing: October 1997 UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Lim- ited. NOTICE The information contained in this document is subject to change without notice. HEWLETT-PACKARD MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors con- tained herein or for incidental or consequential damages in con- nection with the furnishing, performance or use of this material. Hewlett-Packard assumes no responsibility for the use or reliabil- ity of its software on equipment that is not furnished by Hewlett- Packard. This document contains proprietary information that is protected by copyright. All rights reserved. No part of this document may be photocopied, reproduced or translated to another language without the prior written consent of Hewlett-Packard Company. RESTRICTED RIGHTS LEGEND. Use, duplication, or disclo- sure by government is subject to restrictions as set forth in subdivi- sion (c) (1) (ii) of the Rights in Technical Data and Computer Software Clause at DFARS 252.227.7013. Hewlett-Packard Co., 3000 Hanover St., Palo Alto, CA 94304. 10 9 8 7 6 5 4 3 2 1 ii Safety and Regulatory Statements Safety and Regulatory Statements This section contains safety and regulatory statements pertaining to your B132L/B132L+/B160L/B180L workstation.
    [Show full text]
  • Unix, Standard I/O and Command Line Arguments Overview Redirection
    Unix, Standard I/O and command line arguments For any programming assignments I give you, I expect a program that reads and writes to standard input and output, taking any extra parameters from the command line. This handout explains how to do that. I have also appended a small appendix of useful Unix commands. I recommend that you go to a Unix terminal and type in and run all of the examples in the gray boxes. You can do this from the Terminal application on a MacIntosh, or from a terminal window in GNU/Linux or any Unix-like operating system, from Cygwin in Windows maybe, or by connecting to bingsuns using SSH. Overview Most programming languages feature “standard,” or default, input and output channels where I/O goes unless otherwise specified. In C, the functions scanf(), gets() and getchar() read from standard input, while printf(), puts() and putchar() write to standard output. In Tcl, the gets and puts commands read and write standard input and output. In awk and perl, you just sort of use the force and your program receives a line of input from somewhere. Letʼs stick with C for the time being.1 When a program runs from a terminal, standard input is usually the userʼs keyboard input, while standard output is displayed as text on-screen. Unix and Unix-like operating systems allow you to intercept the standard I/O channels of a program to redirect them into files or other programs. This gives you the ability to chain many simple programs to do something genuinely useful.
    [Show full text]
  • Chapter 5. Writing Your Own Shell
    Chapter 5. Writing Your Own Shell You really understand something until you program it. ­­GRR Introduction Last chapter covered how to use a shell program using UNIX commands. The shell is a program that interacts with the user through a terminal or takes the input from a file and executes a sequence of commands that are passed to the Operating System. In this chapter you are going to learn how to write your own shell program. Shell Programs A shell program is an application that allows interacting with the computer. In a shell the user can run programs and also redirect the input to come from a file and output to come from a file. Shells also provide programming constructions such as if, for, while, functions, variables etc. Additionally, shell programs offer features such as line editing, history, file completion, wildcards, environment variable expansion, and programing constructions. Here is a list of the most popular shell programs in UNIX: sh Shell Program. The original shell program in UNIX. csh C Shell. An improved version of sh. tcsh A version of Csh that has line editing. ksh Korn Shell. The father of all advanced shells. bash The GNU shell. Takes the best of all shell programs. It is currently the most common shell program. In addition to command­line shells, there are also Graphical Shells such as the Windows Desktop, MacOS Finder, or Linux Gnome and KDE that simplify theDraft use of computers for most of the users. However, these graphical shells are not substitute to command line shells for power users who want to execute complex sequences of commands repeatedly or with parameters not available in the friendly, but limited graphical dialogs and controls.
    [Show full text]