Features Added in Visual COBOL 8.0

Micro Focus COBOL Extension for Visual Studio Code

Back to Top

The Micro Focus COBOL extension for Visual Studio Code provides the following enhancements:

  • The use of the Micro Focus COBOL extension with Visual COBOL 8.0 installed on the same machine enables COBOL Language Server support. This offers a rich COBOL editor experience inside Visual Studio Code including IntelliSense, Peek Definition, and Rename.
Note: The Micro Focus COBOL extension is available from the Microsoft Visual Studio Marketplace - click here.

.NET 6 Support

Back to Top

This release provides the following enhancement:

  • You can create, build and run COBOL projects targeting .NET 6 in Visual Studio 2022. In all other supported environments, you can use the .NET 6 SDK or Visual Studio code to build .NET 6 COBOL projects.

    Support for .NET Core 3.1 has been discontinued.

  • The Micro Focus .NET Core projects have been renamed to .NET in release 8.0 Patch Update 1.

COBOL Language

Back to Top

The following enhancements have been made to the Micro Focus COBOL language:

  • Further support for IBM Enterprise COBOL 6.3:
    • JSON PARSE and JSON GENERATE statements - for JSON GENERATE, anonymous objects can be generated using the OMITTED key word; the SUPPRESS phrase has been enhanced; the CONVERTING phrase is supported. For JSON PARSE, anonymous objects can be parsed using the OMITTED key word; the CONVERTING phrase is supported.
    • Intrinsic functions - the following list of functions is now supported: COMBINED-DATETIME, FORMATTED-CURRENT-DATE, FORMATTED-DATE, FORMATTED-DATETIME, FORMATTED-TIME, INTEGER-OF-FORMATTED-DATE, SECONDS-PAST-MIDNIGHT, SECONDS-FROM-FORMATTED-DATE, TEST-FORMATTED-DATETIME, and UUID4.
    • The AMODE Compiler directive has been enhanced to allow COBOL programs full access to the 64-bit address space (AMODE"64"). This emulates the LP"64" option in Enterprise COBOL.
    • The DYNAMIC LENGTH clause, introduced in the last product release, is now supported in .NET COBOL (as well native COBOL).
  • .NET COBOL enhancements:
    • When no explicit type is declared for a variable, but the value is a non-integer numeric (for example declare var1 = 1.23), it is assumed to be of type float-long.
    • The NAME OF expression has been introduced. It returns the unqualified name of the type or member specified.

Code Analysis

Back to Top

The Application Analysis Server enables you to access either Micro Focus Enterprise Analyzer or COBOL Analyzer from the IDE. This release includes the following enhancements to this feature:

  • A generate code search report and a single code search reports are available.
  • An improved Get Direct References report.

Enhancements to the Analysis Services include:

  • An enhanced Program Flow Graph
  • Support for displaying the Data Flow analysis as a Graph.

Enhancements in the Rule-Based analysis include:

  • The Micro Focus Code Analysis project's properties page, and the Micro Focus Code Analysis Manager dialog box now support subfolders in the rulesets.

Compiler Directives

Back to Top

The following Compiler directive is new in this release:

  • DISPLAY-PICU - defines the way PIC U data items are displayed: either as ANSI or UTF-8.

The following Compiler directive has been enhanced in this release:

  • AMODE - a new parameter "64" stores pointers in 64-bit format - see COBOL Language Enhancements for more details.

Data File Tools

Back to Top

The following enhancement has been made to the Data File Tools:
  • The Data File Editor now supports opening and editing KSDS VSAM files stored in an MFDBFH datastore.

Debugging Applications

Back to Top

This release includes the following enhancement:

  • Locals window support for native COBOL - during debugging, the Locals window now displays the names of the variables available on the current statement.

Enterprise Server

Back to Top

This release provides enhancements in the following areas:

  • EZ Sockets now supports up to 4096 sockets on Linux, up from 1024, and enhanced tracing.
    • EZ Sockets applications, including ones that use the CICS listener CSKL (EZACIC02), can have more simultaneous connections.
    • EZ Sockets tracing now has options for logging the recent history only when any error or one of a set of particular errors occurs. This makes it easier to use tracing to diagnose EZ Sockets issues.
  • Enterprise Server dataset management - dataset maximum retention period with the ability to alter and create reports:
    • ES_JES_ENFORCE_EXPIRE_DATE - helps determine whether or not to check the expiration date when deleting a catalogued dataset, and if expired, delete the dataset. If it hasn't expired and the PURGE option has not been specified, the dataset is not removed. The PURGE keyword is required to delete non-expired datasets. PURGE removes the underlying physical dataset file unless it is referenced by another catalog entry. SMS MANAGEMENTCLASS now supports maximum RETAIN days. See Using SMS MGMT Classes and the %SMS example command in the same topic.
    • ES_JES_LISTCAT_YMD - helps determine the date format used in the HISTORY report generated when the IDCAMS LISTCAT command specifies the ALL option.
    • The EXPDT entry in a DD statement must be a four-digit year (YYYY); otherwise 1900 is the default, which is in-line with the mainframe processing, and prevents unexpired datasets from being erroneously removed (as was the case with the previous default of 2000). The ALTER command now takes the TO and FOR options to enable specification of the retention period for the entry being altered. The maximum retention period might be limited by the management class. The IDCAMS LISTCAT command ALL parameter now generates a separate HISTORY report that shows the creation date time and job, the last changed date time and Job, and the expiration date.
  • HTTP compression - the Communications Server supports compressing large HTTP responses with gzip, and handles gzip-compressed HTTP requests. The Common Client supports gzip-compressed HTTP responses. Some large HTTP responses are compressed automatically if the client supports it. Large HTTP messages can be compressed, saving network bandwidth and improving performance.
  • Task-cleanup performance - the performance of post-processing for tasks in MFCS has been improved.
  • ICETOOL emulation - now supports the COUNT+n and COUNT-n syntax during trailer processing, where n is a numeric between 0-999. This adds to or subtracts from the COUNT value.
  • Enterprise Server configuration - you can now change the recording directory of the dump, trace, HSF, and the console.log files of each region..
  • Compression on ECI calls via CASBNCCL Client - when using the Micro Focus External Call Interface (ECI) over TCP/IP, the request and response data flows are now compressed using RLE.

