SQL/MP Programming Manual for COBOL

Total Page:16

File Type:pdf, Size:1020Kb

SQL/MP Programming Manual for COBOL HP NonStop SQL/MP Programming Manual for COBOL Abstract This manual documents the programming interface to HP NonStop™ SQL/MP for COBOL. It is intended for application programmers who are embedding SQL statements and directives in COBOL programs. Product Version NonStop SQL/MP G06 and H01 Supported Release Version Updates (RVUs) This publication supports J06.03 and all subsequent J-series RVUs, H06.03 and all subsequent H-series RVUs, G06.20 and all subsequent G-series RVUs, and D46.00 and all subsequent D-series RVUs until otherwise indicated by its replacement publications. Part Number Published 529758-003 August 2012 Document History Part Number Product Version Published 429326-002 NonStop SQL/MP G06 May 2003 429326-003 NonStop SQL/MP G06 December 2003 429326-004 NonStop SQL/MP G06 December 2004 529758-001 NonStop SQL/MP G06 April 2005 529758-002 NonStop SQL/MP G06 and H01 August 2010 529758-003 NonStop SQL/MP G06 and H01 August 2012 Legal Notices © Copyright 2012 Hewlett-Packard Development Company, L.P. Legal Notice Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license. The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. Export of the information contained in this publication may require authorization from the U.S. Department of Commerce. Microsoft, Windows, and Windows NT are U.S. registered trademarks of Microsoft Corporation. Intel, Pentium, and Celeron are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Java® is a registered trademark of Oracle and/or its affiliates. Motif, OSF/1, UNIX, X/Open, and the "X" device are registered trademarks, and IT DialTone and The Open Group are trademarks of The Open Group in the U.S. and other countries. Open Software Foundation, OSF, the OSF logo, OSF/1, OSF/Motif, and Motif are trademarks of the Open Software Foundation, Inc. OSF MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THE OSF MATERIAL PROVIDED HEREIN, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. OSF shall not be liable for errors contained herein or for incidental consequential damages in connection with the furnishing, performance, or use of this material. © 1990, 1991, 1992, 1993 Open Software Foundation, Inc. The OSF documentation and the OSF software to which it relates are derived in part from materials supplied by the following:© 1987, 1988, 1989 Carnegie-Mellon University. © 1989, 1990, 1991 Digital Equipment Corporation. © 1985, 1988, 1989, 1990 Encore Computer Corporation. © 1988 Free Software Foundation, Inc. © 1987, 1988, 1989, 1990, 1991 Hewlett-Packard Company. © 1985, 1987, 1988, 1989, 1990, 1991, 1992 International Business Machines Corporation. © 1988, 1989 Massachusetts Institute of Technology. © 1988, 1989, 1990 Mentat Inc. © 1988 Microsoft Corporation. © 1987, 1988, 1989, 1990, 1991, 1992 SecureWare, Inc. © 1990, 1991 Siemens Nixdorf Informationssysteme AG. © 1986, 1989, 1996, 1997 Sun Microsystems, Inc. © 1989,1990, 1991 Transarc Corporation.OSF software and documentation are based in part on the Fourth Berkeley Software Distribution under license from The Regents of the University of California. OSF acknowledges the following individuals and institutions for their role in its development: Kenneth C.R.C. Arnold, Gregory S. Couch, Conrad C. Huang, Ed James, Symmetric Computer Systems, Robert Elz. © 1980, 1981, 1982, 1983, 1985, 1986, 1987, 1988, 1989 Regents of the University of California. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org). HP NonStop SQL/MP Programming Manual for COBOL Index Examples Figures Tables Legal Notices What’s New in This Manual xi Manual Information xi New and Changed Information xi About This Manual xiii Who Should Read This Guide xiii Related Manuals xiii Notation Conventions xvi HP Encourages Your Comments xix 1. Introduction Advantages of Using Embedded SQL Statements 1-1 Development of a COBOL Program 1-2 Host Variables 1-2 SQL/MP Statements and Directives 1-2 SQL/MP System Procedures 1-4 Program Compilation and Execution 1-4 Error and Status Reporting 1-5 Dynamic SQL Operations 1-6 SQL/MP Version Management 1-7 COBOL in the Open System (OSS) Environment 1-7 Effect on Conformance to ISO/ANSI Standards 1-8 2. Host Variables Specifying a Declare Section 2-1 Coding Host Variable Names 2-2 Using Corresponding SQL and COBOL Data Types 2-2 Specifying Host Variables in SQL Statements 2-6 Using the COBOL PICTURE Clause 2-7 Fixed-Length Character Data 2-7 Variable-Length Character Data 2-7 Hewlett-Packard Company—529758-003 i Contents 2. Host Variables (continued) 2. Host Variables (continued) Numeric Data 2-8 Using COBOL Data Description Clauses 2-9 Using Date-Time and INTERVAL Data Types 2-9 Using Indicator Variables for Null Values 2-11 Inserting a Null Value 2-11 Testing for a Null Value 2-12 Retrieving Rows With Null Values 2-13 Creating Host Variables Using the INVOKE Directive 2-14 Advantages of Using an INVOKE Directive 2-14 COBOL Record Descriptions 2-15 Embedded Sign in a Decimal Data Type 2-18 System-Defined Primary Key (SYSKEY) 2-18 Date-Time and INTERVAL Data Types 2-19 Using Indicator Variables With the INVOKE Directive 2-22 Using INVOKE With SQLCI 2-24 Associating a Character Set With a Host Variable 2-25 Treatment in COBOL Statements 2-26 VARCHAR Data Type 2-26 3. SQL/MP Statements and Directives Embedding SQL Statements 3-1 Coding SQL Statements and Directives 3-1 Placing SQL Statements and Directives 3-2 Finding Information 3-3 4. Data Retrieval and Modification Opening and Closing Tables and Views 4-2 Causes of SQL Error 8204 (Lost Open Error) 4-2 Recovering From SQL Error 8204 4-3 Single-Row SELECT Statement 4-4 Using a Column Value to Select Data 4-4 Using a Primary Key Value to Select Data 4-5 Using IN SHARE MODE or IN EXCLUSIVE MODE 4-6 INSERT Statement 4-6 Inserting a Single Row 4-7 Inserting a Null Value 4-7 Inserting a Timestamp 4-8 UPDATE Statement 4-8 HP NonStop SQL/MP Programming Manual for COBOL—529758-003 ii Contents 4. Data Retrieval and Modification (continued) 4. Data Retrieval and Modification (continued) Updating a Single Row 4-9 Updating Multiple Rows 4-9 Updating Columns With Null Values 4-10 DELETE Statement 4-10 Deleting a Single Row 4-11 Deleting Multiple Rows 4-11 Using SQL Cursors 4-12 Steps for Using a Cursor 4-13 Access Requirements for Cursors 4-13 Cursor Position 4-14 Cursor Stability 4-14 Virtual Sequential Block Buffering (VSBB) 4-15 DECLARE CURSOR Statement 4-15 OPEN Statement 4-16 FETCH Statement 4-17 Multirow SELECT Statement 4-19 UPDATE Statement 4-20 Multirow DELETE Statement 4-22 CLOSE Statement 4-23 Using Foreign Cursors 4-23 5. SQL/MP System Procedures COBOLEXT File 5-2 Guardian System Procedures 5-2 SQL Message File 5-2 SQLADDR 5-3 SQLCA_DISPLAY2_ 5-4 Using SQLCA_DISPLAY2_ With an Error Table 5-7 Additional Considerations for SQLCA_DISPLAY2_ 5-7 Generating Meaningful Messages 5-11 SQLCA_TOBUFFER2_ 5-11 Using SQLCA_TOBUFFER2_ With an Error Table 5-15 Additional Considerations for SQLCA_BUFFER2_ 5-16 SQLCAFSCODE 5-17 SQLCAGETINFOLIST 5-17 SQLGETCATALOGVERSION 5-24 SQLGETOBJECTVERSION 5-25 SQLGETSYSTEMVERSION 5-26 HP NonStop SQL/MP Programming Manual for COBOL—529758-003 iii Contents 5. SQL/MP System Procedures (continued) 5. SQL/MP System Procedures (continued) SQLSADISPLAY 5-27 Superseded Procedures 5-30 SQLCADISPLAY 5-30 SQLCATOBUFFER 5-34 6. Explicit Program Compilation Compilation Methods 6-1 TNS Mode Compilation 6-2 Native Mode Compilation for TNS/R Systems 6-4 Preparing for Compilation 6-5 Requirements for Compiling a COBOL Program 6-6 SQL Compiler Directive 6-7 Copying Source Code Into a Compilation Unit 6-9 Setting DEFINEs 6-9 Using PARAM Commands 6-11 Running the HP COBOL Compilers 6-12 Running HP COBOL Compilers in the Guardian Environment 6-13 Running HP COBOL Compilers in the OSS Environment 6-16 Running the Native COBOL Cross Compilers in a PC Host Environment 6-21 Binding and Linking 6-21 The Binder Program 6-22 The nld or ld Utility 6-23 Acceleration of TNS HP COBOL Programs 6-23 The Accelerator 6-24 Running the SQL Compiler 6-25 Required Access Authority 6-25 SQL Compiler Functions 6-25 Running the SQL Compiler in the Guardian Environment 6-27 Running the SQL Compiler in the OSS Environment 6-35 Using Current Statistics 6-35 SQL Compiler Messages 6-36 SQL Program File Format 6-38 SQL Compiler Listings 6-39 Using the EXPLAIN Utility 6-40 Using CONTROL Directives 6-42 Static SQL Statements 6-43 Dynamic SQL Statements 6-44 Using Compatible Components 6-45 HP NonStop SQL/MP Programming Manual for COBOL—529758-003 iv Contents 6. Explicit Program Compilation (continued) 6. Explicit Program Compilation (continued) HP COBOL Compiler 6-45 SQL Compiler 6-45 SQL Program File 6-45 7. Program Execution Required Access Authority 7-1 Using DEFINEs 7-2 Entering the TACL RUN Command 7-2 Using the CREATEPROCESS Routine 7-3 Using the CLU_PROCESS_CREATE_ Routine 7-4 Running a Program in the OSS Environment 7-5 Running a Program at a Low PIN on a D-Series or Later Node 7-5 Interactive Commands 7-6 Programmatic Commands 7-6 Pathway Environment 7-7 Determining Compatibility With the SQL Executor 7-7 8.
Recommended publications
  • Cobol/Cobol Database Interface.Htm Copyright © Tutorialspoint.Com
    CCOOBBOOLL -- DDAATTAABBAASSEE IINNTTEERRFFAACCEE http://www.tutorialspoint.com/cobol/cobol_database_interface.htm Copyright © tutorialspoint.com As of now, we have learnt the use of files in COBOL. Now, we will discuss how a COBOL program interacts with DB2. It involves the following terms: Embedded SQL DB2 Application Programming Host Variables SQLCA SQL Queries Cursors Embedded SQL Embedded SQL statements are used in COBOL programs to perform standard SQL operations. Embedded SQL statements are preprocessed by SQL processor before the application program is compiled. COBOL is known as the Host Language. COBOL-DB2 applications are those applications that include both COBOL and DB2. Embedded SQL statements work like normal SQL statements with some minor changes. For example, that output of a query is directed to a predefined set of variables which are referred as Host Variables. An additional INTO clause is placed in the SELECT statement. DB2 Application Programming Following are rules to be followed while coding a COBOL-DB2 program: All the SQL statements must be delimited between EXEC SQL and END-EXEC. SQL statements must be coded in Area B. All the tables that are used in a program must be declared in the Working-Storage Section. This is done by using the INCLUDE statement. All SQL statements other than INCLUDE and DECLARE TABLE must appear in the Procedure Division. Host Variables Host variables are used for receiving data from a table or inserting data in a table. Host variables must be declared for all values that are to be passed between the program and the DB2. They are declared in the Working-Storage Section.
    [Show full text]
  • Modern Programming Languages CS508 Virtual University of Pakistan
    Modern Programming Languages (CS508) VU Modern Programming Languages CS508 Virtual University of Pakistan Leaders in Education Technology 1 © Copyright Virtual University of Pakistan Modern Programming Languages (CS508) VU TABLE of CONTENTS Course Objectives...........................................................................................................................4 Introduction and Historical Background (Lecture 1-8)..............................................................5 Language Evaluation Criterion.....................................................................................................6 Language Evaluation Criterion...................................................................................................15 An Introduction to SNOBOL (Lecture 9-12).............................................................................32 Ada Programming Language: An Introduction (Lecture 13-17).............................................45 LISP Programming Language: An Introduction (Lecture 18-21)...........................................63 PROLOG - Programming in Logic (Lecture 22-26) .................................................................77 Java Programming Language (Lecture 27-30)..........................................................................92 C# Programming Language (Lecture 31-34) ...........................................................................111 PHP – Personal Home Page PHP: Hypertext Preprocessor (Lecture 35-37)........................129 Modern Programming Languages-JavaScript
    [Show full text]
  • An Array-Oriented Language with Static Rank Polymorphism
    An array-oriented language with static rank polymorphism Justin Slepak, Olin Shivers, and Panagiotis Manolios Northeastern University fjrslepak,shivers,[email protected] Abstract. The array-computational model pioneered by Iverson's lan- guages APL and J offers a simple and expressive solution to the \von Neumann bottleneck." It includes a form of rank, or dimensional, poly- morphism, which renders much of a program's control structure im- plicit by lifting base operators to higher-dimensional array structures. We present the first formal semantics for this model, along with the first static type system that captures the full power of the core language. The formal dynamic semantics of our core language, Remora, illuminates several of the murkier corners of the model. This allows us to resolve some of the model's ad hoc elements in more general, regular ways. Among these, we can generalise the model from SIMD to MIMD computations, by extending the semantics to permit functions to be lifted to higher- dimensional arrays in the same way as their arguments. Our static semantics, a dependent type system of carefully restricted power, is capable of describing array computations whose dimensions cannot be determined statically. The type-checking problem is decidable and the type system is accompanied by the usual soundness theorems. Our type system's principal contribution is that it serves to extract the implicit control structure that provides so much of the language's expres- sive power, making this structure explicitly apparent at compile time. 1 The Promise of Rank Polymorphism Behind every interesting programming language is an interesting model of com- putation.
    [Show full text]
  • 2020-2021 Course Catalog
    Unlimited Opportunities • Career Training/Continuing Education – Page 4 • Personal Enrichment – Page 28 • High School Equivalency – Page 42 • Other Services – Page 46 • Life Long Learning I found the tools and resources to help me transition from my current career to construction management through an Eastern Suffolk BOCES Adult Education Blueprint Reading course. The program provided networking opportunities which led me to my new job. 2020-2021 COURSE CATALOG SHARE THIS CATALOG with friends and family Register online at: www.esboces.org/AEV Adult Education Did You Know... • Adult Education offers over 50 Career Training, Licensing and Certification programs and 30 Personal Enrichment classes. • Financial aid is available for our Cosmetology and Practical Nursing programs. • We offer national certifications for Electric, Plumbing and HVAC through the National Center for Construction Education and Research. • Labor Specialists and Vocational Advisors are available to assist students with planning their careers, registration and arranging day and evening tours. • Continuing Education classes are available through our on-line partners. The Center for Legal Studies offers 15 classes designed for beginners as well as advanced legal workers. In addition, they provide 6 test preparation courses including SAT®, GMAT® and LSAT®. UGotClass offers over 40 classes in Business, Management, Education and more. • Internship opportunities are available in many of our classes to assist the students to build skills towards employment. Do you know what our students are saying about us? “New York State “Great teacher. Answered Process Server is all questions and taught a very lucrative “I like how the Certified Microsoft Excel in a way “I took Introduction to side business.
    [Show full text]
  • 10 Programming Languages You Should Learn Right Now by Deborah Rothberg September 15, 2006 8 Comments Posted Add Your Opinion
    10 Programming Languages You Should Learn Right Now By Deborah Rothberg September 15, 2006 8 comments posted Add your opinion Knowing a handful of programming languages is seen by many as a harbor in a job market storm, solid skills that will be marketable as long as the languages are. Yet, there is beauty in numbers. While there may be developers who have had riches heaped on them by knowing the right programming language at the right time in the right place, most longtime coders will tell you that periodically learning a new language is an essential part of being a good and successful Web developer. "One of my mentors once told me that a programming language is just a programming language. It doesn't matter if you're a good programmer, it's the syntax that matters," Tim Huckaby, CEO of San Diego-based software engineering company CEO Interknowlogy.com, told eWEEK. However, Huckaby said that while his company is "swimmi ng" in work, he's having a nearly impossible time finding recruits, even on the entry level, that know specific programming languages. "We're hiring like crazy, but we're not having an easy time. We're just looking for attitude and aptitude, kids right out of school that know .Net, or even Java, because with that we can train them on .Net," said Huckaby. "Don't get fixated on one or two languages. When I started in 1969, FORTRAN, COBOL and S/360 Assembler were the big tickets. Today, Java, C and Visual Basic are. In 10 years time, some new set of languages will be the 'in thing.' …At last count, I knew/have learned over 24 different languages in over 30 years," Wayne Duqaine, director of Software Development at Grandview Systems, of Sebastopol, Calif., told eWEEK.
    [Show full text]
  • Heritage Ascential Software Portfolio, Now Available in Passport Advantage, Delivers Trustable Information for Enterprise Initiatives
    Software Announcement July 18, 2006 Heritage Ascential software portfolio, now available in Passport Advantage, delivers trustable information for enterprise initiatives Overview structures ranging from simple to highly complex. It manages data At a glance With the 2005 acquisition of arriving in real time as well as data Ascential Software Corporation, received on a periodic or scheduled IBM software products acquired IBM added a suite of offerings to its basis and enables companies to from Ascential Software information management software solve large-scale business problems Corporation are now available portfolio that helps you profile, through high-performance through IBM Passport Advantage cleanse, and transform any data processing of massive data volumes. under new program numbers and across the enterprise in support of A WebSphere DataStage Enterprise a new, simplified licensing model. strategic business initiatives such as Edition license grants entitlement to You can now license the following business intelligence, master data media for both WebSphere programs for distributed platforms: DataStage Server and WebSphere management, infrastructure • consolidation, and data governance. DataStage Enterprise Edition. Core product: WebSphere The heritage Ascential programs in Datastore Enterprise Edition, this announcement are now WebSphere RTI enables WebSphere WebSphere QualityStage available through Passport DataStage jobs to participate in a Enterprise Edition, WebSphere Advantage under a new, service-oriented architecture (SOA)
    [Show full text]
  • GNU Cobol FAQ
    GNU Cobol FAQ | Status This is a 2.1 work in progress release of the GNU Cobol FAQ. Sourced at gcfaqrrst. Courtesty of ReStructuredText, Sphinx and Pygments. GNU Cobol 2.1 is not currently rolled out, but is available for testing. GNUCobolFAQppdf is also available, but broken, as a work in progress, with no work done yet, using Texlive and Sphinx. This FAQ is more than a FAQ and less than a FAQ. Someday that will change and this document will be split into a GNU Cobol manual and a simplified Frequently Asked Questions file. Website favicon by Mark James, help.png from the FAMFAMFAM Silk icon set. http://creativecommons.org/licenses/by/2.5/ Banner courtesy of the GIMP, Copyright © 2008-2014 Brian Tif- fin licensed under Creative Commons Attribution-Share Alike 2.0 Generic License http://creativecommons.org/licenses/by-sa/2.0/ Authors Brian Tiffin [btiffin]_ Answers, quotes and contributions: John Ellis [jrls_swla]_, Vincent Coen, Jim Currey, Bill Klein [wmk- lein]_, Ganymede, Simon Sobisch [human]_, Rildo Pragana, Sergey Kashyrin, Federico Priolo, Frank Swarbrick, Angus, DamonH, Parhs, Gerald Chudyk Compiler by: *Roger While* [Roger]_, *Keisuke Nishida* [Keisuke]_, *Ron Norman* [Ron]_, *Sergey Kashyrin* [Sergey]_, (with the invaluable assistance of many others) Special credits to *Gary Cutler* author of the GNU Cobol Programmers Guide Joseph James Frantz for hosting and advocacy [aoirthoir]_ 1 Version 2.1.17, May 24th, 2014 Status never complete; like a limit, limaq→0 f(aq) = 42 Copyright Copyright © 2008-2014 Brian Tiffin ChangeLog ChangeLog_ note Regarding COBOL Standards, Official COBOL Standards: There are many references to standards in this document.
    [Show full text]
  • SQL Server Express: Setting up for Unistream User Guide 3/17
    Headquarters Unitronics (1989) (R"G). Unitronics Building, Airport City P.O.B. 300, Ben Gurion Airport, Israel 70100 Tel: + 972 (3) 977 8888 Fax: + 972 (3) 977 8877 SQL Server Express: Setting up for UniStream User Guide 3/17 Contents SQL Server Express: Setting up for UniStream ...................................................... 1 Overview ....................................................................................................... 1 Supported Controllers ...................................................................................... 1 First-time Installation & Configuration ................................................................. 2 Download ...................................................................................................... 2 Installing SQL Server ...................................................................................... 3 Setting up the Local Database .......................................................................... 5 Configuring SQL Server ................................................................................... 6 Activating the SQL Server Browser. ................................................................ 6 Enable TCP/IP, Assign Port ............................................................................ 7 Create a new Login ....................................................................................... 8 SQL Server Express—Existing Installation ........................................................... 10 Enable TCP/IP, Assign Port
    [Show full text]
  • Cohesity Dataplatform Protecting Individual MS SQL Databases Solution Guide
    Cohesity DataPlatform Protecting Individual MS SQL Databases Solution Guide Abstract This solution guide outlines the workflow for creating backups with Microsoft SQL Server databases and Cohesity Data Platform. Table of Contents About this Guide..................................................................................................................................................................2 Intended Audience..............................................................................................................................................2 Configuration Overview.....................................................................................................................................................2 Feature Overview.................................................................................................................................................................2 Installing Cohesity Windows Agent..............................................................................................................................2 Downloading Cohesity Agent.........................................................................................................................2 Select Coheisty Windows Agent Type.........................................................................................................3 Install the Cohesity Agent.................................................................................................................................3 Cohesity Agent Setup........................................................................................................................................4
    [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]
  • CITA 385 COBOL for Business and Accounting
    STATE UNIVERSITY OF NEW YORK COLLEGE OF TECHNOLOGY CANTON, NEW YORK MASTER SYLLABUS CITA 385 – COBOL for Business and Accounting Created by: Robert House Updated by: Minhua Wang CANINO SCHOOL OF ENGINEERING TECHNOLOGY DECISION SYSTEMS FALL 2018 A. TITLE: Visual Programming and Development Tools B. COURSE NUMBER: CITA 385 C. CREDIT HOURS: (Hours of Lecture, Laboratory, Recitation, Tutorial, Activity) # Credit Hours: 3 # Lecture Hours: 2 per week # Lab Hours: 1 (two-hour lab) per week Other: per week Course Length: 15 Weeks D. WRITING INTENSIVE COURSE: No E. GER CATEGORY: None F. SEMESTER(S) OFFERED: As required G. COURSE DESCRIPTION: This course provides students with the knowledge and experience to write and modify programs written in the COBOL programming language. Classroom exercises use real world scenarios so students will gain an understanding of where COBOL fits in the business world. H. PRE-REQUISITES/CO-REQUISITES: a. Pre-requisite(s): CITA 152 Computer Logic b. Co-requisite(s): none c. Pre- or co-requisite(s): none I. STUDENT LEARNING OUTCOMES: By the end of this course, the student will be able to: Course Student Learning Outcome PSLO ISLO [SLO] a. Design algorithms to solve 3. Demonstrate a solid understanding of 5 application problems the methodologies and foundations of IT b. Compile, test, and debug COBOL 3. Demonstrate a solid understanding of 5 programs the methodologies and foundations of IT c. Define data elements used in a 3. Demonstrate a solid understanding of 5 COBOL program the methodologies and foundations of IT d. Create procedures using COBOL 3. Demonstrate a solid understanding of 5 statements the methodologies and foundations of IT e.
    [Show full text]
  • The Latest IBM Z COBOL Compiler: Enterprise COBOL V6.2!
    The latest IBM Z COBOL compiler: Enterprise COBOL V6.2! Tom Ross Captain COBOL SHARE Providence August 7,2017 1 COBOL V6.2 ? YES! • The 4 th release of the new generation of IBM Z COBOL compilers • Announced: July 17, 2017 • The same day as IBM z14 hardware…coincidence? • GA: September 8, 2017 • Compiler support for the new IBM z14 hardware and IBM z/OS V2.3 • Ability to exploit the new Vector Packed Decimal Facility of z14 • ‘OLD’ news: • COBOL V5 EOM Sept 11, 2017 (announced Dec 6, 2016) • EOS for COBOL V4 ‘might’ be earlier than 2020, still discussing 2 COBOL V6.2 ? What else does it have? • New and changed COBOL statements, such as the new JSON PARSE statement • Support of COBOL 2002/2014 standards with the addition of the COBOL Conditional Compilation language feature • New and changed COBOL options for increased flexibility • Improved compiler listings with compiler messages at the end of the listing as in previous releases of the compiler • Improved interfaces to optional products and tools such as IBM Debug for z Systems (formerly Debug Tool for z/OS) and IBM Application Discovery and Delivery Intelligence (formerly EzSource) • Compile-time and runtime performance enhancements • Improved usability of the compiler in the z/OS UNIX System Services environment 3 Vector Packed Decimal Facility of z14 • Enterprise COBOL V6.2 adds support for exploiting the new Vector Packed Decimal Facility in z14 through the ARCH(12) compiler option. • The Vector Packed Decimal Facility allows the dominant COBOL data types, packed and zoned decimal, to be handled in wide 16-byte vector registers instead of in memory.
    [Show full text]