5655-EC6 IBM Enterprise COBOL for z/OS 6.4

IBM United States Sales Manual
Revised: June 7, 2022


Table of contents
Product life cycle datesProduct life cycle datesDescriptionDescription
Program numberProgram numberOperating environmentOperating environment
AbstractAbstractPlanning informationPlanning information
Product positioningProduct positioningPublicationsPublications
HighlightsHighlights


Product life cycle dates

Top rule

Program Number VRM Announced Available Marketing Withdrawn Service Discontinued
5655-EC6 06.04.00 2022-04-05 2022-05-27 - -
5655-EC6 06.03.00 2019-09-03 2019-09-06 2022-09-05 -
5655-EC6 06.02.00 2017-07-17 2017-09-08 2020-03-09 -
5655-EC6 06.01.00 2016-02-16 2016-03-18 2020-03-09 2022-09-30


Back to topBack to top

Program number

Top rule

  • IBM Enterprise COBOL for z/OS 6.4.0 (5655-EC6)


Back to topBack to top

Abstract

Top rule

IBM Enterprise COBOL for z/OS is a leading-edge, IBM z/OS based compiler that helps you create, modernize, and maintain mission- critical, line-of-business COBOL applications to execute on your z/OS operating systems. The applications that are created using Enterprise COBOL for z/OS can interoperate with transactional and data systems such as IBM CICS, IBM Db2, and IBM IMS. The COBOL compiler helps your existing COBOL applications work with modern infrastructure technologies, such as mobile, web, and cloud, with native support for JSON, XML, and Java.

A key strength of the Enterprise COBOL compiler is the continual support of the latest IBM Z hardware architectures. The ARCH level option instructs the compiler to generate optimized code that can leverage a particular IBM Z hardware architecture. Application developers can recompile using the ARCH level compiler option of their choice to instruct the compiler to generate code for their application that uses instructions available on a particular architecture level. This translates into immediate support for that architecture level and improved computational performance without any source code changes.

Over the course of multiple releases, Enterprise COBOL for z/OS has offered new functions to provide the tools you need to maximize your IBM Z hardware ROI and improve the performance of your business- critical applications.

New capabilities in Enterprise COBOL for z/OS 6.4 include:

  • Support of the latest IBM z/Architecture to maximize your IBM z16 investment, reduce CPU usage, and improve performance of critical COBOL applications
  • Improved Java/COBOL interoperability to easily extend the capabilities of your COBOL program with Java
  • Interoperability between AMODE 31 (31-bit) and AMODE 64 (64-bit) COBOL programs to handle your growing COBOL program data without converting the entire application to run in AMODE 64
  • Support for user-defined functions to enable you to write your own functions and invoke them like intrinsic functions, improving code modularity and maintainability
  • Improved integration with IBM Automatic Binary Optimizer for z/OS to invest in your future so that modules you compile today take advantage of future IBM Z hardware enhancements, without having to be recompiled

New capabilities in Enterprise COBOL for z/OS 6.3 include:

  • The ability to define, move and compare UTF-8 data items
  • Support for creating AMODE 64 (64-bit) batch applications. AMODE 64 (64-bit) support in this compiler enables users to process large data tables that require up to 2 GB of addressing space.

New capabilities in Enterprise COBOL for z/OS 6.2 include:

  • Support to parse JSON directly from COBOL
  • Support of the Vector Packed Decimal Facility of IBM z14 to increase the performance of decimal compute intensive applications without the need for source code changes

New capabilities in Enterprise COBOL for z/OS 6.1 include:

  • Compile much larger programs that include COBOL programs that are created by code generators.
  • Support for generation of JSON directly from COBOL

Enterprise COBOL for z/OS is enhanced to support the continuous delivery model. Continuous delivery allows you to receive new and enhanced capabilities through the compiler service channel. New features and enhancements are included in Program Temporary Fixes (PTFs) along with corrective and preventative service.

With continuous delivery, you benefit in receiving the new features that you need as soon as the code is ready. You can now receive enhancements in a faster and more continuous way without having to wait for the next release.

Many new features are inactive until used. These features are controlled by compiler options or by your usage of a new function. Generally, you must make a code change to your application or invoke new compiler options in order to activate any new function.

Some features are not activated by an option or code change made by you to your application but instead are active by default as soon as you install the continuous delivery PTF. Examples of these kind of features are general performance enhancements (for example, performance tuning or fixes), minor listing changes, and message changes.

