Visualage Pacbase: CODASYL DATABASE DESCRIPTION
Total Page:16
File Type:pdf, Size:1020Kb
VisualAge Pacbase CODASYL DATABASE DESCRIPTION Ve r s i o n 3.5 VisualAge Pacbase CODASYL DATABASE DESCRIPTION Ve r s i o n 3.5 Note Before using this document, read the general information under “Notices” on page v. You may consult or download the complete up-to-date collection of the VisualAge Pacbase documentation from the VisualAge Pacbase Support Center at: http://www.ibm.com/support/docview.wss?rs=37&uid=swg27005477 Consult the Catalog section in the Documentation home page to make sure you have the most recent edition of this document. First Edition (September 2007) This edition applies to the following licensed programs: v VisualAge Pacbase Version 3.5 Comments on publications (including document reference number) should be sent electronically through the Support Center Web site at: http://www.ibm.com/software/awdtools/vapacbase/support.html or to the following postal address: IBM Paris Laboratory 1, place Jean–Baptiste Clément 93881 Noisy-le-Grand, France. When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 1983,2007. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . .v DM4 Schema (DDL)/type M4: Screens . .84 DM4 Schema (DDL) / M4 Type: Generated Trademarks . vii Description . .90 DM4 Schema (DMCL) / M2 Type: Screens . .92 Chapter 1. Introduction . .1 DM4 Schema (DMCL) / M2 Type: Generated VisualAge Pacbase Module . .1 Description . .98 Introduction to the Database Description DM4 Sub-schema / M3 Type: Screens . .99 Function . .2 DM4 Sub-schema / M3 Type: Generated Principles of Description . .3 Description . 106 IDS2 Schema (DDL)/type I1: Screens . 108 IDS2 Schema (DDL) / I1 Type: Generated Chapter 2. Use of the Function with Description . .114 CODASYL . .5 IDS2 Schema (DMCL)/type I2: Schema . .119 Introduction . .5 IDS2 Schema (DMCL)/ I2 Type: Generated Use of Entities . .5 Description . 125 IDS2 Sub-schema (SDDL) / I3: Screens . 126 Chapter 3. Elementary Data . .9 IDS2 Sub-schema (SDDL) / I3: Generated Data Element Definition (E) . .9 Description . 133 Data Element Description (-D) . .16 Chapter 9. IDMS & DMS Examples . 137 Chapter 4. CODASYL Records . .25 Introduction . 137 Record Definition (S) . .25 Database Schema . 138 Record Description (-CE) . .28 IDMS Schema (DDL) / D1 Type: Screens . 139 IDMS Schema (DDL) / D1 Type: Generated Chapter 5. CODASYL Blocks . .37 Description . 145 (Sub-)schema Definition (B) . .37 IDMS Schema (DMCL)/ D2 Type: Screens 149 (Sub-)schema Description (-DC) . .42 IDMS Schema (DMCL)/ D2 Type: Generated Description . 153 Chapter 6. Elements Generation & IDMS Sub-Schema / D3 Type: Screens . 154 Parameterized Input Aids . .49 IDMS Sub-Schema / D3 Type: Generated Elements Generation (-GG) . .49 Description . 160 Parameterized Input Aids . .55 IDMS Sub-Schema / D4 Type: Screens . 161 IDMS Sub-Schema / D4 Type: Generated Chapter 7. Access Commands . .63 Description . 167 On-line Access Commands . .63 DMS Schema (DDL) / S1 Type: Screens . 168 BATCH Access Commands . .70 DMS Schema (DDL) / S1 Type: Generated Generation and/or Printing . .71 Description . 174 DMS Sub-Schema / S3 Type: Screens . 176 Chapter 8. DM4 & IDS2 EXAMPLES . .73 DMS Sub-Schema / S3 Type: Generated Introduction . .73 Description . 183 DM4 Schema (DDL) / M1 Type: Screens . .74 DM4 Schema (DDL) / M1 Type: Generated Description . .80 © Copyright IBM Corp. 1983,2007 iii iv VisualAge Pacbase: CODASYL DATABASE DESCRIPTION Notices References in this publication to IBM products, programs, or services do not imply that IBM intends to make these available in all countries in which IBM operates. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Subject to IBM’s valid intellectual property or other legally protectable rights, any functionally equivalent product, program, or service may be used instead of the IBM product, program, or service. The evaluation and verification of operation in conjunction with other products, except those expressly designated by IBM, are the responsibility of the user. IBM may have patents or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to the IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk NY 10504–1785, U.S.A. Licensees of this program who wish to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact IBM Paris Laboratory, SMC Department, 1 place J.B.Clément, 93881 Noisy-Le-Grand Cedex. Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee. IBM may change this publication, the product described herein, or both. © Copyright IBM Corp. 1983,2007 v vi VisualAge Pacbase: CODASYL DATABASE DESCRIPTION Trademarks IBM is a trademark of International Business Machines Corporation, Inc. AIX, AS/400, CICS, CICS/MVS, CICS/VSE, COBOL/2, DB2, IMS, MQSeries, OS/2, PACBASE, RACF, RS/6000, SQL/DS, TeamConnection, and VisualAge are trademarks of International Business Machines Corporation, Inc. in the United States and/or other countries. Java and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States and/or other countries. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States and/or other countries. UNIX is a registered trademark in the United States and/or other countries licensed exclusively through X/Open Company Limited. All other company, product, and service names may be trademarks of their respective owners. © Copyright IBM Corp. 1983,2007 vii viii VisualAge Pacbase: CODASYL DATABASE DESCRIPTION Chapter 1. Introduction VisualAge Pacbase Module VisualAge Pacbase Products VisualAge Pacbase is a modular AD solution which is composed of two main products - Pacdesign for application design, Pacbench for application development. Pacdesign and Pacbench are used to populate the Specifications Database and to ensure the maintenance of existing applications. Each product includes several functions. Basic Functions Dictionary Structured Code Personalized Documentation Manager (PDM-PDM+) Generators On-Line Systems Development Pacbench Client/Server Batch Systems Development COB / Generator Database Description DBD DBD-SQL Application Revamping Dialog Web Revamping Quality Control © Copyright IBM Corp. 1983,2007 1 Pacbench Quality Control (PQC) Quality Control Extensibility Table Management Pactables Production Turnover and Follow-up Support of Configurations Management (SCM) Pac/Transfer Development Support Management System (DSMS) Additionnal services Pac/Impact Dictionary Extensibility Pacbase Access Facility (PAF-PAF+) DSMS Access Facility (DAF) Methodology (Merise, YSM, etc.) Sub-networks comparison utilities Rename/move entity utility (RMEN) Journal Statistics utility (ACTI) RACF / TOPSECRET Security Interface ENDEVOR Introduction to the Database Description Function The Database Description function automatically generates Database descriptions adapted to the Database Management System in use. This is done by using Segment and relationship Descriptions defined during the application analysis phase. The DBD function can generate the description of the following DBMS’s: 2 VisualAge Pacbase: CODASYL DATABASE DESCRIPTION v Relational databases, v Network databases (CODASYL), v Hierarchical databases (DL/1), v Physical File - AS/400 databases and TANDEM DDL, v DMSII databases. Each one of these DBMS’s is documented in a specific Manual. Principles of Description In this manual, the entities and screens managed by VisualAge Pacbase are described in two parts: v An introduction which explains the purpose and the general characteristics of the entity or screen, v A detailed description of each screen, including the input fields of on-line screens. For the description of batch input, refer to the ’Developer’s Procedures’ manual. All the on-line fields described in this manual are assigned an order number in the screen map. These numbers are also used in the screen description that follows. If you use Developer workbench, refer to the on-line Help. If you use the VisualAge Pacbase WorkStation, refer to the ’WorkStation User Interface’ guide which documents the corresponding windows. Note: Each type of Database Block has a specific description. As a result, fields may have different meanings or may not be used, depending on the type of Database Block. Chapter 1. Introduction 3 4 VisualAge Pacbase: CODASYL DATABASE DESCRIPTION Chapter 2. Use of the Function with CODASYL Introduction INTRODUCTION The DBD CODASYL function allows the description of the following types of CODASYL databases in PACBASE: -DM4, -IDS2, -IDMS, -DMS. PURPOSE OF THE MANUAL The DBD CODASYL Reference Manual is not a technical training manual for CODASYL databases. The user should be familiar with CODASYL databases and the Specifications Dictionary. The purpose of this manual is to guide the user through the description of a CODASYL