XL Fortran: Compiler Reference -Qmbcs

Total Page:16

File Type:pdf, Size:1020Kb

XL Fortran: Compiler Reference -Qmbcs IBM XL Fortran for AIX, V16.1 IBM Compiler Reference Version 16.1 SC27-8061-00 IBM XL Fortran for AIX, V16.1 IBM Compiler Reference Version 16.1 SC27-8061-00 Note Before using this information and the product it supports, read the information in “Notices” on page 425. First edition This edition applies to IBM XL Fortran for AIX, V16.1 (Program 5765-J14, 5725-C74) and to all subsequent releases and modifications until otherwise indicated in new editions. Make sure you are using the correct edition for the level of the product. © Copyright IBM Corporation 1990, 2018. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents About this document ........ vii Specifying options on the command line.... 25 Who should read this document ....... vii Specifying options in the source file ..... 26 How to use this document ......... vii Passing command-line options to the "ld" or "as" How this document is organized ....... vii command .............. 27 Conventions .............. viii Compiling XL Fortran programs ....... 28 Related information ........... xii Compilation scenarios .......... 30 Available help information ........ xii Compilation order for Fortran programs.... 35 Standards and specifications ....... xiv Canceling a compilation ......... 35 Technical support ............ xiv Compilation with the C preprocessor ..... 36 How to send your comments ........ xv Linking XL Fortran programs ........ 38 Compiling and linking in separate steps .... 38 Chapter 1. Introduction ........ 1 Linking 32-bit SMP object files using the ld command .............. 38 Linking 64-bit SMP object files using the ld Chapter 2. Overview of XL Fortran command .............. 39 features ............... 3 Linking 32-bit non-SMP object files using the ld Hardware and operating-system support ..... 3 command .............. 40 Language support ............ 3 Linking 64-bit non-SMP object files using the ld Source-code conformance checking ....... 4 command .............. 41 Highly configurable compiler ......... 4 Passing options to the ld command ..... 41 Diagnostic listings ............ 6 Checking for interface errors at link time ... 41 Symbolic debugger support ......... 6 Linking new objects with existing ones .... 41 Program optimization ........... 6 Relinking an existing executable file ..... 42 Dynamic and static linking ........ 43 Chapter 3. Setting up and customizing Avoiding naming conflicts during linking ... 43 XL Fortran.............. 7 Running XL Fortran programs ........ 44 Where to find installation instructions ...... 7 Canceling execution .......... 44 Correct settings for environment variables .... 7 Running previously compiled programs .... 45 Environment variable basics ........ 7 Compiling and executing on different systems.. 45 Environment variables for national language POSIX Pthreads binary compatibility ..... 45 support ............... 8 Runtime libraries for POSIX pthreads support .. 46 IPA environment variables ......... 9 Selecting the language for runtime messages .. 47 LIBPATH: Setting library search paths ..... 9 Setting runtime options ......... 47 Profile-directed feedback environment variables 10 Other environment variables that affect runtime TMPDIR: Specifying a directory for temporary behavior ............... 59 files ................ 11 XL Fortran runtime exceptions ........ 59 XLFSCRATCH_unit: Specifying names for scratch files ................ 11 Chapter 5. Tracking and reporting XLFUNIT_unit: Specifying names for implicitly compiler usage ........... 61 connected files ............ 11 Using the utilization reporting tool ...... 61 Using custom compiler configuration files .... 11 Understanding utilization tracking and reporting 61 Creating custom configuration files ..... 12 Preparing to use this feature........ 70 Editing the default configuration file ...... 15 Testing utilization tracking ........ 74 Configuration file attributes ........ 16 Configuring utilization tracking ...... 75 Determining which level of XL Fortran is installed 19 Understanding the utilization reporting tool .. 79 Running two levels of XL Fortran ....... 19 Generating usage reports ......... 83 Pruning usage files ........... 86 Chapter 4. Editing, compiling, linking, Diagnostic messages from utilization tracking and running XL Fortran programs ... 21 and reporting............. 87 Input and output files ........... 21 Using SLM Tags logging .......... 87 XL Fortran input files .......... 21 Understanding SLM Tags logging ...... 87 XL Fortran output files ......... 23 Setting up SLM Tags logging ....... 89 Editing XL Fortran source files ........ 24 Specifying compiler options ......... 25 Scope and precedence of option settings .... 25 © Copyright IBM Corp. 1990, 2018 iii Chapter 6. Summary of compiler -qci................. 165 options by functional category .... 91 -qcompact .............. 166 Output control ............. 91 -qcr................. 167 Input control .............. 92 -qctyplss ............... 167 Language element control ......... 94 -qdbg ................ 169 Floating-point and integer control ....... 96 -qdbgfmt ............... 170 Object code control ............ 97 -qddim ............... 171 Error checking and debugging ........ 98 -qdescriptor .............. 172 Listings, messages, and compiler information... 100 -qdirective .............. 174 Optimization and tuning ......... 102 -qdirectstorage ............. 175 Linking ............... 105 -qdlines ............... 176 Portability and migration ......... 107 -qdpc ................ 177 Compiler customization .......... 108 -qdpcl ................ 178 Deprecated options ........... 109 -qenum ............... 179 -qescape ............... 179 Chapter 7. Detailed descriptions of the -qessl ................ 181 -qexpfile ............... 182 XL Fortran compiler options ..... 111 -qextchk ............... 182 -# ................. 112 -qextern ............... 183 -1 ................. 113 -qextname .............. 184 -B ................. 113 -qfdpr ................ 186 -b64 ................ 114 -qfixed ............... 187 -bdynamic, -bshared, and -bstatic ....... 115 -qflag ................ 188 -bhalt ................ 116 -qfloat ................ 189 -bloadmap .............. 117 -qfpp ................ 194 -bmaxdata, -bmaxstack .......... 118 -qflttrap ............... 195 -brtl ................ 119 -qfree ................ 197 -bshared ............... 120 -qfullpath .............. 198 -bstatic ............... 120 -qfunctrace .............. 199 -C ................. 120 -qfunctrace_xlf_catch ........... 201 -c ................. 121 -qfunctrace_xlf_enter ........... 202 -D ................. 121 -qfunctrace_xlf_exit ........... 203 -d ................. 123 -qhalt ................ 204 -e ................. 123 -qhaltonmsg .............. 205 -F ................. 124 -qhelp ................ 206 -g ................. 126 -qhot ................ 206 -G ................. 129 -qieee ................ 209 -I ................. 129 -qinfo ................ 210 -k ................. 130 -qinit ................ 215 -L ................. 131 -qinitalloc .............. 215 -l ................. 132 -qinitauto............... 217 -MF ................ 133 -qinlglue ............... 220 -MMD................ 134 -qinline ............... 221 -MT ................ 134 -qintlog ............... 223 -NS................. 136 -qintsize ............... 224 -O ................. 136 -qipa ................ 226 -o ................. 139 -qkeepparm .............. 233 -p ................. 140 -qlanglvl ............... 234 -q32 ................ 141 -qlargepage .............. 236 -q64 ................ 142 -qlibansi ............... 237 -qalias ................ 143 -qlibessl ............... 238 -qalias_size .............. 146 -qlibmpi ............... 238 -qalign ............... 147 -qlibposix............... 239 -qarch ................ 149 -qlinedebug .............. 240 -qassert ............... 152 -qlist ................ 241 -qattr ................ 154 -qlistfmt ............... 242 -qautodbl............... 155 -qlistopt ............... 245 -qbindcextname ............ 157 -qlog4 ................ 246 -qcache ............... 158 -qmakedep .............. 246 -qcclines ............... 161 -qmaxerr ............... 249 -qcheck ............... 161 -qmaxmem .............. 250 iv XL Fortran: Compiler Reference -qmbcs ............... 252 -qxlf77................ 333 -qminimaltoc ............. 253 -qxlf90................ 335 -qmixed ............... 253 -qxlf2003 ............... 337 -qmkshrobj .............. 254 -qxlf2008 ............... 341 -qmoddir ............... 256 -qxlines ............... 341 -qmodule............... 256 -qxref ................ 343 -qnoprint ............... 257 -qzerosize .............. 344 -qnullterm .............. 258 -r ................. 345 -qobject ............... 259 -S ................. 346 -qonetrip ............... 260 -t ................. 346 -qoptdebug .............. 260 -U ................. 348 -qoptfile ............... 262 -u ................. 349 -qoptimize .............. 264 -v ................. 349 -qpath ................ 264 -V ................. 350 -qpdf1, -qpdf2 ............. 266 -w ................. 350 -qphsinfo ............... 270 -W, -X ................ 351 -qpic ................ 272 -y ................. 352 -qport ................ 273 -qposition .............. 275 Chapter 8. Compiler commands -qppsuborigarg ............. 277 reference ............. 355 -qprefetch .............. 278 cleanpdf ............... 355 -qpreprocess.............
Recommended publications
  • The “Stabs” Debug Format
    The \stabs" debug format Julia Menapace, Jim Kingdon, David MacKenzie Cygnus Support Cygnus Support Revision TEXinfo 2017-08-23.19 Copyright c 1992{2021 Free Software Foundation, Inc. Contributed by Cygnus Support. Written by Julia Menapace, Jim Kingdon, and David MacKenzie. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled \GNU Free Documentation License". i Table of Contents 1 Overview of Stabs ::::::::::::::::::::::::::::::: 1 1.1 Overview of Debugging Information Flow ::::::::::::::::::::::: 1 1.2 Overview of Stab Format ::::::::::::::::::::::::::::::::::::::: 1 1.3 The String Field :::::::::::::::::::::::::::::::::::::::::::::::: 2 1.4 A Simple Example in C Source ::::::::::::::::::::::::::::::::: 3 1.5 The Simple Example at the Assembly Level ::::::::::::::::::::: 4 2 Encoding the Structure of the Program ::::::: 7 2.1 Main Program :::::::::::::::::::::::::::::::::::::::::::::::::: 7 2.2 Paths and Names of the Source Files :::::::::::::::::::::::::::: 7 2.3 Names of Include Files:::::::::::::::::::::::::::::::::::::::::: 8 2.4 Line Numbers :::::::::::::::::::::::::::::::::::::::::::::::::: 9 2.5 Procedures ::::::::::::::::::::::::::::::::::::::::::::::::::::: 9 2.6 Nested Procedures::::::::::::::::::::::::::::::::::::::::::::: 11 2.7 Block Structure
    [Show full text]
  • Fortran Reference Guide
    FORTRAN REFERENCE GUIDE Version 2018 TABLE OF CONTENTS Preface............................................................................................................ xv Audience Description......................................................................................... xv Compatibility and Conformance to Standards............................................................ xv Organization................................................................................................... xvi Hardware and Software Constraints...................................................................... xvii Conventions................................................................................................... xvii Related Publications........................................................................................ xviii Chapter 1. Language Overview............................................................................... 1 1.1. Elements of a Fortran Program Unit.................................................................. 1 1.1.1. Fortran Statements................................................................................. 1 1.1.2. Free and Fixed Source............................................................................. 2 1.1.3. Statement Ordering................................................................................. 2 1.2. The Fortran Character Set.............................................................................. 3 1.3. Free Form Formatting..................................................................................
    [Show full text]
  • SPSS to Orthosim File Conversion Utility Helpfile V.1.4
    SPSS to Orthosim File Conversion Utility Helpfile v.1.4 Paul Barrett Advanced Projects R&D Ltd. Auckland New Zealand email: [email protected] Web: www.pbarrett.net 30th December, 2019 Contents 3 Table of Contents Part I Introduction 5 1 Installation Details ................................................................................................................................... 7 2 Extracting Matrices from SPSS - Cut and Paste ................................................................................................................................... 8 3 Extracting Matrices from SPSS: Orthogonal Factors - E.x..c..e..l. .E..x..p..o..r.t................................................................................................................. 17 4 Extracting Matrices from SPSS: Oblique Factors - Exce.l. .E..x..p..o..r..t...................................................................................................................... 24 5 Creating Orthogonal Factor Orthosim Files ................................................................................................................................... 32 6 Creating Oblique Factor Orthosim Files ................................................................................................................................... 41 3 Paul Barrett Part I 6 SPSS to Orthosim File Conversion Utility Helpfile v.1.4 1 Introduction SPSS-to-Orthosim converts SPSS 11/12/13/14 factor loading and factor correlation matrices into the fixed-format .vf (simple ASCII text) files
    [Show full text]
  • The IAR XLINK Linker™ and IAR XLIB Librarian™ Reference Guide
    IAR Linker and Library To o l s Reference Guide Version 4.60 XLINK-460G COPYRIGHT NOTICE © Copyright 1987–2007 IAR Systems. All rights reserved. No part of this document may be reproduced without the prior written consent of IAR Systems. The software described in this document is furnished under a license and may only be used or copied in accordance with the terms of such a license. DISCLAIMER The information in this document is subject to change without notice and does not represent a commitment on any part of IAR Systems. While the information contained herein is assumed to be accurate, IAR Systems assumes no responsibility for any errors or omissions. In no event shall IAR Systems, its employees, its contractors, or the authors of this document be liable for special, direct, indirect, or consequential damage, losses, costs, charges, claims, demands, claim for lost profits, fees, or expenses of any nature or kind. TRADEMARKS IAR, IAR Systems, IAR Embedded Workbench, IAR MakeApp, C-SPY, visualSTATE, From Idea To Target, IAR KickStart Kit and IAR PowerPac are trademarks or registered trademarks owned by IAR Systems AB. All other product names are trademarks or registered trademarks of their respective owners. EDITION NOTICE April 2007 Part number: XLINK-460G The IAR Linker and Library Tools Reference Guide replaces all versions of the IAR XLINK Linker™ and IAR XLIB Librarian™ Reference Guide. XLINK-460G Contents Tables .....................................................................................................................
    [Show full text]
  • Packet Structure Definition
    xx Tektronix Logic Analyzer Online Help ZZZ PrintedHelpDocument *P077003206* 077-0032-06 Tektronix Logic Analyzer Online Help ZZZ PrintedHelpDocument www.tektronix.com 077-0032-06 Copyright © Tektronix. All rights reserved. Licensed software products are owned by Tektronix or its subsidiaries or suppliers, and are protected by national copyright laws and international treaty provisions. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supersedes that in all previously published material. Specifications and price change privileges reserved. TEKTRONIX and TEK are registered trademarks of Tektronix, Inc. D-Max, MagniVu, iView, iVerify, iCapture, iLink, PowerFlex, and TekLink are trademarks of Tektronix, Inc. 076-0113-06 077-0032-06 April 27, 2012 Contacting Tektronix Tektronix, Inc. 14150 SWKarlBraunDrive P.O. Box 500 Beaverton, OR 97077 USA For product information, sales, service, and technical support: In North America, call 1-800-833-9200. Worldwide, visit www.tektronix.com to find contacts in your area. Warranty Tektronix warrants that this product will be free from defects in materials and workmanship for a period of one (1) year from the date of shipment. If any such product proves defective during this warranty period, Tektronix, at its option, either will repair the defective product without charge for parts and labor, or will provide a replacement in exchange for the defective product. Parts, modules and replacement products used by Tektronix for warranty work may be new or reconditioned to like new performance. All replaced parts, modules and products become the property of Tektronix. In order to obtain service under this warranty, Customer must notify Tektronix of the defect before the expiration of the warranty period and make suitable arrangements for the performance of service.
    [Show full text]
  • IBM Power® Systems for SAS® Empowers Advanced Analytics Harry Seifert, Laurent Montaron, IBM Corporation
    Paper 4695-2020 IBM Power® Systems for SAS® Empowers Advanced Analytics Harry Seifert, Laurent Montaron, IBM Corporation ABSTRACT For over 40+ years of partnership between IBM and SAS®, clients have been benefiting from the added value brought by IBM’s infrastructure platforms to deploy SAS analytics, and now SAS Viya’s evolution of modern analytics. IBM Power® Systems and IBM Storage empower SAS environments with infrastructure that does not make tradeoffs among performance, cost, and reliability. The unified solution stack, comprising server, storage, and services, reduces the compute time, controls costs, and maximizes resilience of SAS environment with ultra-high bandwidth and highest availability. INTRODUCTION We will explore how to deploy SAS on IBM Power Systems platforms and unleash the full potential of the infrastructure, to reduce deployment risk, maximize flexibility and accelerate insights. We will start by reviewing IBM and SAS’s technology relationship and the current state of SAS products on IBM Power Systems. Then we will look at some of the infrastructure options to deploy SAS 9.4 on IBM Power Systems and IBM Storage, while maximizing resiliency & throughput by leveraging best practices. Next, we will look at SAS Viya, which introduces changes to the underlying infrastructure requirements while remaining able to be deployed alongside a traditional SAS 9.4 operation. We’ll explore the various deployment modes available. Finally, we’ll look at tuning practices and reference materials available for a deeper dive in deploying SAS on IBM platforms. SAS: 40 YEARS OF PARTNERSHIP WITH IBM IBM and SAS have been partners since the founding of SAS.
    [Show full text]
  • POWER® Processor-Based Systems
    IBM® Power® Systems RAS Introduction to IBM® Power® Reliability, Availability, and Serviceability for POWER9® processor-based systems using IBM PowerVM™ With Updates covering the latest 4+ Socket Power10 processor-based systems IBM Systems Group Daniel Henderson, Irving Baysah Trademarks, Copyrights, Notices and Acknowledgements Trademarks IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. These and other IBM trademarked terms are marked on their first occurrence in this information with the appropriate symbol (® or ™), indicating US registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at http://www.ibm.com/legal/copytrade.shtml The following terms are trademarks of the International Business Machines Corporation in the United States, other countries, or both: Active AIX® POWER® POWER Power Power Systems Memory™ Hypervisor™ Systems™ Software™ Power® POWER POWER7 POWER8™ POWER® PowerLinux™ 7® +™ POWER® PowerHA® POWER6 ® PowerVM System System PowerVC™ POWER Power Architecture™ ® x® z® Hypervisor™ Additional Trademarks may be identified in the body of this document. Other company, product, or service names may be trademarks or service marks of others. Notices The last page of this document contains copyright information, important notices, and other information. Acknowledgements While this whitepaper has two principal authors/editors it is the culmination of the work of a number of different subject matter experts within IBM who contributed ideas, detailed technical information, and the occasional photograph and section of description.
    [Show full text]
  • IBM AIX Version 6.1 Differences Guide
    Front cover IBM AIX Version 6.1 Differences Guide AIX - The industrial strength UNIX operating system AIX Version 6.1 enhancements explained An expert’s guide to the new release Roman Aleksic Ismael "Numi" Castillo Rosa Fernandez Armin Röll Nobuhiko Watanabe ibm.com/redbooks International Technical Support Organization IBM AIX Version 6.1 Differences Guide March 2008 SG24-7559-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xvii. First Edition (March 2008) This edition applies to AIX Version 6.1, program number 5765-G62. © Copyright International Business Machines Corporation 2007, 2008. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures . xi Tables . xiii Notices . xvii Trademarks . xviii Preface . xix The team that wrote this book . xix Become a published author . xxi Comments welcome. xxi Chapter 1. Application development and system debug. 1 1.1 Transport independent RPC library. 2 1.2 AIX tracing facilities review . 3 1.3 POSIX threads tracing. 5 1.3.1 POSIX tracing overview . 6 1.3.2 Trace event definition . 8 1.3.3 Trace stream definition . 13 1.3.4 AIX implementation overview . 20 1.4 ProbeVue . 21 1.4.1 ProbeVue terminology. 23 1.4.2 Vue programming language . 24 1.4.3 The probevue command . 25 1.4.4 The probevctrl command . 25 1.4.5 Vue: an overview. 25 1.4.6 ProbeVue dynamic tracing example . 31 Chapter 2. File systems and storage. 35 2.1 Disabling JFS2 logging .
    [Show full text]
  • Raiffeisenbank Speeds Data Warehouse, Cuts Costs with Red Hat Enterprise Linux
    CUSTOMER CASE STUDY RAIFFEISENBANK SPEEDS DATA WAREHOUSE, CUTS COSTS WITH RED HAT ENTERPRISE LINUX Raiffeisenbank, a banking institution that provides a wide range of services to private and corporate clients in the Czech Republic, needed to replace the aging hardware and IBM AIX operating system that supported its data warehouse. By migrating to Red Hat Enterprise Linux running on cost-effective Hitachi servers with Intel processors, the bank has tripled system performance speed and maintained stability — while cutting total cost SOFTWARE AND of ownership (TCO) by 50%. SERVICES Red Hat® Enterprise Linux® HARDWARE Hitachi Unified Compute Platform for Oracle Database Hitachi Compute Blade 2500 Prague, Czech Republic FINANCIAL SERVICES (CB 2500) Hitachi Virtual Storage HEADQUARTERS 3,000 EMPLOYEES Platform G600 (VSP G600) 120 BRANCHES PARTNER “There are many benefits to using Red Hat MHM computer a.s. and Oracle solutions together, and also BENEFITS from moving from IBM to Intel. We feel • Achieved three times faster a combination of Red Hat and Oracle on system performance an Intel platform is a preferred solution • Anticipates 50% decrease for any company.” in total cost of ownership over five years JIŘÍ KOUTNÍK HEAD OF SYSTEM ADMINISTRATION, • Gained greater flexibility by RAIFFEISENBANK eliminating vendor lock-in facebook.com/redhatinc @redhatnews linkedin.com/company/red-hat redhat.com AGING UNIX SYSTEM TOO SLOW FOR MODERN BUSINESS Raiffeisenbank a.s. provides a wide range of banking services to private and corporate clients in the Czech Republic at more than 120 branches and business client centers. The bank offers corpo- rate and personal finance products and services related to savings, insurance, and leasing, including specialized mortgage centers and business advisors.
    [Show full text]
  • ILE C/C++ Programmer's Guide
    IBM i 7.2 Programming IBM Rational Development Studio for i ILE C/C++ Programmer's Guide IBM SC09-2712-07 Note Before using this information and the product it supports, read the information in “Notices” on page 441. This edition applies to version 7, release 2, modification 0 of IBM Rational Development Studio for i (product number 5770-WDS) and to all subsequent releases and modifications until otherwise indicated in new editions. This version does not run on all reduced instruction set computer (RISC) models nor does it run on CISC models. This document may contain references to Licensed Internal Code. Licensed Internal Code is Machine Code and is licensed to you under the terms of the IBM License Agreement for Machine Code. © Copyright International Business Machines Corporation 1993, 2013. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents ILE C/C++ Programmer’s Guide..............................................................................1 PDF file for ILE C/C++ Programmer’s Guide............................................................................................... 3 About ILE C/C++ Programmer's Guide........................................................................................................5 Install Licensed Program Information................................................................................................... 5 Notes About Examples..........................................................................................................................
    [Show full text]
  • Developing Embedded SQL Applications
    IBM DB2 10.1 for Linux, UNIX, and Windows Developing Embedded SQL Applications SC27-3874-00 IBM DB2 10.1 for Linux, UNIX, and Windows Developing Embedded SQL Applications SC27-3874-00 Note Before using this information and the product it supports, read the general information under Appendix B, “Notices,” on page 209. Edition Notice This document contains proprietary information of IBM. It is provided under a license agreement and is protected by copyright law. The information contained in this publication does not include any product warranties, and any statements provided in this manual should not be interpreted as such. You can order IBM publications online or through your local IBM representative. v To order publications online, go to the IBM Publications Center at http://www.ibm.com/shop/publications/ order v To find your local IBM representative, go to the IBM Directory of Worldwide Contacts at http://www.ibm.com/ planetwide/ To order DB2 publications from DB2 Marketing and Sales in the United States or Canada, call 1-800-IBM-4YOU (426-4968). 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 IBM Corporation 1993, 2012. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Chapter 1. Introduction to embedded Include files for COBOL embedded SQL SQL................1 applications .............29 Embedding SQL statements
    [Show full text]
  • The UCSD P-System STATUT ORIL Y EX E:M PT
    DOCfi!D(ov~ by NSA on 12-01-2011, Transparency Case# 5335]UNCLASSIFIED The UCSD p-System STATUT ORIL Y EX E:M PT This paper discusses the UCSD p-System, an operating system for small computers developed at the University of California at San Diego. The discussion includes the overall system, file managing, editing, and programming in Pascal on the system. INTRODUCTION The UCSD p-System was developed at the University of California at San Diego to support Pascal programming on microcomputers. Similar to MS-DOS, the p-System is an operating system for small computers but is, in many ways, very different. The p-System is written in Pascal and now supports not only Pascal, but also FORTRAN, COBOL, BASIC, and Modula-2. The concept was to have an operating system that, once it was implemented on a machine, allowed any program written under that operating system to be truly transportable from computer to computer. That is to say, the p-System compiler would not actually translate the program into a language that was specific for, say, an 8088 chip on the IBM-PC, but rather would translate it into a "pseudo" language that, when used with an operating system designed for the PC, would run correctly. Similarly, if the operating system were implemented on a Digital Equipment Corporation (DEC) computer, this same pseudo code would still work properly with no modifications. The particular version of UCSD p-System tested was written for the IBM-PC and requires two single-sided double-density disk drives and at least 128K of memory.
    [Show full text]