This release provides enhancements in the following areas:
This release ships with Eclipse version 4.4.2.
Support for Eclipse versions 3.7 and 3.8 has been deprecated. This affects any applications that were created using an earlier version of Visual COBOL that have a JVM COBOL part. Such applications must be rebuilt using Visual COBOL 2.3 to avoid receiving errors during compilation or execution.
In addition, when Visual COBOL is installed, you can optionally install the Visual COBOL plugin in other instances of Eclipse installed on your machine (supported versions of Eclipse are 4.2, 4.3 and 4.4 for the 32-bit IDE).
See Related Information at the end of this topic.
For more information see Related Information at the end of this topic.
See Related Information at the end of this topic.
To minimize the number of modules to compile when building JVM COBOL projects, Visual COBOL now enables you to configure your projects so that they are built incrementally - the IDE only rebuilds the files that have changed.
To enable incremental builds for JVM COBOL applications that contain namespaces, check the Use incremental build (Technical preview feature) option on the project build configuration tab in the project's properties.
For JVM COBOL applications that do not contain namespaces, you can use the Use dynamic calls option available on the build configuration tab in the project's properties. When the project is built with this setting, calls to modules are resolved at run time rather than during compilation. This has the effect of not requiring every module to be compiled when rebuilding the application.
For more information see Related Information at the end of this topic.
Content Assist support for COBOL includes various enhancements and is now also available in JVM COBOL:
For more information see Related Information at the end of this topic.
Visual COBOL now offers more advanced code analysis features and enables you to run various analysis queries (rules and groups of rules called rule sets) against your code to ensure adherence to standards such as standards for coding or performance.
You can run analysis rules against programs in a project in the IDE at user request or you can run analysis rules at the end of a project's build.
For more information see Related Information at the end of this topic.
Visual COBOL now provides support for code coverage of native COBOL applications directly from within the IDE where code coverage uses the Test Coverage functionality. You can produce code coverage reports for applications running in the COBOL run-time and for applications that run in Enterprise Server.
To produce reports, you need to enable code coverage in a project's, a build configuration's, or a file's properties, compile your application and then run your application with code coverage to produce the relevant reports. For applications that require an Enterprise Server instance, you start the enterprise server with code coverage.
For more information see Related Information at the end of this topic.
The following Compiler directives contain new parameters in this release:
For more information see Related Information at the end of this topic.
The Data File Structure Command Line (DFSTRCL) utility is a DOS-based command line utility that enables you to create record layout (.str) files from COBOL debug information (.idy) files. You can use the utility to process a single .idy file or batch process up to 100 .idy files.
For more information see Related Information at the end of this topic.
The Data File Tools (Technology Preview) is a new standalone text editor in which you can create and edit data files. By nature of it being a 'technology preview' product, it does not currently include all the functionality that was available in the previous version of Data File Tools - now referred to as Classic Data File Tools. If you require any of the functionality not provided in this version, you can still use the classic version by accessing it in the usual way.
To run Data File Tools (Technology Preview), type mfdatatools2 from Visual COBOL's command prompt or a terminal.
To use the new editor directly from the Eclipse IDE, use the Open with option on the shortcut menu when selecting a data file or structure file, and select Data File Tools. Eclipse remembers the last tool used for a particular file type, and so will use Data File Tools (Technology Preview) until you select a different editor.
For more information see Related Information at the end of this topic.
This release provides the following enhancements to database access:
For more information see Related Information at the end of this topic.
This release contains the following new configuration options:
For more information see Related Information at the end of this topic.
In versions prior to Visual COBOL 2.3, the semantics of the sharing phrase specified in an OPEN statement or used within a call to CBL_OPEN_FILE were not correctly applied in some cases on UNIX and Linux platforms. From version 2.3 onwards, the sharing phrase is correctly honored when the tunable strict_file_locking=true is set, which is the default setting.
Example of potential changes in behavior:
With strict_file_locking=true, Process-B is unable to open the file, because Process-A has successfully opened the file allowing only read access.
With strict_file_locking=false, Process-B successfully opens the file.
If your application encounters unexpected OPEN conditions or fails to open files, it might be as a result of the new file locking behavior. In such circumstances, we recommend that you review the file locking and sharing requirements of your application and refactor your source code to work with the default setting. The original file locking and sharing behavior can be restored by setting strict_file_locking=false.
For more information see Related Information at the end of this topic.
Should you wish to test and provide feedback for this feature please contact Micro Focus Support Line for instructions on how to enable the new functionality.
You can configure iFileshare to offer enhanced availability for mission critical files by configuring a high availability group, consisting of a primary iFileshare server and a number of stand-by servers. (Currently, this type of configuration only supports having one stand-by server)
Files that are critical to your application can be replicated from a primary server onto the stand-by servers. Should the primary server fail, you have up-to-date data (minus any in-flight transactions) available.
To reduce the complexity and to increase the stability of an iFileshare high availability group, it is recommended that each region is configured as a dedicated iFileshare server. If other Enterprise Server work is hosted within the group, the setup must be consistent on each server so that in the event of a fail-over, the non-Fileshare work can be continued on the new primary server.
For more information see Related Information at the end of this topic.
A new parsing JCL editor provides assistance with writing JCL code to users who are not experienced mainframe programmers. This is especially useful when using the Enterprise Developer Connect to edit source files on a remote mainframe machine. Features include:
For more information see Related Information at the end of this topic.
The following library routines are new in this release:
The following library routines contain new parameters in this release:
For more information see Related Information at the end of this topic.
The following enhancements have been made to the managed COBOL syntax:
For more information see Related Information at the end of this topic.
Micro Focus Rumba version 9.4 is now supplied with the Visual COBOL 2.3 setup file. The license for Visual COBOL will license all components of Rumba.
For more information see Related Information at the end of this topic.
The Micro Focus Unit Testing Framework is an xUnit style testing framework, available from the command line, for procedural COBOL applications.
It includes much of the architecture you would expect in an xUnit framework. The test runner is a 32- or 64-bit executable that you run from a Visual COBOL shell prompt. A test fixture or suite is a COBOL program compiled to .so that can include the setup, the test case code, and the teardown associated with the test case.
Test results are available in a number of formats. By default, results are displayed to screen and to a .txt file, but you can use additional parameters on the command line to produce reports in JUnit format.
For more information see Related Information at the end of this topic.
Support has been added in the IDE for enabling and using multiple preprocessors with your projects.
A new page, Additional Preprocessors, has been added to the project's and the files' properties of native COBOL applications to enable you to choose one or more preprocessors to use when building your application and to specify their order of execution.
New reporting capability is now available for user preprocessors: resp-main code 18 indicates that a buffer contains a data name to be marked as modified by the immediately preceding preprocessed line. The data name may be qualified and resp-more contains the column information for the reference.
For more information see Related Information at the end of this topic.
Visual COBOL now provides support for Profiler for native COBOL applications directly from within the IDE. To produce reports, you need to:
For more information see Related Information at the end of this topic.
This release provides the following enhancements:
For more information see Related Information at the end of this topic.
Support is provided in Eclipse for editing, compiling and debugging of 32-bit and 64-bit PL/I applications running on remote UNIX and Linux machines.
All PL/I editor features available for local projects are present in the editor for remote PL/I applications. Improvements have been made to the syntax recognition of the PL/I editor parser.
For more information see Related Information at the end of this topic.
RESTful service interfaces utilizing JSON as the media type in request and response messages are now supported using the Interface Mapping Toolkit. This enables you to extend COBOL applications using modern transport payloads and protocols.
For more information see Related Information at the end of this topic.
In addition to its proprietary installer for installing Visual COBOL on UNIX and Linux, Micro Focus provides a standard RPM installer for installing Visual COBOL on Linux. RPM Package Manager (RPM) is a technology available on all Linux operating systems for managing the installation of products.
The RPM installer for Visual COBOL supports all the RPM functionality.
For instructions on how to install using the RPM installer, refer to the Installation section in your product help.
For more information see Related Information at the end of this topic.
The recommended way to work with files within Visual COBOL is to include them in a project. For situations where you might want to quickly open edit a single file, Visual COBOL now provides support for native COBOL files in the IDE when the file is not opened as part of a project. There is limited support for the IDE editing, compiling and debugging features as full support requires a project file.
For more information see Related Information at the end of this topic.
This release of Visual COBOL contains the following new tunables:
This release of Visual COBOL contains the following updates to tunables:
For more information see Related Information at the end of this topic.
COBOL Server has been updated to provide an execution environment capable of running applications that were each built using different development products. A consequence of this is that If your application has a main COBOL executable (.exe) that was built with a previous version of Visual COBOL, you should ensure that the executable is rebuilt and packaged with the new run-time system. You can rebuild from the IDE or the command line.
Other COBOL subprograms built with previous versions of Visual COBOL are not required to be rebuilt.
For more information see Related Information at the end of this topic.