Continuous delivery features apply primarily to the service stream of the latest active release of the product. Once a new version or release is made available, it becomes the latest service stream which receives continuous delivery features. The previous release reverts back to corrective or preventative service only.

Enterprise COBOL for z/OS 6.4 continues the IBM commitment to the COBOL programming language on IBM Z through investment in new compiler technology and the continued delivery of new features. With version 6.4, you gain the benefit of new investment that is combined with more than 60 years of IBM experience in compiler development.



Back to topBack to top

Product positioning

Top rule

Enterprise COBOL is a premier, enterprise-class COBOL compiler for the z/OS system. It is a proven and reliable program that:

  • Delivers innovation for modernizing business-critical applications and programming features to increase programmer productivity
  • Bolsters the overall benefits of transactional and data systems, such as CICS, IMS, and Db2

Modern IBM Z hardware has increasing complexity and is designed to deliver performance through the implementation of hardware features and compiler support. To get the most out of your IBM Z hardware, you need to use the latest Enterprise COBOL for z/OS compiler and selectively optimize CPU-intensive parts of the applications. This will help you reduce CPU utilization and operating costs.

The ARCH and OPTIMIZE compiler options of Enterprise COBOL for z/OS can be used to unleash the full power of IBM processors that are delivered in the various IBM Z hardware models. COBOL 6.4 now supports the ARCH(14) option that is designed to achieve the best performance on IBM z16 hardware. COBOL programmers no longer need a deep understanding of IBM z/Architecture to leverage leading-edge performance of new IBM Z hardware. Developers only need to focus on the logic of the applications and let the compiler determine the best way to transform and optimize the code generation for the IBM Z hardware on which the application will run. To maximize your performance potential, consider using Automatic Binary Optimizer for z/OS (sold separately) to optimize any COBOL modules that are not under active development.

With Enterprise COBOL for z/OS 6.4, the return on your hardware and middleware investments is increased. With the implementation of advanced code generation and optimization technology, Enterprise COBOL for z/OS 6.4 establishes a foundation for delivery of additional optimization features and support of IBM z/Architecture.

With its enhanced capabilities, simplified programming, and increased programmer productivity, you can continue to use Enterprise COBOL for z/OS to modernize existing business-critical applications. Modernization enables the reuse of your proven business logic and allows you to:

  • Deliver new enhancements quicker, with less cost and lower risk
  • Add modern GUIs to business-critical COBOL applications or extend them to work with web, cloud, or mobile infrastructures
  • Build on proven applications in which you do not need to write original code

Enterprise COBOL for z/OS 6.4 continues the IBM commitment to COBOL on z/OS and with this release, you gain the benefit of new investment combined with more than 60 years of IBM experience in compiler development.



Back to topBack to top

Highlights

Top rule

The IBM Enterprise COBOL compiler supports the latest IBM z/Architecture to maximize hardware utilization, reduce CPU usage, and improve performance of critical applications.

The COBOL compiler helps your existing COBOL applications work with modern infrastructure technologies - mobile, web, and cloud - with native support for JSON, XML, and Java.

IBM Enterprise COBOL for z/OS 6.4 supports the following new capabilities:

  • Support of the latest IBM z/Architecture to maximize your IBM z16 investment, reduce CPU usage, and improve performance of critical COBOL applications
  • Improved Java/COBOL interoperability to easily extend the capabilities of your COBOL program with Java
  • Interoperability between AMODE 31 (31-bit) and AMODE 64 (64-bit) COBOL programs to handle your growing COBOL program data without converting the entire application to run in AMODE 64
  • Support for user-defined functions to enable you to write your own functions and invoke them like intrinsic functions, improving code modularity and maintainability
  • Improved integration with IBM Automatic Binary Optimizer for z/OS to invest in your future so that modules you compile today take advantage of future IBM Z hardware enhancements, without having to be recompiled


Back to topBack to top

Description

Top rule

Enterprise COBOL for z/OS 6.4 includes the following new capabilities:

Support of the latest IBM z/Architecture to maximize your IBM z16 investment, reduce CPU usage, and improve performance of critical COBOL applications

