This release provides enhancements in the following areas:
Integration with Eclipse
Back to Top
This release provides enhancements in the following areas:
Editor:
- COBOL editor:
- You can now specify the increment for the COBOL and the standard line numbering from
Window > Preferences > Micro Focus > COBOL > Editor > Line numbering.
- You can now toggle single or multiple lines between commented and uncommented states.
Building applications:
- Environment variables - a new page,
Build Environment, in the project's properties enables you to specify environment variables for your applications. You can also specify environment
variables that only apply at run time on the run or debug configuration for the application.
See
Related Information at the end of this topic.
Application Server JCA support for Enterprise Server
Back to Top
Restriction: This feature applies only when the Enterprise Server feature is enabled.
This release provides support for automatic connection recovery to an active Java application server when an
enterprise server region is restarted. This applies to COBOL resource adapters.
This release provides support for performing code analysis at the command line using Ant which enables the integration of
code analysis in CI frameworks. Features include:
- Support for performing code analysis at the command line using the project's
.cobolBuild Ant script and specifying a target.
- New Ant targets for code analysis -
analyze and
build.and.analyze. These enable you to only run analysis and produce analysis data or to build and produce build artifacts as well as analysis
data.
- New Micro Focus Ant task,
analysis, for the
.cobolBuild file. A parameter for this task enables you to specify whether the build fails or continues when code analysis results are
received.
- New parameters for code analysis for the cobol Ant task -
analysisData,
analysisDataDir.
- New Ant type,
ruleList, for the
.cobolBuild file - enables you to specify the rules to execute.
- Support for running analysis using a custom
.cobolBuild file from outside of the project directory or the workspace.
See the
Micro Focus Ant User Manual in the Micro Focus Infocenter for more details on the new task, types and parameters.
For more information see
Related Information at the end of this topic.
Code coverage
Back to Top
The code coverage reports are now integrated with the IDE and with the editor. Features include:
- A new
Code Coverage view (Eclipse) showing the statistics of what percentage of the code has executed.
- Navigation from the
Code Coverage view (Eclipse) to the missed and covered blocks in the editor.
- Colorization in the editor of blocks that were executed (covered blocks) or not (missed blocks).
For more information see
Related Information at the end of this topic.
Compiler directives
Back to Top
The following Compiler directives contain new parameters in this release:
For more information see
Related Information at the end of this topic.
Data File Tools
Back to Top
This release provides improved security and increased support for more file types. Features include:
- Certain aspects of Enterprise Server security are honored when you attempt to access data sets. If the Enterprise Server region
has security enabled, logon details must be authenticated before you can access the data set. If the details are unable to
be authenticated, access is denied.
- When using a record layout, certain data is now validated at field level (to ensure the contents is compatible with its picture
string ) and record level (to ensure the record length matches the layout size).
- Full editing support has been added for variable block sequential files and relative files. Full editing is also available
for line sequential files, as long as they do not contain any binary data.
For more information see
Related Information at the end of this topic.
Eclipse editor coding assistance
Back to Top
This release includes various improvements in the
Content Assist
support for COBOL in the following areas:
- Native COBOL - support is now available for OCCURS statements
- Managed COBOL - suggestions are now available in the working storage section and in the following scenarios:
- Arithmetic expressions in method arguments
- Casting variables and some expressions
- Creating arrays using the TABLE OF expression and indexers
- Generics
- Implements and inherits
- Javadoc comments are now displayed (Eclipse)
- Type name filtering in constructs and attributes
- Managed type headers, method heathers and index headers.
- Nested types
- SIZE OF expressions
- String concatenations
- TYPE OF constructs
- Unqualified members access - using the
SELF:: or
SUPER:: syntax
- Support for float literals has been enhanced.
- Suggestions are now available for more COBOL verbs such as TRY and RAISE (in managed COBOL) and EXAMINE, INSPECT, SEARCH,
GO TO, INITIALIZE, INVOKE, and UNLOCK (in native COBOL).
- There are new IDE configuration settings for inserting suggestions and for case handling.
For more information see
Related Information at the end of this topic.
Enterprise COBOL 5.2
Back to Top
With the introduction of Enterprise COBOL 5.2, the following features are supported:
- The VOLATILE keyword is supported within the data entry description; although, this is treated as documentary. It has also
become a reserved word when under the ENTCOBOL dialect.
- Format 2 of the SORT statement no longer treats the COLLATING SEQUENCE clause as documentary-only.
- The SUPPRESS clause of the XML GENERATE statement has been enhanced.
- The IBM z/OS JSON parser API, as documented for the IBM z/OS client web enablement toolkit.
File Handling
Back to Top
The following enhancements have been made to file handling processes:
Library routines
Back to Top
The following library routines are new in this release:
- CBL_CODESET_SET_MAPPING - enables you to change the codeset in effect.
- CBL_RUNTIME_ERROR - forces an application to terminate with a run-time error condition.
Micro Focus Unit Testing Framework
Back to Top
This release provides the following enhancements:
For more information see
Related Information at the end of this topic.
Managed COBOL syntax
Back to Top
The following enhancements have been made to the managed COBOL syntax:
- A new command line utility,
mfjarprogmap, is available
to allow you to create the necessary Java property file when calling COBOL programs that have been compiled as part of
a package.
- You can now create generic iterators.
- You can now use the Profiler utility to obtain detailed statistics on the run-time performance of managed COBOL applications.
For more information see
Related Information at the end of this topic.
Native COBOL Syntax
Back to Top
The following items are new features of the native COBOL syntax:
- Class condition tests
- New and updated class condition tests are available for DBCS, KANJI, and JAPANESE.
RM/COBOL compatibility
Back to Top
The RM/Panels syntax is now supported in Micro Focus COBOL applications.
Rosetta Stone for COBOL, .NET and Java Developers
Back to Top
The product Help now includes a quick and easy to use syntax guide for developers who need to learn OO COBOL syntax when modernizing
COBOL applications for the Java or .NET platforms. The guide includes side-by-side equivalent syntax for COBOL, C#, VB and
Java.
For more information see
Related Information at the end of this topic.
UNIX and Linux platform support
Back to Top
This release is now supported on SUSE and Red Hat platforms that are running the little-endian PowerLinux architecture.
Note: These are 64-bit platforms only.
There are a few restrictions when running in this environment:
- The
cob flag -p, which enables profiling, is not supported on Red Hat platforms.
- The
cobmode utility is not supported.
- SQL functionality is restricted to OpenESQL support (ODBC and JDBC) only.
- The RM File Manager (RMFM) is not supported.