COBOL-IT Reference Manual for More Detail About USAGE Memory Mapping

Total Page:16

File Type:pdf, Size:1020Kb

COBOL-IT Reference Manual for More Detail About USAGE Memory Mapping COBOL-IT Compiler Suite – Getting Started Version 3.9 COBOL-IT® Compiler Suite Enterprise Edition Getting Started Version 3.9 Page 1 COBOL-IT Compiler Suite – Getting Started Version 3.9 Contents ACKNOWLEDGMENT ........................................................................................................ 5 COMPILER, RUNTIME, AND DEBUGGER TOPICS .......................................................... 7 Introduction ...................................................................................................................................................................... 7 COBOL-IT License terms ................................................................................................................................................ 7 Installing COBOL-IT ....................................................................................................................................................... 8 The COBOL-IT Compiler Suite Distribution ................................................................................................................ 8 Installing the binary distributions (Linux/Unix)............................................................................................................. 9 Installing the binary distributions for the RuntimeOnly (Linux/Unix) ........................................................................ 10 cobol-it-setup.sh ........................................................................................................................................................... 10 Installing the binary distributions (Windows) .............................................................................................................. 11 setenv_cobolit.bat ( Windows 32 )............................................................................................................................... 14 setenv_cobolit.bat ( Windows x64 )............................................................................................................................. 14 Installing a “C” compiler ............................................................................................................................................. 15 Citlicense.xml .............................................................................................................................................................. 15 Highlighting Compiler and Runtime Options .............................................................................................................. 17 Source Format .............................................................................................................................................................. 17 Shared object or native executable ............................................................................................................................... 18 Locating copy files ....................................................................................................................................................... 19 Redirecting Output to another Directory ...................................................................................................................... 20 Calling subprograms .................................................................................................................................................... 21 Using data files ............................................................................................................................................................ 22 Options with multiple source files ............................................................................................................................... 23 Multiple source files to multiple shared objects .......................................................................................................... 23 Multiple source files to a single shared object ............................................................................................................. 23 Multiple COBOL source files to a single executable ................................................................................................... 24 Using compiled executables with compiled shared objects ......................................................................................... 24 COBOL source files and C source files to a single executable .................................................................................... 25 Separating the compile and link steps .......................................................................................................................... 25 Separate compile and link steps for multiple COBOL source files .............................................................................. 26 Linking “C” and COBOL objects ................................................................................................................................ 26 Building a shared library from COBOL and “C” routines ........................................................................................... 26 Linking a shared library with your main program ....................................................................................................... 27 USING THE COBOL-IT DEBUGGER ............................................................................... 28 Conventions Used............................................................................................................................................................ 28 The Debugger Prompt .................................................................................................................................................. 28 Source Location ........................................................................................................................................................... 28 Variables names ........................................................................................................................................................... 29 Usage of the COBOL-IT Debugger ............................................................................................................................... 29 command-line parameters ............................................................................................................................................ 29 program name ............................................................................................................................................................. 29 options .......................................................................................................................................................................... 29 Debugger Commands ..................................................................................................................................................... 31 break ( br ) ............................................................................................................................................................... 31 break [-t] label .............................................................................................................................................................. 31 Page 2 COBOL-IT Compiler Suite – Getting Started Version 3.9 break [-t] module!label ................................................................................................................................................ 32 break [-t] module!line-nr .............................................................................................................................................. 32 break [-t] module!0 ...................................................................................................................................................... 32 bt .................................................................................................................................................................................. 33 continue ........................................................................................................................................................................ 33 contreturn ..................................................................................................................................................................... 34 delete ( d ) <x> ............................................................................................................................................................ 34 frame ( f ) <frame-number> ........................................................................................................................................ 34 info ( i ) ........................................................................................................................................................................ 34 info break ..................................................................................................................................................................... 35 info locals ..................................................................................................................................................................... 35 info sources ................................................................................................................................................................. 35 info target ....................................................................................................................................................................
Recommended publications
  • Introduction to Programming in Fortran 77 for Students of Science and Engineering
    Introduction to programming in Fortran 77 for students of Science and Engineering Roman GrÄoger University of Pennsylvania, Department of Materials Science and Engineering 3231 Walnut Street, O±ce #215, Philadelphia, PA 19104 Revision 1.2 (September 27, 2004) 1 Introduction Fortran (FORmula TRANslation) is a programming language designed speci¯cally for scientists and engineers. For the past 30 years Fortran has been used for such projects as the design of bridges and aeroplane structures, it is used for factory automation control, for storm drainage design, analysis of scienti¯c data and so on. Throughout the life of this language, groups of users have written libraries of useful standard Fortran programs. These programs can be borrowed and used by other people who wish to take advantage of the expertise and experience of the authors, in a similar way in which a book is borrowed from a library. Fortran belongs to a class of higher-level programming languages in which the programs are not written directly in the machine code but instead in an arti¯cal, human-readable language. This source code consists of algorithms built using a set of standard constructions, each consisting of a series of commands which de¯ne the elementary operations with your data. In other words, any algorithm is a cookbook which speci¯es input ingredients, operations with them and with other data and ¯nally returns one or more results, depending on the function of this algorithm. Any source code has to be compiled in order to obtain an executable code which can be run on your computer.
    [Show full text]
  • A Beginner's Guide to Freebasic
    A Beginner’s Guide to FreeBasic Richard D. Clark Ebben Feagan A Clark Productions / HMCsoft Book Copyright (c) Ebben Feagan and Richard Clark. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". The source code was compiled under version .17b of the FreeBasic compiler and tested under Windows 2000 Professional and Ubuntu Linux 6.06. Later compiler versions may require changes to the source code to compile successfully and results may differ under different operating systems. All source code is released under version 2 of the Gnu Public License (http://www.gnu.org/copyleft/gpl.html). The source code is provided AS IS, WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Microsoft Windows®, Visual Basic® and QuickBasic® are registered trademarks and are copyright © Microsoft Corporation. Ubuntu is a registered trademark of Canonical Limited. 2 To all the members of the FreeBasic community, especially the developers. 3 Acknowledgments Writing a book is difficult business, especially a book on programming. It is impossible to know how to do everything in a particular language, and everyone learns something from the programming community. I have learned a multitude of things from the FreeBasic community and I want to send my thanks to all of those who have taken the time to post answers and examples to questions.
    [Show full text]
  • Bag-Of-Features Image Indexing and Classification in Microsoft SQL Server Relational Database
    Bag-of-Features Image Indexing and Classification in Microsoft SQL Server Relational Database Marcin Korytkowski, Rafał Scherer, Paweł Staszewski, Piotr Woldan Institute of Computational Intelligence Cze¸stochowa University of Technology al. Armii Krajowej 36, 42-200 Cze¸stochowa, Poland Email: [email protected], [email protected] Abstract—This paper presents a novel relational database ar- data directly in the database files. The example of such an chitecture aimed to visual objects classification and retrieval. The approach can be Microsoft SQL Server where binary data is framework is based on the bag-of-features image representation stored outside the RDBMS and only the information about model combined with the Support Vector Machine classification the data location is stored in the database tables. MS SQL and is integrated in a Microsoft SQL Server database. Server utilizes a special field type called FileStream which Keywords—content-based image processing, relational integrates SQL Server database engine with NTFS file system databases, image classification by storing binary large object (BLOB) data as files in the file system. Microsoft SQL dialect (Transact-SQL) statements I. INTRODUCTION can insert, update, query, search, and back up FileStream data. Application Programming Interface provides streaming Thanks to content-based image retrieval (CBIR) access to the data. FileStream uses operating system cache for [1][2][3][4][5][6][7][8] we are able to search for similar caching file data. This helps to reduce any negative effects images and classify them [9][10][11][12][13]. Images can be that FileStream data might have on the RDBMS performance.
    [Show full text]
  • How to Use the Database Server Babbage.Cs.Abo.Fi a Mysql Database Server for Those Attending This Year's Course Is Installed on the Server Babbage.Cs.Abo.Fi
    How to use the database server babbage.cs.abo.fi A MySQL database server for those attending this year's course is installed on the server babbage.cs.abo.fi. All the users are allowed to see all the databases there. A user has all priviledges to those databases that are called username_database. If your username is xxxx, you can create, change and drop (delete) databases calles xxxx_bank, xxxx_jobs, xxxx_courses etc. This is how you work with the system: You log on to babbage.cs.abo.fi using your normal userID and Unix-password (if you have not defined a separate password for unix, it is the same as your Windows password). You can use a communication program such as Putty och ssh Secure Shell, or just sit at one of the computers in the Linux-class (the penguin class) and use a terminal window. You get one by clicking the right mouse button and choosing Konsole. Or you can click the F-icon (lower left corner), the choose Applications, then Utilities, then Terminal. When you have this terminal window, you must use Linux-commands. You type the commands and push “enter”. Mouse-clicks do not work here. This is how you connect to babbage: ssh [email protected] Inside Åbo Akademi, using our network, it is enought to write ssh babbage From home or elsewhere, you must access babbage from tuxedo.abo.fi. First log onto tuxedo (normal userID, normal password), then write ssh [email protected] The computer now asks your password, and you give it the same Windows password.
    [Show full text]
  • 1. Introduction to Structured Programming 2. Functions
    UNIT -3Syllabus: Introduction to structured programming, Functions – basics, user defined functions, inter functions communication, Standard functions, Storage classes- auto, register, static, extern,scope rules, arrays to functions, recursive functions, example C programs. String – Basic concepts, String Input / Output functions, arrays of strings, string handling functions, strings to functions, C programming examples. 1. Introduction to structured programming Software engineering is a discipline that is concerned with the construction of robust and reliable computer programs. Just as civil engineers use tried and tested methods for the construction of buildings, software engineers use accepted methods for analyzing a problem to be solved, a blueprint or plan for the design of the solution and a construction method that minimizes the risk of error. The structured programming approach to program design was based on the following method. i. To solve a large problem, break the problem into several pieces and work on each piece separately. ii. To solve each piece, treat it as a new problem that can itself be broken down into smaller problems; iii. Repeat the process with each new piece until each can be solved directly, without further decomposition. 2. Functions - Basics In programming, a function is a segment that groups code to perform a specific task. A C program has at least one function main().Without main() function, there is technically no C program. Types of C functions There are two types of functions in C programming: 1. Library functions 2. User defined functions 1 Library functions Library functions are the in-built function in C programming system. For example: main() - The execution of every C program starts form this main() function.
    [Show full text]
  • AN125: Integrating Raisonance 8051 Tools Into The
    AN125 INTEGRATING RAISONANCE 8051 TOOLS INTO THE SILICON LABS IDE 1. Introduction 4. Configure the Tool Chain This application note describes how to integrate the Integration Dialog Raisonance 8051 Tools into the Silicon Laboratories Under the 'Project' menu, select 'Tool Chain Integration’ IDE (Integrated Development Environment). Integration to bring up the dialog box shown below. Raisonance provides an efficient development environment with (Ride 7) is the default. To use Raisonance (Ride 6), you compose, edit, build, download and debug operations can select it from the 'Preset Name' drop down box integrated in the same program. under 'Tools Definition Presets'. Next, define the Raisonance assembler, compiler, and linker as shown in 2. Key Points the following sections. The Intel OMF-51 absolute object file generated by the Raisonance 8051 tools enables source-level debug from the Silicon Labs IDE. Once Raisonance Tools are integrated into the IDE they are called by simply pressing the ‘Assemble/ Compile Current File’ button or the ‘Build/Make Project’ button. See the “..\Silabs\MCU\Examples” directory for examples that can be used with the Raisonance tools. Information in this application note applies to Version 4.00 and later of the Silicon Labs IDE and Ride7 and later of the Raisonance 8051 tools. 4.1. Assembler Definition 1. Under the ‘Assembler’ tab, if the assembler 3. Create a Project in the Silicon executable is not already defined, click the browse Labs IDE button next to the ‘Executable:’ text box, and locate the assembler executable. The default location for A project is necessary in order to link assembly files the Raisonance assembler is: created by the compiler and build an absolute ‘OMF-51’ C:\Program Files\Raisonance\Ride7\bin\ma51.exe output file.
    [Show full text]
  • 4 Using HLA with the HIDE Integrated Development Environment
    HLA Reference Manual 5/24/10 Chapter 4 4 Using HLA with the HIDE Integrated Development Environment This chapter describes two IDEs (Integrated Development Environments) for HLA: HIDE and RadASM. 4.1 The HLA Integrated Development Environment (HIDE) Sevag has written a nice HLA-specified integrated development environment for HLA called HIDE (HLA IDE). This one is a bit easier to install, set up, and use than RadASM (at the cost of being a little less flexible). HIDE is great for beginners who want to get up and running with a minimal amount of fuss. You can find HIDE at the HIDE home page: http://sites.google.com/site/highlevelassembly/downloads/hide Contact: [email protected] Note: the following documentation was provided by Sevag. Thanks Sevag! 4.1.1 Description HIDE is an integrated development environment for use with Randall Hyde's HLA (High Level Assembler). The HIDE package contains various 3rd party programs and tools to provide for a complete environment that requires no files external to the package. Designed for a system- friendly interface, HIDE makes no changes to your system registry and requires no global environment variables to function. The only exception is ResEd (a 3rd party Resource Editor written by Ketil.O) which saves its window position into the registry. 4.1.2 Operation HIDE is an integrated development environment for use with Randall Hyde's HLA (High Level Assembler). The HIDE package contains various 3rd party programs and tools to provide for a complete environment that requires no files external to the package. Designed for a system- friendly interface, HIDE makes no changes to your system registry and requires no global environment variables to function.
    [Show full text]
  • Oracle® Tuxedo Installing the Oracle Tuxedo Application Runtimes 12C Release 2 (12.1.3)
    Oracle® Tuxedo Installing the Oracle Tuxedo Application Runtimes 12c Release 2 (12.1.3) April 2014 Installing the Oracle Tuxedo Application Runtimes, 12c Release 2 (12.1.3) Copyright © 1996, 2014, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
    [Show full text]
  • Read and Write Images from a Database Using SQL Server
    HOWTO: Read and write images from a database using SQL Server Atalasoft is an imaging SDK and we do not directly have any dependencies on, or specific functionality for Database access (with the single exception of our DbImageSource class). However, since the typical means of image storage in a database is a BLOB (Binary Long Object), developers can take advantage of the AtalaImage.ToByteArray and AtalaImage.FromByteArray methods to use in their own code to store and retrieve image data to and from databases respectively. Atalasoft dotImage has streaming capabilities that can be used jointly with ADO.NET to read and write images directly to a database without saving to a temporary file. The following code snippets demonstrates this in C# and VB.NET. Please note that the code examples below are provided as a courtesy/convenience only and are not meant to be production code or represent the only way to access a database. The code is provided as is as but an example of how to get the needed data in a byte array suitable for use in storing to a database and how to take binary data containing an image back into an AtalaImage to use in our SDK. Write to a Database C# rivate void SaveToSqlDatabase(AtalaImage image) { SqlConnection myConnection = null; try { // Save image to byte array. // we will be storing this image as a Jpeg using our JpegEncoder with 75 quality // you could use any of our ImageEncoder classes to store as the respective image types byte[] imagedata = image.ToByteArray(new Atalasoft.Imaging.Codec.JpegEncoder(75)); // Create the SQL statement to add the image data.
    [Show full text]
  • Peoplesoft Financials/Supply Chain Management 9.2 (Through Update Image 40) Hardware and Software Requirements
    PeopleSoft Financials/Supply Chain Management 9.2 (through Update Image 40) Hardware and Software Requirements July 2021 PeopleSoft Financials/Supply Chain Management 9.2 (through Update Image 40) Hardware and Software Requirements Copyright © 2021, Oracle and/or its affiliates. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software
    [Show full text]
  • Oracle Databases on Vmware Best Practices Guide Provides Best Practice Guidelines for Deploying Oracle Databases on Vmware Vsphere®
    VMware Hybrid Cloud Best Practices Guide for Oracle Workloads Version 1.0 May 2016 © 2016 VMware, Inc. All rights reserved. Page 1 of 81 © 2016 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. This product is covered by one or more patents listed at http://www.vmware.com/download/patents.html. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies. VMware, Inc. 3401 Hillview Ave Palo Alto, CA 94304 www.vmware.com © 2016 VMware, Inc. All rights reserved. Page 2 of 81 VMware Hybrid Cloud Best Practices Guide for Oracle Workloads Contents 1. Introduction ...................................................................................... 9 2. vSphere ......................................................................................... 10 3. VMware Support for Oracle Databases on vSphere ....................... 11 3.1 VMware Oracle Support Policy .................................................................................... 11 3.2 VMware Oracle Support Process................................................................................. 12 4. Server Guidelines .......................................................................... 13 4.1 General Guidelines ...................................................................................................... 13 4.2 Hardware Assisted Virtualization ................................................................................
    [Show full text]
  • Powerhouse(R) 4GL Migration Planning Guide
    COGNOS(R) APPLICATION DEVELOPMENT TOOLS POWERHOUSE(R) 4GL FOR MPE/IX MIGRATION PLANNING GUIDE Migration Planning Guide 15-02-2005 PowerHouse 8.4 Type the text for the HTML TOC entry Type the text for the HTML TOC entry Type the text for the HTML TOC entry Type the Title Bar text for online help PowerHouse(R) 4GL version 8.4 USER GUIDE (DRAFT) THE NEXT LEVEL OF PERFORMANCETM Product Information This document applies to PowerHouse(R) 4GL version 8.4 and may also apply to subsequent releases. To check for newer versions of this document, visit the Cognos support Web site (http://support.cognos.com). Copyright Copyright © 2005, Cognos Incorporated. All Rights Reserved Printed in Canada. This software/documentation contains proprietary information of Cognos Incorporated. All rights are reserved. Reverse engineering of this software is prohibited. No part of this software/documentation may be copied, photocopied, reproduced, stored in a retrieval system, transmitted in any form or by any means, or translated into another language without the prior written consent of Cognos Incorporated. Cognos, the Cognos logo, Axiant, PowerHouse, QUICK, and QUIZ are registered trademarks of Cognos Incorporated. QDESIGN, QTP, PDL, QUTIL, and QSHOW are trademarks of Cognos Incorporated. OpenVMS is a trademark or registered trademark of HP and/or its subsidiaries. UNIX is a registered trademark of The Open Group. Microsoft is a registered trademark, and Windows is a trademark of Microsoft Corporation. FLEXlm is a trademark of Macrovision Corporation. All other names mentioned herein are trademarks or registered trademarks of their respective companies. All Internet URLs included in this publication were current at time of printing.
    [Show full text]