Enterprise COBOL for z/OS 6.4 incorporates leading-edge code generation and optimization technology to maximize hardware utilization and to help improve application performance.

  • Enterprise COBOL for z/OS 6.4 adds support for the new vector packed-decimal enhancement facility 2 in IBM z16 through the new ARCH(14) compiler option. No source changes are required to take advantage of this new facility; just recompile with ARCH(14) to target IBM z16.
  • This new facility adds performance improvements for COBOL programs that contain one or more of the following types of statements:
    • Exponentiation statements on packed or zoned decimal data items where the exponent is declared with one or more fractional digits
    • Arithmetic statements involving mixed decimal and floating-point data items
    • Statements using numeric-edited data items

Improved Java/COBOL interoperability to easily extend the capabilities of your COBOL program with Java

Enterprise COBOL for z/OS 6.4 helps simplify interoperability between your COBOL and Java applications so that you can easily extend your COBOL application with Java. Java is a popular language that is familiar to your enterprise-wide developers, including those newly hired.

  • Removes the need to write object-oriented COBOL and reduces the number of manual JNI calls required compared to COBOL 6.3.
    • Compared to COBOL 6.3, COBOL 6.4 automatically handles a wider variety of interoperation scenarios between COBOL and Java, so the COBOL/Java interoperability feature in COBOL 6.4 reduces the need for users to manually make JNI calls from their programs.
  • Three COBOL/Java communication features are provided:
    • Enabling a COBOL program to be callable from Java
    • Enabling the CALL statement in COBOL to call a static Java method
    • Enabling Java applications to easily access the working-storage memory of a COBOL program
  • Interoperate existing AMODE 31 (31-bit) COBOL applications and Java applications without converting the entire COBOL application to run in AMODE 64 (64-bit) or using AMODE 31 (31-bit) Java.
    • Interoperate existing AMODE 31 COBOL applications and AMODE 64 Java applications.
    • No need to convert your entire COBOL application to run in AMODE 64.
    • Use of this feature requires IBM Language Environment (LE) 2.3 or 2.4 with APAR PH28966, or LE 2.5.
    • Client applications that previously used the AMODE 31 Java SDK might need to be modified to run in AMODE 64 mode. Only AMODE 64 versions are available with the Java SDK Version 11.
  • Use of these features requires IBM SDK for z/OS, Java Technology Edition 8.0.6.36 (JVM) or later.

Interoperability between AMODE 31 (31-bit) and AMODE 64 (64-bit) COBOL programs to handle your growing data without converting the entire application to run in AMODE 64

Enterprise COBOL for z/OS 6.4 provides support for creating AMODE 64 COBOL applications that can interoperate with your existing AMODE 31 COBOL applications. AMODE 64 COBOL applications can access data items greater than the existing AMODE 31 data size limits, without changes to the program logic.

  • An AMODE 64 COBOL program can access data stored in the address space above 2 GB (up to 16 EB), extending the available space for your growing data. With AMODE 31 COBOL, this storage is limited to the address space below 2 GB.
  • Removes the need to convert the entire COBOL application to run in AMODE 64 immediately. Gradually convert AMODE 31 applications to AMODE 64.
  • AMODE 31 COBOL programs can call AMODE 64 COBOL programs and AMODE 64 COBOL programs can call AMODE 31 COBOL program using dynamic calls.
  • The compiler and the COBOL runtime library take advantage of a new Language Environment feature to manage AMODE switching.
  • This LE feature allows a DLL subprogram to have a different AMODE from its caller. Existing applications running in AMODE 31 using dynamic calls can take advantage of this feature with minimal or no changes.

Support for user-defined functions to write your own functions and invoke them like intrinsic functions, improving code modularity and maintainability

Write your own functions using the new Enterprise COBOL construct, the user-defined function definition, and invoke them like intrinsic functions. As with many popular programming languages, COBOL 6.4 supports user-defined functions, which gives new COBOL programmers a familiar structure.

  • User-defined functions can only be called statically and must be defined within the same compilation group as the programs that call them.
  • User-defined functions is a COBOL 2002 standard feature. Support of programming language standards provides you with additional functionality so that you can modernize your application. It also allows for maximum portability of your source code among a variety of compiler implementations.

