Turboimage/XL Database Management System Reference Manual
Total Page:16
File Type:pdf, Size:1020Kb
TurboIMAGE/XL Database Management System Reference Manual HP e3000 MPE/iX Computer Systems Edition 8 Manufacturing Part Number: 30391-90012 E0701 U.S.A. July 2001 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 or fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for direct, indirect, special, incidental or consequential damages in connection with the furnishing or use of this material. Hewlett-Packard assumes no responsibility for the use or reliability of its software on equipment that is not furnished by Hewlett-Packard. This document contains proprietary information which is protected by copyright. All rights reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws. Restricted Rights Legend Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013. Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19 (c) (1,2). Acknowledgments UNIX is a registered trademark of The Open Group. Hewlett-Packard Company 3000 Hanover Street Palo Alto, CA 94304 U.S.A. © Copyright 1985, 1987, 1989, 1990, 1992, 1994, 1997, 2000, 2001 by Hewlett-Packard Company 2 Contents 1. Introduction Data Security . 27 Rapid Data Retrieval and Formatting . 28 Program Development . 28 Program Maintenance . 29 Program File Independence. .29 File Consolidation. 30 Special Information Needs. 30 Database Personnel . 31 How to Use TurboIMAGE/XL . 32 2. Database Structure and Protection Database Elements . 35 Data Items . 35 Data Entries . 35 Data Sets . 36 Data Set Types and Relationships . 37 Master Data Sets. 38 Detail Data Sets . 41 Paths . 41 Jumbo Data Sets . 43 The ORDERS Database . 46 Database Files . 48 Root File. 48 Data Files . 48 Protecting the Database. 50 Privileged File Protection . .50 Account and Group Protection . 50 Defining Database Security . 51 Database Access Modes and Data Set Write Lists . 54 Granting a User Class Access . 54 User Classes and Locking. 59 Protection in Relation to Library Procedures . 59 Protection Provided by the TurboIMAGE/XL Utilities. 59 3. Defining a Database Database Description Language . 62 Language Conventions . .62 Schema Structure . 62 Password Part. 64 Item Part. 65 Data Item Length . 65 3 Contents TurboIMAGE/XL and Program Language Data Types . .66 Data Item Identifiers . .69 Set Part . .71 Master Data Sets . .71 Detail Data Sets . .74 Master Key and Detail Search Items . .76 Data Set Identifiers . .77 Schema Processor Operation . .78 Creating the Text File . .79 The Database Creator . .80 Schema Processor Commands. .81 Continuation Records. .81 $PAGE . .82 $TITLE. .83 $CONTROL . .84 Selecting the Block Size . .85 Schema Processor Output . .86 Summary Information . .86 Schema Errors . .88 Schema Processor Example . .89 4. Using the Database Opening the Database . ..