Enterprise Server Common Web Administration (ESCWA)

Back to Top

This release includes the following enhancements:

  • Oracle Coherence is now available as a PAC Scale-Out repository as an alternative to Redis.
  • Reduced number of Redis instances required when a PAC incompatible upgrade is performed - it is now possible to have multiple PSORs in one REDIS instance. This allows for the REDIS instances provisioned in the PAC to be reused.
  • Enhanced PAC diagnostics via CTF - a new option on the ES Control page is now available to enable or disable CTF for a running region without the need to recycle the region.
  • ESCWA API, version 2 - includes updated versions of some of the existing API, version 1 endpoints, with improved JSON property names, more sensible URIs. The version 2 API is a single API standard across API endpoints. It includes a number of usability enhancements, has a better readability and discoverability, and includes an improved API documentation.
  • Enterprise Server Configuration Manager
    • A variety of configuration options are available in ESCWA on the General >Advanced page for a region.

      The property grid in ESCWA shows the full list of configurable properties, categorized by group, along with help text and some additional meta-information. Properties marked as dynamic in the property grid can also be updated in a running region.

    • A number of properties that were previously set with environment variables are now available in the ESCWA UI. The environment variables are still supported for backward compatibility.
  • Accessibility enhancements - the ESCWA UI includes a number of improvements in the areas of usability with screenreaders, color contrast, and text and icon sizing and alignment. This is to give it an improved compliance with the 508 and WCAG 2.1 standards.

Enterprise Server Security

Back to Top

This release includes the following enhancements:

  • AWS Secrets Manager - support is available for using an AWS Secrets Manager, mfsecretsaws, as a remote vault.
  • Protection for sensitive data - some sensitive data is now protected in the memory. This helps reduce the risk of exposing sensitive data such as passwords in core dumps and similar scenarios.
  • An option to update short names - the ESF Update mechanism enables you to change between OS users ("long names") and ES userids ("short names") in running regions. This requires a non-default configuration setting.
  • Caching improvements - ESF caching now caches more types of requests. This helps improve the Enterprise Server latency and throughput when external security is configured with caching.
  • Support for Argon2 in password history - when Micro Focus passwords are used with the MLDAP ESM Module and password history is enabled, use Argon2 password verifiers in the history to avoid the potential exposure of passwords via weaker verifiers. This helps improve the security of the password-history mechanism.
  • The product Help includes a new section, Securing Enterprise Server, which provides guidance on improving the security of Enterprise Server installations and the applications they host. This includes information on security and how to reduce security exposure.

IMS Support

Back to Top

This release provides the following enhancement:

  • The JES aliasing feature can be used with IMS DLI and BMP applications run from JCL.

The Micro Focus Database File Handler

Back to Top

  • This release includes the introduction of the Micro Focus Database File Handler (MFDBFH). MFDBFH enables you to store your data files within one of the supported relational database management systems, which can be used by your native COBOL applications.

    Data files are stored in a 'datastore'. Datastores can each be housed in their own physical database, or one database can house many datastores. Using data stores gives you the performance and resilience benefits associated with a modern RDBMS. MFDBFH does not require you make any changes to your source code in order to use it.

    This feature is available as a purchasable add-on.

Micro Focus Unit Testing Framework

Back to Top

The following enhancement has been made to the Micro Focus Unit Testing Framework in the IDE:

  • IDE support has been added for self-contained tests.

The following enhancement has been made to the command-line version of the Micro Focus Unit Testing Framework:

  • You can now use the Micro Focus Unit Testing Framework to build and run test cases from within a .NET 6 environment. Install the NuGet package supplied with Visual COBOL to enable the mfunit extensions to the dotnet command line utility.

OpenESQL

Back to Top

This release includes the following enhancement:

  • The new SQL Error Mapping feature enables you to customize how error information is returned in SQLCODE, SQLSTATE, SQLERR and MFSQLMESSAGETEXT.

Visual Studio

Back to Top

  • Support is now available for Visual Studio 2022.
  • Syntax coloring for COBOL in the editor had been improved for identification divisions, copybooks references using COPY... REPLACE statements, and EXEC blocks.