Improved integration with IBM Automatic Binary Optimizer for z/OS to invest in your future so that modules you compile today take advantage of future IBM Z hardware enhancements, without having to be recompiled.

  • Automatic Binary Optimizer for z/OS (sold separately) improves the performance of already-compiled COBOL program modules without recompiling, source code migration, or performance tuning.
  • COBOL 6.4 generates metadata that is designed to allow modules compiled with COBOL 6.4 today to be easily optimized in the future by Automatic Binary Optimizer for z/OS.
  • Use Enterprise COBOL for z/OS 6.4 for new development, modernization, and maintenance. Use Automatic Binary Optimizer for z/OS to improve the performance of the COBOL modules without a recompilation plan.

Additional enhancements

  • Enterprise COBOL for z/OS 6.4 adds support for building and running COBOL applications for the z/OS 2.5 operating system.
  • Default ARCH changed to ARCH(10) [IBM zEC12/IBM zBC12] and support removed for ARCH(8) [IBM z10EC, IBM z10BC] and ARCH(9) [IBM z196, IBM z114].

Features of Enterprise COBOL for z/OS 6.4 made available through continuous delivery

Since version 6.1, Enterprise COBOL for z/OS has been enhanced to support the continuous delivery (CD) model. Through continuous delivery, new features and enhancements are included in program temporary fixes (PTFs) along with corrective and preventative service. You receive new features and enhanced capabilities as soon as the code is ready. You benefit by receiving enhancements in a faster and more continuous way without waiting for the next release.

Enterprise COBOL for z/OS 6.4 includes all the version 6.3 features delivered through continuous delivery. These features include:

  • JSON:
    • JSON GENERATE and PARSE boolean values enablement with the new CONVERTING phrase
    • JSON GENERATE SUPPRESS enhancement to conditionally suppress data items during JSON GENERATE with the new when-phrase and generic- suppression-phrase
    • Support for NAME is OMITTED phrase of JSON GENERATE statement
  • AMODE 64 (64-bit):
    • Support for UTF-8 data items in AMODE 64
    • Support for dynamic length elementary items in AMODE 64
    • Add support for the new >>DATA directive for AMODE 64 COBOL programs
    • Support COBOL Dynamic Call in mixed AMODE 31/AMODE 64 environment
  • Intrinsic functions:
    • New date and time intrinsic functions. With the new date and time intrinsic functions (as part of the 2002 and 2014 COBOL standards), you can encode and decode date and time information to and from formats specified in ISO 8601, and encode and decode date and time information to and from integers that are suitable for arithmetic.
    • Support for new intrinsic function UUID4
  • Performance:
    • Performance improvement for INSPECT statement
    • TUNE option support
  • Discovering invalid data:
    • Enhancement to the INITCHECK option to find all possible "used without being initialized" fields
    • Support for new NUMCHECK(ZON) suboptions LAXREDEF and STRICTREDEF
    • Add support for INVDATA option for improved compatibility with NUMPROC(MIG) option from version 4 and earlier
  • Debug support:
    • Debug support for UTF-8 data items
    • Enable debug support for dynamic-length elementary items
  • General:
    • Set OPTFILE as default without affecting SYSOPTF file availability
    • New rules suboptions LAXREDEF|NOLAXREDEF
    • Improved COBOL OFFSET report usability
    • Diagnose options coded as OPTION() instead of OPTION= in the COBOL customization macro

Enterprise COBOL for z/OS 6.3 includes the following new capabilities:

  • Improved processing of UTF-8 data with the introduction of the UTF-8 data type
    • The introduction of native support for UTF-8 data items means that you can now work directly with UTF-8 data without having to waste CPU resources converting from UTF-8 to UTF-16 and back again. This results in more maintainable programs and is especially useful when modernizing your COBOL application to work with web services or to interoperate with Db2 databases that store data in UTF-8 format. In cases where it is more efficient to perform processing in UTF-16, conversion is handled automatically, where necessary.
  • AMODE 64 (64-bit) support
    • Enterprise COBOL for z/OS 6.3 provides support for creating COBOL AMODE 64 batch applications. Application developers do not need to do any redesign or source code changes on their applications to obtain AMODE 64 (64-bit) support. COBOL AMODE 64 applications can now access data items greater than the existing AMODE 31 data size limits without changes to the program logic.

