This release provides enhancements in the following areas:
Integration with Visual Studio
This release provides enhancements in the following areas:
Back to Top
For more information see
Related Information at the end of this topic.
Application Server JCA support for Enterprise Server
Restriction: This feature applies only when the Enterprise Server feature is enabled.
In this release, EJBGEN has been updated to generate an EAR file as a part of the COBOL deployment process, which enables you to deploy EJBs to Java Application Server.
Back to Top
For more information see
Related Information at the end of this topic.
Azure support
Visual COBOL now supports the following versions of Microsoft Azure SDK - version 2.9.6 with Visual Studio 2013 and version 3.0 with Visual Studio 2015 and later.
Back to Top
For more information see
Related Information at the end of this topic.
Building applications
This release provides the following improvements:
Back to Top
For more information see
Related Information at the end of this topic.
COBOL language enhancements
This release includes the following enhancements to the COBOL syntax:
- The DISPLAY-OF and NATIONAL-OF intrinsic functions are now able to process conversions using any IBM CCSID value.
See
To install a CCSID Table for details on installing the required CCSID table.
The following enhancements are available in managed COBOL:
- To avoid an exception being thrown if an explicit conversion fails, use the AS IF syntax, which results in the target object being set to null and no exception thrown. See
cast expressions in the
Expressions topic for more information.
Back to Top
For more information see
Related Information at the end of this topic.
Code analysis
This release provides the following improvements:
- A new group of predefined rule sets for 64-bit readiness is now included in
Visual COBOL.
- Support for importing code analysis reports produced with one of Micro Focus's advanced tools for code analysis, Enterprise Analyzer or COBOL Analyzer.
Back to Top
For more information see
Related Information at the end of this topic.
Code coverage
The following improvements are available within the IDE:
- Information about unexecuted programs - the code coverage reports in the
Code Coverage window now show the unexecuted programs.
- Code coverage support for standalone COBOL files - you can import existing code coverage reports in the
Code Coverage window and use it to supply code coverage information for standalone files.
If you are using Test Coverage from the command line, you can now use the following features:
- A new Compiler directive, COLLECTION - the directive enables test coverage to gather information about unexecuted programs. In the IDE, this directive is automatically set on a project when you enable code coverage for it.
- A new command line utility, tcutil - the utility enables you to convert the test coverage binary results file into XML format.
- It is now possible to integrate test coverage in a Continuous Integration (CI) system. You can use tcutil and an XSLT processor to transform test coverage data into a format suitable for including in a CI.
Back to Top
For more information see
Related Information at the end of this topic.
Compiler control
The following Compiler directives are new in this release:
- COLLECTION - provides a mechanism for code coverage to identify unexecuted programs.
- ILSTDLIB - helps you to ensure that your .NET COBOL code compiles with the correct version of the .NET Framework Microsoft Common Object assembly
mscorlib.dll. When building from Visual Studio or using MSBuild to compile a COBOL project, the NOILSTDLIB directive is set, and an ILREF is generated pointing at the version of mscorlib appropriate for the target framework selected in the project's properties.
The following Compiler directives have been updated:
- ALIGN - this directive has new parameters (FIXED and OPT) that can be used in conjunction with the integer taken, which can aid performance. The default is ALIGN"8 OPT"; see the Comments section of the
ALIGN Compiler directive topic for details of its affect on memory boundaries.
- ARITH - this directive emulates the IBM mainframe option of the same name. Defines the maximum number of digits for numeric data items.
- FASTINIT - this directive is now on by default when setting the MF dialect; it remains not set by default for other dialects.
- SSRANGE - this directive now has an additional option (3), which permits zero-length reference modified items at run time when bounds checking.
- XMLPARSE - includes a change in the way entities are processed when XMLPARSE(COMPAT) is set
Back to Top
For more information see
Related Information at the end of this topic.
Data File Tools
This release provides the following enhancements to Data File Tools:
Back to Top
For more information see
Related Information at the end of this topic.
Database access -
DB2
This release provides a new DB2(QUALIFY-CALL) Compiler directive that enables stored procedure invocations to include a schema name.
Back to Top
For more information see
Related Information at the end of this topic.
Database access - MySQL
This release provides support for MySQL with ODBC.
Back to Top
For more information see
Related Information at the end of this topic.
Database access - OpenESQL
This release provides the following new features:
- Statement prefixes for the SQL(CHECK) Compiler directive that enable the creation of temporary tables and other SQL objects at compile time, ensuring full SQL syntax checking during compilation.
- SQL(OPTIMIZECURSORS) Compiler directive that enhances processing for traditional embedded SQL cursors that use WITH HOLD and FOR UPDATE clauses.
- SQL(CLOSE_ON_COMMIT) Compiler directive to leave cursors open for further result set processing after a commit.
- SQL(GEN-SQLCA) Compiler directive that generates an SQLCA similar to the z/OS DB2 directive STDSQL(YES).
Back to Top
For more information see
Related Information at the end of this topic.
Documentation
The following new section have been added to the product help:
- Where do I start? - located on the launch page of the product help, this section provides the information you need in order to get started depending on which aspects of the product you need to get to grips with first.
Back to Top
For more information see
Related Information at the end of this topic.
Enterprise Server
Improvements are available in the following areas:
Integration with
Visual Studio:
- Exporting an enterprise server definition from the IDE in XML format.
- Importing an enterprise server into the IDE using its definition file.
- In Visual Studio, it is now possible to configure an enterprise server to produce a core dump file directly from the IDE, from the server properties.
Long user IDs and passwords:
- Enterprise Server now supports user IDs and passwords of up to 100 characters. It is possible to map IDs from long to short (or vice versa) to enable compatibility with programs that do not support long names.
SHA-256 support in DemoCA:
- By default, the Demonstration Certificate Authority (CA) now signs certificates with SHA-256. This ensures that the demonstration or evaluation certificates will be accepted by modern browsers and other software that has enhanced security requirements.
Syslog auditing:
- Enterprise Server now supports auditing using syslog events, which can be consumed by a wide range of Security Information and Event Management (SIEM) products. This replaces the Audit Manager auditing solution. Syslog auditing provides a much more efficient auditing mechanism, with significantly less impact on overall speed.
Back to Top
For more information see
Related Information at the end of this topic.
Interface Mapping Toolkit
The Interface Mapping Toolkit (IMTK) contains the following enhancements in this release:
- Cross Origin Resource Sharing (CORS) support for REST Web services, enabling Web service access from a CORS-supported Web browser.
Back to Top
For more information see
Related Information at the end of this topic.
iFileshare
iFileshare is no longer considered an Early Adopter Program, and contains the following enhancements in this release:
- An improved failover and recovery process. iFileshare now supports full recovery of nodes in the group. For high availability (HA-VSAM) groups, servers can now rejoin the group without the entire group having to be restarted. In addition:
- A primary failover now results in a takeover from the most suitable node.
- If configured, external clients will automatically reconnect to the new primary and will issue a notification if the transaction has been lost.
- A failed node, when restarted, will rejoin the group, recover its files and request a log update from the current primary. Once this task has completed it will be considered an active hot-standby and will continue to process replication requests as normal.
- Users will experience a higher level of uptime/availability with their Fileshare configuration and will be able to recover from errors more easily.
- A new exit procedure,
ifsexitproc.cbl, can be configured to automate some aspects of iFileshare behavior.
- The iFileshare Control page in ESMAC contains details of the current iFileshare high availability group.
- The following new iFileshare-specific environment variables are available:
- FSWRKDIR - enables you to specify the Fileshare working directory, overriding the default, which is the system directory of the region.
- FSCHKLFH - determines if a check is performed when a high availability group is started, to test the consistency of the data files within the group.
- The database reference file (dbase.ref) now supports wildcard matching for filenames, allowing you to perform operations on multiple files at once; for example:
fs /d dbase.ref /f data\* adds the entire contents of the data directory to the database reference file.
Back to Top
For more information see
Related Information at the end of this topic.
The Micro Focus Unit Testing Framework
The Micro Focus Unit Testing Framework is now available from within the IDE. It includes much of the architecture you would expect of an xUnit framework to create, compile, run and debug unit tests, including the following features:
- A unit test project template.
- A test creation wizard that enables you to generate tests from your source code.
- Code snippets for each element of a test case.
- Support for running tests with Code Coverage enabled.
- The Micro Focus Unit Testing window, where you can manage your test runs and view test output.
There has been a number of enhancements to the command line version of the Micro Focus Unit Testing Framework. Support has been added for:
- Generating NUnit-style reports.
- Running test fixture files using Apache Ant.
- Applying traits to your test cases, then performing a test run based on those traits.
- Applying a high, medium, or low priority to test cases, which affects the order in which they are run.
- Adding coded command line options directly into your test code.
- Using a test run-specific configuration file, in which you can set environment variables.
Back to Top
For more information see
Related Information at the end of this topic.
XML processing
XML PARSE now works in a purely managed COBOL environment. It is now supported in JVM COBOL and, in both .NET and JVM COBOL, it has a fully managed implementation. XML PARSE working without calling out to native code ensures it can be used in restricted rights environments.
Back to Top
For more information see
Related Information at the end of this topic.