Enterprise COBOL for z/OS 6.2 includes the following new capabilities:

  • Support to parse JSON directly from COBOL
    • Enterprise COBOL 6.2 adds support for the JSON PARSE statement. This completes the support for JSON (Java(tm)Script Object Notation) that was started in Enterprise COBOL 6.1 with the addition of JSON GENERATE statement. The JSON PARSE statement enables capability to parse JSON documents directly from COBOL by converting JSON text to COBOL data formats, and extending business critical (System of Record) applications that are written in COBOL to support mobile (Systems of Engagement) applications where the preference is REST/JSON. This support also complements z/OS Connect by supporting the 'pass-through service' where JSON texts are passed directly to COBOL applications which parse the JSON text and process the transaction.
  • Support of the Vector Packed Decimal Facility of IBM z14
    • Enterprise COBOL 6.2 adds support for the new Vector Packed Decimal Facility in IBM 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. Decimal and floating-point computationally intensive COBOL programs, which are optimized with Enterprise COBOL 6.2 and that target IBM z14 ARCH(12), can deliver CPU time reduction on the IBM z14 server over the same applications built with COBOL 6.1. No source changes are required to take advantage of this new facility; just recompile with ARCH(12) to target IBM z14.

Enterprise COBOL for z/OS 6.1 includes the following new capabilities:

  • Compile larger programs
    • The capacity of the compiler internals are expanded to allow for the compilation and optimization of large programs. You can now use version 6.1 to compile much larger programs that include COBOL programs that are created by code generators.
  • Support for generation of JSON directly from COBOL
    • The JSON GENERATE statement converts data to JSON format.

Accessibility by people with disabilities

A US Section 508 Voluntary Product Accessibility Template (VPAT) containing details on accessibility compliance can be found on the IBM Accessibility website at

http://www.ibm.com/able/product_accessibility/index.html

Section 508 of the US Rehabilitation Act

US Section 508 Status

Enterprise COBOL for z/OS 6.3 is capable, when used in accordance with associated IBM documentation, of satisfying the applicable requirements of Section 508 of the Rehabilitation Act, provided that any assistive technology used with the product properly interoperates with it. A US Section 508 Voluntary Product Accessibility Template (VPAT) can be requested.



Back to topBack to top

Operating environment

Top rule

Hardware requirements

Enterprise COBOL for z/OS 6.4 runs on and generates code that runs on the following IBM Z servers:

  • IBM z16
  • IBM z15 Models T01 and T02
  • IBM z14 Models M01-M05
  • IBM z14 Model ZR1
  • IBM z13
  • IBM z13s
  • IBM zEnterprise EC12
  • IBM zEnterprise BC12

Software requirements

Enterprise COBOL for z/OS 6.4 runs under the control of, or in conjunction with, the currently supported releases of the following programs and their subsequent releases or their equivalents. For more information, see the Program Directory and the preventive service planning (PSP) bucket.

  • z/OS 2.3 (5650-ZOS), or later is required.
  • For installation on z/OS, z/OS SMP/E is required.
  • For customization during or after installation, z/OS High Level Assembler is required.
  • Enterprise COBOL XML PARSE statements in programs, which are compiled with the XMLPARSE(XMLSS) compiler option, require z/OS XML System Services 2.2 (5650-ZOS), or later.
  • The new COBOL/Java interoperability feature available in Enterprise COBOL for z/OS 6.4 requires IBM SDK for z/OS, Java Technology Edition 8.0.6.36 (JVM), or later.

Optional licensed programs

Depending on the functions used you many require other software products such as CICS, Db2, or IMS. For a list of compatible software, see the Software Products Compatibility Reports (SPCR) site. From the SPCR site, click Create a Report under in-depth reports, search for Enterprise COBOL for z/OS, choose Version 6.4, and then click submit.



Back to topBack to top

Planning information

Top rule

Customer responsibilities

Not applicable



Back to topBack to top

Publications

Top rule

A Program Directory (GI13-4526) and Licensed Program Specifications (GI13-4532) are supplied automatically with the basic machine-readable material. No other hardcopy publications are shipped with the product.



Back to topBack to top

Trademarks

Top rule

(R), (TM), * Trademark or registered trademark of International Business Machines Corporation.

** Company, product, or service name may be a trademark or service mark of others.

Terms of use

IBM products and services which are announced and available in your country can be ordered under the applicable standard agreements, terms, conditions, and prices in effect at the time. IBM reserves the right to modify or withdraw this Sales Manual at any time without notice. This Sales Manual is provided for your information only. Additional terms of use are located at

Terms of use


© IBM Corporation 2022.