Mfvisualcobol Vs 50 Release Notes
Mfvisualcobol Vs 50 Release Notes
Release Notes
Micro Focus
The Lawn
22-30 Old Bath Road
Newbury, Berkshire RG14 1QN
UK
http://www.microfocus.com
MICRO FOCUS, the Micro Focus logo and Visual COBOL are trademarks or registered
trademarks of Micro Focus or one of its affiliates.
2019-06-11
ii
Contents
Micro Focus Visual COBOL 5.0 for Visual Studio Release Notes ..................4
What's New ......................................................................................................... 5
.NET Core Support ............................................................................................................. 5
COBOL Formatting ............................................................................................................. 5
Code Analysis ..................................................................................................................... 5
Enterprise Server Common Web Administration ............................................................... 6
COBOL Language Enhancements ......................................................................................6
Compiler Directives ............................................................................................................. 6
Consolidated Trace Facility (CTF) ....................................................................................... 7
Data File Tools .................................................................................................................... 7
Database Access ................................................................................................................ 7
Database Connectors ......................................................................................................... 8
Debugging ...........................................................................................................................8
Enterprise Server Security .................................................................................................. 8
Micro Focus Unit Testing Framework .................................................................................. 9
Product Documentation .......................................................................................................9
Visual Studio Integration ................................................................................................... 10
Significant Changes in Behavior or Usage ....................................................11
Known Issues ................................................................................................... 14
Resolved Issues ............................................................................................... 15
Other Issues Resolved in This Release ........................................................ 37
Unsupported Functionality ..............................................................................39
Installation ........................................................................................................ 40
Before Installing ................................................................................................................ 40
Downloading the Product ....................................................................................... 40
On Windows ........................................................................................................... 40
Basic Installation ............................................................................................................... 43
Installing ................................................................................................................. 44
Advanced Installation Tasks .............................................................................................. 44
On Windows ........................................................................................................... 44
After Installing ................................................................................................................... 46
On Windows ........................................................................................................... 46
Licensing Information ...................................................................................... 49
To activate Visual COBOL Personal Edition ......................................................................49
To request and activate a 30-day trial license for Visual COBOL ......................................50
To buy and activate a full unlimited license ....................................................................... 51
To start Micro Focus License Administration ....................................................................51
Installing licenses .............................................................................................................. 51
If you have a license file ......................................................................................... 51
If you have an authorization code ...........................................................................52
To obtain more licenses .................................................................................................... 52
Updates and SupportLine ................................................................................53
Further Information and Product Support ......................................................................... 53
Information We Need ........................................................................................................ 53
Creating Debug Files ........................................................................................................ 54
Copyright and Disclaimer ................................................................................ 55
Contents | 3
Micro Focus Visual COBOL 5.0 for Visual
Studio Release Notes
These release notes contain information that might not appear in the Help. Read them in their entirety
before you install the product.
Note:
• This document contains a number of links to external Web sites. Micro Focus cannot be
responsible for the contents of the Web site or for the contents of any site to which it might link.
Web sites by their nature can change very rapidly and although we try to keep our links up-to-date,
we cannot guarantee that they will always work as expected.
• Check the Product Documentation section of the Micro Focus SupportLine Web site for any
updates to the documentation which might have been uploaded.
Product Overview
Visual COBOL enables you to develop COBOL applications within Microsoft Visual Studio. You use the
Visual Studio integrated development environment (IDE) to edit, compile and debug COBOL applications.
The IDE provides all the functionality to manage projects and build applications.
The product is available in the following variants - Visual COBOL for Visual Studio 2017 and Visual COBOL
for Visual Studio 2019. The execution environment for applications created with any of these product
variants is COBOL Server.
4 | Micro Focus Visual COBOL 5.0 for Visual Studio Release Notes
What's New
This release provides enhancements in the following areas:
COBOL Formatting
Back to Top
You can now reformat your COBOL code in the editor according to your preference and standards.
Formatting sets the indentation based on the configuration options which you can set in Tools > Options >
Text Editor > Micro Focus COBOL > Formatting > Indentation (for Visual Studio).
You can find the COBOL formatting features on the Edit > Advanced menu (for Visual Studio) menu.
Code Analysis
Back to Top
You can now create the following views for your code:
• Program Flow Graph - enables you to view the overall structure of the COBOL program with nodes
representing sections and paragraphs. PERFORM statements between them which affect the program
flow are represented by links joining the nodes. External calls to other programs are shown but cannot
be expanded in the Program Flow Graph view. Hovering over the nodes shows a tooltip containing the
What's New |5
code representing the respective sections or paragraph. Clicking a node or a link joining said nodes
positions the code editor to that point in the source, allowing quick and easy navigation of the program.
• Data Flow Analysis Tree - enables you to select a data item and then either statically trace what might
change its value or what other data items it might affect.
Visual COBOL now includes a new Enterprise Server Common Web Administration interface (ESCWA).
ESCWA is a web user interface and server for modern administration, monitoring and control of Enterprise
Server. It offers improved usability that consolidates the different Enterprise Server user interfaces so that
native and managed regions, and security stores can be managed in one place. Features include:
• Administering directory servers across multiple hosts.
• Monitoring and control of Enterprise Server instances.
• Configuring and administering a security store, defined in an LDAP-compatible security manager such
as Microsoft Active Directory or OpenLDAP.
• Administering the Scale-Out features - enable you to specify logical groups of Enterprise Server
instances, and configure and run Performance Availability Clusters (PACs) and their related Scale-Out
Repositories (SORs).
• Administering, monitoring and control of Enterprise Server for .NET regions and listeners.
• The use of current web frameworks that have a greater focus on security.
Compiler Directives
Back to Top
The following Compiler directives are new in this release:
6 | What's New
ILNORMALIZENAMES Determines the program elements that are normalized when a program is
compiled to .NET or JVM COBOL. Normalization in this context results in
replacing all $ and - (hyphen) characters with _ (underscore) characters in the
name of the generated class file.
Database Access
Back to Top
Enhancements are available in the following areas:
What's New |7
Database Connectors
Back to Top
You can now create an identity column in your database by using a new XFD directive -
IDENTITY_COLUMN. This must be specified on a numeric field.
Debugging
Back to Top
This release includes the following enhancements:
• COBOL Visualizer - a new window in Visual Studio enables you to view and edit a data item during
debugging in either text or HEX forms. You invoke the window from the DataTip for the data item.
• Conditional watchpoints - you can now specify conditions and hit counts for COBOL watchpoints. A
condition can be in the form of an expression or it can be a hit count (for the number of times memory
associated with a data item has been updated). The condition is evaluated each time the data item
being watched changes. If the condition evaluates to true, then program execution stops. This enables
more fine-tuning of the current watchpoint support and is useful when debugging large, complex
programs.
• Dynamic core dumps - you can now invoke a core dump programmatically and continue execution of
your program. A new library routine, CBL_CREATE_CORE, enables you to produce a core file for the
current process or a process owned by the same user that owns the current process.
• Improved visibility of the PERFORM stack - the PERFORM stack and PERFORM range names are
visible in system debuggers such as gdb in many cases on 32-bit Linux with Intel architecture and
Solaris with Intel architecture. This was already the case on AIX, 64-bit Solaris-Intel, and all other Linux
platforms (including 64-bit Linux-Intel).
• In order to include source line numbers in run-time error messages, which makes the diagnosis of
issues in your program easier, the COBOL compiler now produces .idy files by default when building
from the command line, unless the NOANIM directive is specified. You can safely remove .idy files
after compilation if you do not need them; they do not need to be distributed with your application unless
you want to debug your code. However, unless you specify the ANIM directive, generated executables
such as .dll and .gnt will not be debuggable, which is consistent with prior behavior.
Note: Behavior has not changed if you are using an IDE or build scripts generated by an IDE.
8 | What's New
• OpenSSL 1.1.1 - the OpenSSL security provider has been updated to OpenSSL version 1.1.1.
This is the stable Long Term Support version of OpenSSL.
• Added support for the ratified TLS protocol version 1.3. TLS 1.3 benefits include:
• Much shorter initial connection negotiation sequence. This reduces the time taken to establish a
link before starting to transmit data.
• Using only the most secure ciphers and hash methods.
• TLS 1.3 will be negotiated in preference to the older TLS protocols.
• Added support for new Ciphers and Key Exchange groups in line with TLS 1.3 requirements.
• The default security level for previously configured endpoints has been moved from Security Level 0
to Security Level 1. This removes the ability to accidentally make use of known-weak elements such
as SSL3 and MD5. Similar changes to the default Security Level have recently happened to Java,
Chrome, Firefox, and other systems providing secure connections.
• Fileshare Security - the Fileshare Secure TCP/IP transport provider now supports the trusted use of
X509 certificates bearing the name of the Fileshare service as the Common Name element of the
certificate.
In previous releases, a secure connection to a Fileshare server was made using a certificate that
represented the network location upon which the Fileshare service was located. This method is still
supported, but does not distinguish between the exact Fileshare server that is being connected to when
more than one service can exist on a single host system. With this change, individual Fileshare services
can identify themselves by using a unique certificate. While running on the same host and registered
with the same network endpoint.
• Support for Active Directory user groups and group name mapping - the Enterprise Server External
Security Facility's MLDAP ESM Module can now use Active Directory user group objects for Enterprise
Server user groups. Also, the module can now map long group names to the 8-character-maximum
names required for mainframe emulation.
• Selective auditing - administrators can audit only security activity of particular interest, reducing audit
overhead and the volume of events. The Enterprise Server External Security Facility's MLDAP ESM
Module can now enable ESF Audit events only for particular users, groups, and resources.
• Improved interaction with LDAP client libraries resulting in fewer LDAP-related issues and easier
diagnostics - the Enterprise Server External Security Facility's MLDAP ESM Module has improved
interoperation with LDAP client libraries:
• The client library vendor and version information is logged after the library is loaded
• The module has better heuristics for loading the correct library supplied by the OS vendor, so the
"provider" configuration option can generally be omitted
• For OpenLDAP, the module sets its proprietary "connect timeout" option
Product Documentation
Back to Top
The following is new in this release:
What's New |9
• Online context help in Visual Studio - online context Help is now the default setting for Visual COBOL
and opens the documentation available on Micro Focus SupportLine.
Visual COBOL local help is still supported and can be installed manually, if required. See After Installing
in the product Help for details.
• The Comparison of COBOL with Other Managed Languages document has been updated to reflect the
recent enhancements in the .NET and JVM COBOL support.
10 | What's New
Significant Changes in Behavior or Usage
This section describes significant changes in behavior or usage. These changes could potentially affect the
behavior of existing applications or impact the way the tools are used.
Where present, the numbers that follow each issue are the Support Incident Numbers followed by the
Reported Problem Incident (RPI) number (in parentheses).
• Common Communications Interface
• Data Tools
• Documentation
• Enterprise Server
• Enterprise Server Auditing
• File Handling
• Interface Mapping Toolkit
• Micro Focus Directory Server
• MFCRYPTLIB
• Request Packet Interface API
Data Tools
Back to the list
• Accessing a dataset through the Data File Editor now obtains a shared lock on Enterprise Server when
you open the file in shared mode.
3170479 (1115346)
Documentation
Back to the list
• The ANIM Compiler directive has changed its default when compiling from the command line on
Windows platforms. The default is now ANIM. (Compiling from the IDE still defaults to ANIM.)
• The validation of server certificates for TLS (also known as SSL) connections has been corrected. This
is likely to cause connection failures in cases where previously connections were incorrectly allowed.
For example, if Fileshare is secured with TLS, client applications must be configured to use the
Enterprise Server
Back to the list
• A number of audit events now contain some additional information.
3140310 (1112666)
• Previously, the /x option of the CASRDTEX utility had been duplicated to drive XML output. This
prevented the export of transactions which was the original meaning of /x. To generate an XML export,
you must now specify the option /xm.
3180233 (1116108)
• casfhsf could hang when processing HSF files that contain records from tasks that ran in different
months.
3177385 (1115884)
• A new system transaction, CRCN, is now available to monitor the state of XA connections for each
resource manager (RM) entry defined in the system. CRCN is a replacement for the former XA
Reconnect facility that recycled SEPs on connection loss. The XA Reconnect facility was configured by
setting the ES_XA_RECONNECT environment variable. CRCN also uses this environment variable,
although its usage differs slightly. For more information see your product Help.
3174272 (1115727)
• On Windows, any casout and cassub messages are displayed on cassub and casout API invocation if
the environment variable ES_CAS_API is not set to "ON".
3160400 (1114458)
File Handling
Back to the list
• RELFORMAT=MF|RM is now enabled for FOLDER and other filename tags.
3164916 (1114803)
• The SORT-CONTROL special register is now supported during a SORT statement.
3159740 (1114389)
• To direct the handling of relative files to a particular file handler (either MF COBOL or RM/COBOL), use
the RELFORMAT=MF or RELFORMAT=RM configuration options within the [REL-DEFAULT] tag of the
EXTFH.CFG file. (The default is RELFORMAT=MF.)
3157247 (1114149)
MFCRYPTLIB
Back to the list
• Passing an incorrect keyfile passphrase no longer results in receiving an RTS115 error in MFDS.
3181743 (1116186)
14 | Known Issues
Resolved Issues
The numbers that follow each issue are the Support Incident Numbers followed by the Reported Problem
Incident (RPI) number (in parentheses).
• Adis
• Cob/Cbllink/Cblnames (32-bit PC)
• Codeset Support
• Compiler
• Data Tools
• Database Connectors
• Debugging
• Dialog System
• Documentation
• Embedded HTML Pre-Processor
• Enterprise Server
• File Handling
• IDE
• Interface Mapping Toolkit
• Licensing
• Micro Focus Common Client
• Micro Focus Directory Server
• Micro Focus Server Administrator
• OpenSSL
• Run-Time System
• Setup
• SQL: COBSQL
• SQL: DB2
• SQL: OpenESQL
• SQL Option for DB2
• Web Service Client
• XML Schema to COBOL generation
• XML Support
Adis
Back to the list
• ERASE EOL no longer stops Keisen attributes being inherited when enabled by x"AF" function 81.
3169584 (1115178)
• ACCEPT LINE POSITION data-item, where data item has the JUST clause, now works as expected
when the ADISCF pre-clear option is selected.
3126794 (1111471)
• BLANK SCREEN BACKGROUND-COLOR n, where n > 7, now sets the intensity so that the bright
version of the color is used to fill the screen.
2856949 (1103978)
Resolved Issues | 15
Cob/Cbllink/Cblnames (32-bit PC)
Back to the list
• Creating an executable or shared object with the cob flags -U or -d no longer results in an assembler
error message.
Codeset Support
Back to the list
• Conversions from ASCII to EBCDIC, with null data, no longer get corrupted.
3155499 (1114114)
Compiler
Back to the list
• A GO TO statement that references a qualified data name, rather than a procedure name, is now
correctly rejected by the Compiler.
3191922 (1117013)
• A DBCS data item with a VALUE clause specifying ALL NX literal is now correctly rejected by the
Compiler.
3191623 (1116974)
• Large UNSTRING statements no longer produce the following error: "001-f internal error 49".
3189648 (1116838)
• A SET 88-level TO TRUE statement when the associated field is national is now working as expected.
3185855 (1116554)
• A valid data declaration with a RENAMES THRU clause referencing other level 66 items no longer
produces Compiler error "COBCH0239S First data name does not precede second".
3184128 (1116376)
• A WHEN OTHER clause directly following another WHEN clause in an EVALUATE statement is now
rejected by the compiler when an Enterprise Cobol dialect is specified. This emulates the mainframe
behavior.
3183810 (1116464)
• An RM dialect now supports data names up to 128 bytes in size.
3182342 (1116261)
• Specifying an inline method invoke inappropriately (such as in a SUBTRACT statement) now receives a
Compiler error, as expected. Passing inappropriate operands BY REFERENCE is similarly rejected.
3180642 (1116128)
• A program compiled with the prexml preprocessor and the directive 'NOQUAL' now compiles as
expected.
3179843 (1116304)
• A REPLACE statement that caused the last token of a copyfile to be replaced with a longer token, and
thus caused the creation of an extra line, now works as expected.
3178437 (1115957)
• A COBOL program compiled with a mainframe dialect should treat mainframe KSDS files correctly.
They are of variable length regardless of whether the "record varying" phrase is used in the FD.
Previously, this was not being honored and when program A was calling program B using external files,
you received an RTS 226 error message.
3176783 (1115839)
16 | Resolved Issues
• User-defined functions with LOCAL-STORAGE data now compile and execute as expected.
3176478 (1115792)
• A DISPLAY statement as the last line of an ON EXCEPTION clause of another statement, with a
following NOT ON EXCEPTION clause for the containing statement, and compiled with the RM compiler
option, now compiles as expected without internal errors.
3175442 (1115876)
• An INSPECT CONVERTING statement with hexadecimal literals and compiled with
CHARSET(EBCDIC) now executes as expected.
3174833 (1115673)
• Constructions of type INSPECT CONVERTING ZERO to <variable-name> now produce correct object
code and execute as expected.
3174064 (1115580)
• An SQL program with file declarations and a missing WORKING-STORAGE header now executes as
expected.
3169882 (1115216)
• During compilation, if the LIST directive had been specified and a license error occurred, an RTS error
114 would result. This has been fixed.
3169377 (1115474)
• During compilation, if the LIST directive had been specified and a licensing error occurred, you received
an RTS error 114.
3169377 (1115319)
• A COPY REPLACING statement spanning multiple lines, with commas on the end of those lines, is now
processed as expected; that is, those commas are treated as meaningful characters rather than simply
separators.
3168125 (1115173)
• PARAGRAPH and CYCLE are now correctly treated as context sensitive reserved words under an
Enterprise COBOL dialect, allowing them to also be defined as user data names.
3167488 (1115004)
• COPY SUFFIXING and COPY PREFIXING syntax now compiles and works as expected for long DBCS
words.
3166159 (1114885)
• The IMTK wizard can now process COBOL source that contains non-standard characters, such as an
ampersand.
3164533 (1115157)
• Syntax involving an EXEC keyword, within an EXEC SQL statement, is now processed as expected.
3162629 (1115879)
• The INSPECT ... CONVERTING ... TO FUNCTION ... syntax is now working as expected.
3160325 (1114393)
• Compilation with the CP preprocessor, of a source that has very long lines and unexpanded tab
characters at the end of those lines, now works as expected.
3160255 (1114436)
• A DISPLAY of a group item containing a large table, in a program containing the 'CONSOLE IS CRT'
special-name clause now compiles successfully.
3157068 (1114326)
• The performance of the following syntax has been significantly improved, especially where source-
alphabet is long: INSPECT CONVERTING source-alphabet TO target-alphabet
3157067 (1114137)
Resolved Issues | 17
• DISPLAY of a SCREEN SECTION sub-group no longer gives a COBRT153 error if there are other sub-
groups with OCCURS items with un-initialized indexes.
3154391 (1113915)
• Printer files under an RM dialect are now emulated correctly.
3143299 (1113494)
• DISPLAY UPON ARGUMENT-NUMBER now behaves as expected under CHARSET"EBCDIC".
3116649 (1110478)
• When evaluating a method invoked inline as in the example below, the method was executed for each
WHEN statement which could result in undesired side effects. Example:
evaluate object::"method"(1)
when 0
when 1
when 2
Now, the result is stored in a temporary item and used in any comparisons with the expressions in the
WHEN clause.
• An INITIALIZE statement acting on a subscripted group, which itself contains a subsidiary subscripted
group, sometimes failed to initialize all elements of that subsidiary group, in the case when the subscript
of the original group was expressed as a literal. For example:
01 g1.
03 g2 occurs 3.
05 g3 occurs 3.
07 n1 binary-long.
07 x1 pic xxxx value "ABCD".
initialize g2(1)
display g2(1)
In this case, only the first occurrence of x1 was initialized to spaces. This is now fixed.
3186540 (1116571)
• Normally, binlit(boolean) should be switched automatically in the presence of PIC 1 data. However, this
was not happening for programs compiled with the ILSOURCE Compiler directive.
3184579 (1116412)
• Moving from a floating point item to a comp-5 item no longer results in the loss of the most significant
digits.
3177978 (1115909)
• With the directive OUTDD set, a DISPLAY statement referencing an item of zero length could cause an
index-out-of-range exception.
3176176 (1116853)
• An EXIT METHOD in a performed procedure inside a method could be ignored, with the result that
control flow returned from the PERFORM, and continued to the next statement. This is now fixed.
3176170 (1115770)
• If a method included an anonymous method (i.e a code block delimited by delegate/end-delegate), and
if the method included local data of generic COBOL type (i.e. a pic x or group data, but not object
references or primitive numeric data items), this could result in producing corrupt code.
3174920 (1115692)
• A RAISE statement (or a GO TO) at the end of the main method could cause a system error. This only
occurred when the main method had a native .NET parameter (such as a string object) passed by
reference.
3166049 (1114881)
• When generating managed code, incorrect code was generated when a string property was the target
of a STRING statement. This could also happen when a STRING statement with an INTO phrase
referencing a PIC X item used string objects in one or more other operands.
18 | Resolved Issues
3160597 (1114443)
• The syntax SET pointer-1 TO pointer-2 now behaves as expected when AMODE"31" is in effect.
3159008 (1114361)
• When a COMPUTE statement contains no SIZE ERROR clause, and when execution of that
COMPUTE statement would cause a size error condition, and when the directive HOSTARITHMETIC is
on, then the result stored in the target field is now working as expected.
3155736 (1114028)
• A warning message is now produced if a namespace specified by the ILUSING directive is not found.
• Use of THREAD-LOCAL-STORAGE and THREAD-LOCAL is only permitted in procedural COBOL
programs when compiling for managed code.
• Documentation for the ANIM directive has been modified to indicate that NOANIM is still the default for
managed compilation on Windows.
• You now receive an error message after background parsing when you specify an invalid directive using
the $SET statement. Any error messages with start location will now contain the correct offset.
• When debugging an SQL program, stepping an EXEC SQL OPEN statement could cause the final line
of the program to be incorrectly highlighted.
3191710 (1117009)
• In native generated code, on all platforms except Intel x86 32-bit, a COMPUTE statement with fixed-
point operands and a floating-point (comp-1 or comp-2) target could give the wrong result if a fixed-point
operand was used twice in the expression. This bug has been fixed.
3188676 (1116745)
• On the IBM mainframe, when code is compiled with NOPFD, and when an unsigned COMP-3 item
containing an invalid sign nibble (such as 0xD) is the source item in a MOVE to another COMP-3 item,
the sign nibble is fixed up to the correct value: 0xC for a signed COMP-3 target, and 0xF for an
unsigned COMP-3 target. Micro Focus COBOL now emulates this behavior when code is compiled with
SIGNFIXUP.
3173432 (1115972)
• An issue where the COBIDY directive was handled inconsistently between the Compiler and NCG has
been fixed.
3163263 (1115112)
• A generate time error where the following message was produced has been fixed: FATAL ERROR
in ../coil/cio_jopt.c:deleting_bc() line 41; expected compare .
3160837 (1114435)
• For 32-bit generated code on Intel x86 platforms only: A bug has been fixed where a DISPLAY
statement in generated code, compiled with LINKCHECK, would not give an RTS 203 error when using
an unassigned linkage item.
3159106 (1114292)
• In generated code, a move of the form "MOVE NATIONAL-ITEM TO NATIONAL-ITEM-JUSTIFIED"
produced incorrect results when the target item was longer than the source.
• CHAIN <literal> ON EXCEPTION and CHAIN <literal> ON OVERFLOW did not work correctly when the
overflow case occurred in native generated code on all platforms, with the exception of Intel x86 32-bit.
This has been fixed.
Enterprise Server
Back to the list
• There is no longer an issue with the order of file retrieval for the list of console logs affecting the
calculated maximum log number.
3192214 (1117023)
Resolved Issues | 19
• LRECL fields are now displayed correctly in Data File Tools when accessing Enterprise Server hosted
data files.
3186524 (1116586)
• An issue with stopping printer terminals has now been resolved.
3185553 (1116498)
• MQ Security is now used when using DSNRLI.
3183523 (1116641)
• In Data Files Tools, the performance of opening a PO dataset that is hosted within Enterprise Server
has been improved.
3178780 (1116293)
• An issue that caused CTG requests using SNT users to be rejected has now been resolved.
3178729 (1115967)
• An issue with IBM PCOM was resulting in different colors in BMS in RUMBA and PCOMM. To work
around this, use the new environment variable ES_3270_REMOVE_NULL_COLOR_ATTRIB. Set
ES_3270_REMOVE_NULL_COLOR_ATTRIB to y or Y to prevent the color attribute set to null from
being sent in a 3270 flow.
3176924 (1115831)
• The MQ XA switch modules now supports the BATCHONLY option.
3173781 (1115552)
• Previously, xwbauth user exit was not invoked if URIMAP path was greater than 64 characters.
3173349 (1115514)
• When a region was configured to use Extended User Storage, the associated memory was not
registered with MFPM. This resulted in issues when using GETMAIN SHARED from a program
compiled with the AMODE directive.
3173307 (1115549)
• casout will no longer crash when using the /v option and there are more than 256 initiators/batch
printers/mprs.
Information for approximately 1300 processes can now be returned. If more than that exist, then casout
will return as much as it can and set return-code to 4.
This may be caused by schedulers using the entry point 'casout_getSEPS'. This can be called after
using the casout API with the /v option. The signature for this entry point is:
entry 'casout_getSEPS' using lk-casout-area.
lk-casout-area is defined in casbout.cpy but can only hold information for up to 256 processes. If there
are more than 256 processes then a call to this entry point will return truncated data (that is, 256
instances) and set return-code to 4.
Since casout /v can now return data for more than 256 processes, a new optional parameter, which is a
pointer, has been added to casout_getSEPS:
entry 'casout_getSEPS' using lk-casout-area lk-casout-user-area-ptr.
If there is data for more than 256 processes, then this pointer will be set to the address of the entire
block of data.
3171604 (1115376)
• Transaction routing requests from the same terminal to an ISC connected region involving a DPL
request to an APPC connected SYSTEM now execute successfully.
3170073 (1115270)
• Transactions with a timeout that was running over midnight were timing out prematurely at midnight.
3169194 (1115144)
20 | Resolved Issues
• Event manager exits that are enabled for SEP termination events are now invoked when a SEP, Initiator,
MPR or a printer is stopped cleanly (from ESMAC and casout) and not just when they are killed.
3168159 (1115051)
• The cursor position is now correctly identified when using floating maps - a map on top of another map.
3166543 (1114958)
• If created from a previous run, cas_ipcs.lst and cas_ps.lst will now be deleted at the next region startup.
3165807 (1114872)
• In a heavily loaded Enterprise Server cluster, it was possible for jobs to be dispatched to a printer
process instead of to a batch initiator. This would result in the job's lock being permanently held and
prevent further submission of jobs of that name.
3162806 (1116082)
• When Enterprise Server activates an LU62 connection to the mainframe or to another APPC linked
system, you can now leave the modename to SPACE. This indicates that the remote side of the APPC
connection should use an elected default modename.
3162296 (1114713)
• The position of a cursor on a map which size is different from that of the terminal size was incorrect.
This has been fixed.
3158745 (1114273)
• In an ESM secure region, when the userid field in a terminal definition was populated, there were issues
at region startup or when trying to install the TERMINAL resource.
3158468 (1115137)
• The environment variable ES_DDBG_PORT_RANGE now supports ports that include less than five
characters.
3158205 (1114237)
• With ES_XA_NB_RETRIES=-1 specified, Enterprise Server would leak SHM if the connection to the XA
RM was lost.
3158011 (1114246)
• An issue where a region would take too long to start up and eventually fail to start has been resolved.
3153774 (1113875)
• Return codes from file operations on the spool files are now displayed correctly when there is an error.
3153516 (1113882)
• When Data File Editor accesses files managed by an enterprise server region, users now need
UPDATE permissions in order to access the file exclusively.
3152798 (1113831)
• When connecting a TN3270 to an Enterprise Server instance, if the connection was lost, the printer
could not be reconnected. Now you can navigate back to ESMAC, then Clients, and stop the printer in
order to reconnect it after a loss of the connection.
3142113 (1112847)
• Formatting a trace that was captured during the period when the clocks went back an hour will now
format the entire trace. Previously, the formatter would exit at the point when the clocks changed.
2876312 (1106883)
• An issue with exporting PCT resources has been resolved.
• Enterprise Server, LDAP-based security: The use of Active Directory groups, or other group classes
that specify membership using LDAP Distinguished Names, now works correctly when the "user ID
attribute" configuration option is also used.
3187284 (1116696)
Resolved Issues | 21
• The Enterprise Server External Security Facility (ESF) now strips leading and trailing whitespace from
the user ID and other relevant fields in Verify (user authentication) requests.
3185569 (1116548)
• For Enterprise Server LDAP-based security, recent fixes to group processing exposed an issue when
multiple LDAP repositories are used and all-groups mode is enabled. This could cause some or all of a
user's group memberships to be disregarded, leading to incorrect denial of access to resources. The
problem has been corrected.
3182724 (1116269)
• Enterprise Server's MLDAP ESM Module now supports setting LDAP passwords using salted
SHA2-512 hashes. Otherwise known as the SSHA512 LDAP password type.
3178540 (1116077)
• In Enterprise Server with LDAP-based security where a security configuration uses two or more LDAP-
based Security Managers, and use-all-groups mode and group federation are enabled, in some cases
group membership was not processed correctly. Messages about "configured number of groups
exceeded" could be logged. This issue has been resolved.
3178071 (1115917)
• With certain Enterprise Server security configurations, the Data File Editor could display a "signon
failed" error when attempting to edit a dataset. This has now been fixed.
3177366 (1116022)
• The cache feature of the Enterprise Server External Security Facility now ignores some metadata when
comparing requests with cache entries. This is configurable. By default, the subsystem (CICS, JES,
etc.) and facility (terminal name, if any) are ignored. No ESM Modules supplied with the product use
that information in making security decisions. This significantly improves the cache hit rate and system
performance in some environments. See "Enabling and Configuring Caching" in the product
documentation for more information.
3172719 (1115513)
• When using LDAP-based security for Enterprise Server with an OpenLDAP-based provider (client)
library, the "connect timeout" setting now works correctly.
3172554 (1115522)
• When using Enterprise Server with LDAP-based security, it is now possible to specify an LDAP attribute
for user-group objects which specifies an alternative name for the group using the group short name
attribute. See "MLDAP ESM Module Custom Configuration Information" in your product Help for more
information.
3171437 (1115364)
• Enterprise Server LDAP-based external security no longer experiences a rare failure ("error code 7")
when verifying a user with advanced group processing options enabled.
3168197 (1115048)
• LDAP-based security for Enterprise Server could produce MD5 password hashes (using the
"mode=bind" and "password type=MD5" configuration option; note this is rarely used) which did not use
the canonical Base64 encoding. Some LDAP servers did not recognize these password verifiers,
resulting in sign-on failures after users changed their passwords. This has been fixed.
3162441 (1114843)
• In Enterprise Server, the MLDAP ESM Module now supports the short-to-long username mapping
option of the External Security Facility (ESF).
3160464 (1114394)
• Enterprise Server now includes LDIF (LDAP Data Interchange Format) files suitable for configuring
LDAP-based security using the OpenLDAP server.
3147666 (1113475)
22 | Resolved Issues
• Enterprise Server's optional LDAP-based security (External Security Facility with MLDAP ESM Module)
now supports the Microsoft "group" LDAP class, as used by Active Directory and AD/LDS. Consult the
online product Help or ask Micro Focus Customer Care for additional information.
3109881 (1110084)
• An issue which resulted in the DELETE and DETAILS button staying disabled in the casrdo45 page has
now been fixed.
3181230 (1116351)
• Previously, when viewing cataloged datasets or Spool files in ESMAC, it was not possible to view any
lines beyond line 99,999. Now the limit for the START field in ESMAC has been increased to hold any
number up to 99,999,999.
3181032 (1116152)
• An RTS error 153 occurred when more than 6400 PCT entries were displayed in ESMAC. This has
been fixed.
3167388 (1115007)
• With some specific LDAP configurations there were problems with accessing datasets from ESMAC
where the configuration should have allowed access. This has now been fixed.
3167364 (1114989)
• The response time for catalog searches using 44 character strings in ESMAC has been improved.
3162969 (1114933)
• Remove locks is now enabled if the user has authorization in ESMAC.
3157534 (1114372)
• Deprecation of set-cookie meta tag in newer versions of some browsers such as Chrome or Microsoft
Edge caused issues with the cookies used by ESMAC. This has now been resolved.
3154175 (1113973)
• The esfadmin command-line utility now allows command-line and option-file parameters of any length,
up to the maximum command-line length of 8192 bytes. All esfadmin parameters can appear in the
option file except -o (which specifies the name of the option file).
2881372 (1107519)
• When using Enterprise Server with LDAP-based security, with two or more LDAP External Security
Managers, with the use-all-groups mode enabled, and with federation either enabled or in compatibility
mode (the default), it is no longer necessary to have a definition for each user in each LDAP ESM.
Specifically, once one LDAP ESM has identified the user, subsequent ESMs (those specified later in the
list of security managers) can specify additional groups for that user without having to define the user
again. For example, a security configuration specifies two LDAP security managers, LDAP-A and LDAP-
B. LDAP-A contains only user records. LDAP-B contains only group records and resource access rule
records. All-groups mode and federation are enabled. This configuration now works as expected.
2545079 (1081762)
• xa_open in the switch module now returns the correct return-code.
3171133 (1115386)
• The path of ESDB2XA switch module is not required in the environment variable LD_LIBRARY_PATH
when the application is compiled with XAID option and the dynamic switch module is used.
3164301 (1114734)
• Within the DB2 LUW switch module, issues associated with ESLOGGING xa_open string parameter
have been addressed, and better handling of impersonated userid when using USERP has been
provided.
3156639 (1114209)
Resolved Issues | 23
Data Tools
Back to the list
• The cursor is now visible in the free-text editing pane when the pane has focus whether it is in Shared
or Exclusive mode. The cursor position will start counting from column 1, rather than column 0 as well.
3154869 (1113954)
• On systems with a Japanese Locale, the Data File Tools utility no longer includes the phrase "Technical
Preview" in its title.
Database Connectors
Back to the list
• The compiler recognizes a new XFD directive that names an identity column. A Database Connectors
interface is free to use this information to optimize access to a particular row of a table. Instructions for
use:
The directive can be used on a numeric field, and has the following format: XFD IDENTITY-COLUMN.
If the directive is used on a non-numeric field, a warning will be displayed and the directive ignored.
If the directive is used on more than one field of a file, all but the first will be ignored, and a warning
issued.
This directive should only be used once per file, though no warning will display if you specify it multiple
times. Behavior in this case is undefined.
The directive should not be used on a KEY field, though no warning or error will be issued if you do this.
3184559 (1116426)
Debugging
Back to the list
• The COBOL debugger could fail to determine the correct line to highlight in certain situations such as
'stop run', when run in the Docker environment on Windows.
• It is now possible to debug a minidump from an Enterprise Server environment, in Visual Studio.
3142342 (1113099)
Dialog System
Back to the list
• An issue which prevented character mode Dialog System from recognizing ctrl-J and other key
combinations has been resolved.
3189921 (1116908)
Documentation
Back to the list
• The documentation for the compiler option -rc has been updated.
3184345 (1116419)
• Result precision has been added to the following built-in functions topics in the LRM: INDEX,
MAXLENGTH, SEARCH, SEARCHR, VERIFY, VERIFYR.
3183332 (1116336)
• The product help now includes a clarification in the topic "To run a native COBOL application from a
network server". It states that you must remove any individual copies of run-time system modules (for
24 | Resolved Issues
example, cblrtsm.dll) that might have been copied into your application’s working directory. This is to
avoid issues with running the application such as "245 no valid licenses found" as the run-time system
is not loading from the expected location, or where the copied run-time modules are from other versions
of the product versions. Removing such modules ensures that any run-time system modules are only
loaded from the Enterprise Server instance installed on the server.
3176098 (1116309)
• The Database Connectors for MSSQL publication now includes a full set of configuration options, and
installation details.
3173722 (1115542)
• Depending on the environment, you need to export (UNIX) or set (Windows) environment variables in a
script. See “To specify environment variables for an application” for more information.
3164533 (1116625)
• The product help now lists some additional requirements when running .NET COBOL applications from
a network server. Your workstations must have the Microsoft .NET Framework version 4.5.2 or later and
the Microsoft Visual C++ 2017 Redistributable Runtime installed.
3161217 (1114487)
• The documentation now includes the instruction that when deploying a subset of Run-time System files,
you must include run.cfg in a sub-directory named 'etc'.
3160902 (1114441)
• The syntax example, listed in the documentation for the ILPARAMS Compiler directive, has been
corrected.
3154632 (634308)
• When performing a sort that specifies more than one input file, you cannot specify one of those same
files as the output file unless it is the first input file specified.
3153333 (1113833)
• Details of how to use ILBOABN0 have been added to the documentation.
3148996 (1113634)
• The "Tutorial: Creating and Accessing WCF COBOL Services" in the product help has been updated.
3125963 (1114011)
• The documentation (in the COBOL Language Reference) has been updated to clarify the use of the
OPTIONAL keyword, and the use of (managed) optional parameters within the Procedure Division
Header.
2883545 (1107792)
• The National Locale Support (NLS) Library Routines section of the documentation now contains all
available NLS routines.
• The Significant Changes in Behavior section of the documentation now includes the default change for
FASTINIT. (This change occurred in version 3.0, as stated in the release notes on release.)
• The documentation has been improved for the CBL_LOCATE_FILE library routine concerning the use of
space- and null-terminated strings.
• The Rebuild syntax differs between UNIX and Windows platforms. For any of the Rebuild options, UNIX
platforms use a hyphen (-) prefix before the letter, and Windows platforms use a forward-slash (/) before
the letter.
• The recommended method of high availability for VSAM files in Enterprise Server is to use standalone
Fileshare. The documentation has been changed to reflect this.
• The documentation has been updated to reflect that 'DEFAULT' is a reserved word when running under
an ENTCOBOL dialect.
• In the documentation, the code example given in the 'Thread-specific Data Handling Routines' topic
now compiles cleanly.
Resolved Issues | 25
• The called program search order, as documented in the 'Backward Compatibility' section of the
documentation, has been corrected for Windows platforms.
• The parameter definition for OOCTRL"+/-W" has been clarified in the documentation.
• A link to the IBM documentation added to the 'DSNRLI Functions used for RRSAF' topic - this is to
enable you to locate full details on required parameters, and to give examples of its use.
3184952 (1116524)
• The documentation now states that the section heading when adding environment variables through the
Enterprise Server UI is case sensitive.
3177135 (1115979)
• The documentation explaining the scope for the HOST-NUMCOMPARE directive has been simplified.
3156368 (1114075)
• The "To specify the location of application files" topic has been updated to clarify the location of IMS
copybooks.
3111136 (1109993)
• Documentation for all Java API classes is now provided in HTML format and contained in an archive file
located by default in the %ProgramFiles(x86)%\Micro Focus\<product name>\javaee-ccl\docs directory.
See the Java API Classes topic in your product documentation for details.
3109273 (1109725)
• Documentation for all Java API classes is now provided in HTML format and contained in an archive file
located by default in the %ProgramFiles(x86)%\Micro Focus\<product name>\javaee-ccl\docs directory.
See the Java API Classes topic in your product documentation for details.
3109271 (1109724)
• The sample code listed in the CBL_DIR_SCAN_READ documentation has been formatted to enable
you to copy and paste the code, ready for compilation.
• The sample in the documentation on 'Using FHRedir and an allocation override rule' has been corrected
to show the spool filenames in their correct case (upper case).
• The documentation now includes a definition for the system abend code S913 (which is "Security
Violation - the user is not permitted to access the resource").
File Handling
Back to the list
• Under certain circumstances, opening a sequential file in the editor could result in the editor throwing an
exception during close-down. This has now been resolved.
3145420 (1113132)
• Warning messages when checking disk space for Fileshare advanced logging are now only displayed
when necessary. Previously, a disk space warning was given even if sufficient space was available.
3174510 (1116078)
• A Fileshare server shutdown no longer leaves files opened or users remaining logged on.
2837526 (1108076)
26 | Resolved Issues
• CFLE updating large record no longer results in an RTS252 error with the HA-VSAM configuration.
3167973 (1115057)
• You will no longer receive an RTS114 error when a failing primary node is restarted and attempts to re-
join the HA group (as a standby node), as long as it closed all files successfully before the failure.
3159872 (1114360)
• Rollback recovery will no longer hang when processing a bad log entry during a scan of the transaction
log file.
3168055 (1115049)
• A new MFJSORT option allows input LSEQ files to be treated as FB through setting the environment
variable MFJSLSEQFB=ON.
3190089 (1116876)
• SORT operations no longer compare field data that is outside of the current record length.
3187044 (1116633)
• MFJSORT now ignores the RECORD TYPE value if the SORTIN dataset is non-VSAM.
3163293 (1114669)
• During a SORT, the SUM statement now correctly handles 8-bytes BI fields.
3161349 (1114540)
• An internal SORT program no longer returns a COBRT252 error for cataloged files when being
compiled with AMODE"31" and dialect"entcobol".
3161100 (1114586)
• SORT no longer produces an RTS114 error when both outfil and sortout datasets are not defined.
3154290 (1113901)
• MFJSORT now correctly honors MFJ_INPUTDS_ERROR=N on missing physical concatenated
datasets.
3153313 (1113826)
• MFJSORT OUTREC now applies the correct length for EDIT patterns.
3145526 (1113484)
IDE
Back to the list
• The ASP.NET code-behind files are now updated correctly when the web form is changed.
3183873 (1116358)
• The Show Console Log menu item in Server Explorer now works correctly for servers in which the
'Configuration information' property is larger than 1024 characters.
3182582 (1116297)
• An issue where a project build could fail due to a locked IDY file after debugging managed code that
contains partial classes has been fixed.
3180008 (1116114)
• The on-demand code analysis now works correctly with SQL programs.
3179276 (1116015)
• 'Go To All' now correctly returns module names in programs which use a mainframe dialect.
3178541 (1115978)
• The quick action "Extract the selected code to a new section" now creates a new section positioned
before any comments that belong to the following section.
Resolved Issues | 27
3178510 (1115955)
• Copybooks are now expanded correctly when debugging mainframe programs that are not part of a
project.
3173323 (1115554)
• The resource editor now correctly generates resource entries for image files that contain spaces.
3171165 (1115424)
• There is a new Visual Studio setting in Tools > Options > Micro Focus > Projects, Restore error
messages on project load. When enabled, it helps to restore the contents of the Error List and the icon
overlays from the previous IDE session for that project.
3169606 (1115197)
• When selecting a copybook from the IntelliSense list, the format of the copybook name to insert in the
code is determined by the COBOL dialect of the source file.
3169303 (1115196)
• The "Preview Changes - Determine Directives" dialog box no longer lists the "Set NOSQL" option when
the option has not previously been set.
3168960 (1115481)
• Group items are now always colored red when referenced by name.
3166449 (1114920)
• A UNC path can now be specified as the output path for a COBOL project.
3166250 (1114929)
• Information in columns 1-6 of a copybook which is included in a program using COPY... REPLACING is
now displayed when the copybook is expanded. When using the 'Find' command, the copybook must be
expanded in order for the content to be found.
3163453 (1114687)
• A new Visual Studio setting enables you to specify whether the current file and its dependent copybooks
are saved when compiling a standalone program. You configure this in Tools > Options > Micro Focus >
Standalone Editing and on the General tab - check "Save dependent copybooks".
3162731 (1114627)
• Level 88 data items that have been referenced are now colored correctly in the editor.
3162191 (1114602)
• An issue causing Visual Studio 2017 to freeze when opening a solution has been resolved.
3161848 (1114537)
• It is now possible to use the COBOL Visualizer window to modify alphanumeric data items while
debugging. The visualizer preserves null bytes which the standard visualizers do not support.
3156794 (1114109)
• The QuickInfo logic has been improved to search for the best matching item when the user is hovering
over an ambiguous "redefines" item.
3154020 (1113951)
• The Net Express Project Import wizard in Visual Studio now successfully imports projects that contain
control characters in the project's properties.
3151911 (1113692)
• Saving the settings in Visual Studio now updates the project's settings file.
3151311 (1113848)
• When debugging COBOL programs, you can now use a COBOL Visualizer in addition to the standard
Visual Studio visualizers when querying data COBOL data.
3136410 (1112316)
28 | Resolved Issues
• The progress dialog displayed when creating or starting a temporary server now includes a Cancel
button.
• The Command Line tab in the properties of a COBOL file now displays the correct information when
"Set explicitly no SQL" is enabled for the file.
• When debugging Enterprise Server applications loaded in Visual Studio in Open Folder mode, the IDE
no longer prompts for a program path.
• Opening COBOL files that are not present in a project could crash Visual Studio (versions 15.8 and
newer).
• IntelliSense in .xaml files is now supported for COBOL WPF applications.
• Any changes to the settings in Tools > Options > Micro Focus > Enterprise Server are now saved
correctly.
• The ASP.Net Web Application project template is only supported with versions of the .NET Framework
4.0 and later. With versions of the .NET Framework 2.0 to 3.5 SP1, you can only use the Empty
ASP.Net Web Application project template.
• In Visual Studio 2017, attempting to debug managed code with expanded copybook view disabled
would cause the debugger to crash.
• Expanding a debugger data tip while debugging .NET COBOL code in Visual Studio 15.8 or newer
could crash the IDE.
• Viewing the Micro Focus Code Analysis properties for a project no longer causes the project file
contents to change.
• All elements in a group item can now be displayed in the Watch or Autos windows when debugging.
Licensing
Back to the list
• cesadmintool.sh now searches for " version" string in the Java version and ignores any additional output
that might appear.
3185425 (1116559)
• In Docker environments, the license administration program, MFLicenseAdmin, now copes with longer-
than-usual license strings. These occur with longer pieces of customer information embedded in the
license.
3174371 (1115634)
• There is no longer an entry in the Uninstall column for licenses installed on remote machines.
3131570 (1112101)
Resolved Issues | 29
configured, MFCC will use an anonymous bind, as it did in earlier product versions. Credentials are
specified using the mf-client.dat configuration file.
30 | Resolved Issues
OpenSSL
Back to the list
• Visual COBOL, Enterprise Server, and Enterprise Developer now include an updated collection of
public Certification Authority root and intermediate certificates (CARootCerts.pem) derived from the
public collection maintained by Mozilla.org.
Run-Time System
Back to the list
• Under certain circumstances, if a file was opened multiple times and an error occurred, then any
physical locks on the file could be lost.
3177819 (1116043)
• In a threaded environment, when using critical-sections and simultaneously loading/unloading shared-
objects, a race condition would sometimes create a deadlock. This no longer occurs.
3177711 (1116154)
• The use of the P(COBSQL) Compiler directive in a Visual Studio or Eclipse project no longer causes the
IDE to crash intermittently at termination.
3133807 (1112077)
• The COBRT243 Class could not be loaded error message now contains the name of the class that
could not be found.
3104988 (1109420)
• Calls to CBL_MEM_VALIDATE might not have given the full memory corruption details if the corruption
occurred in freed memory. This is now fixed.
• When using the Character Animator, you can enter Ctrl+C to interrupt the running process you are
debugging. This would sometimes fail to stop the running process, but should now behave as expected.
• When setting the out-length parameter of the CBL_STRING_CONVERT API to zero in order to get the
size of the buffer required for the conversion, the API no longer fails with a ArgumentNullException
when running on the .NET environment. Under JVM COBOL, this API no longer corrupts the output
buffer if the output length has been set to 0.
Setup Issues
Back to the list
• The Data File Tools AddPack can now be installed alongside Enterprise Server.
3158290 (1114230)
• The installer error handling has been extended to cater for certain conditions.
3152023 (1113706)
SQL: COBSQL
Back to the list
• COBSQL now handles "ELSE EXEC SQL" correctly when it is all on the same line in the source file.
3176046 (1115778)
• The XAID option did not work properly for COBSQL when CHARSET(EBCDIC) was used.
3174070 (1115697)
• A compilation error that was caused by the COBSQL preprocessor incorrectly handing sections
declared inside of a copybook has been fixed.
3164533 (1116863)
Resolved Issues | 31
• An unreadable copybook caused COBSQL to loop when stacked with the CP preprocessor. This has
been fixed.
3156374 (1114103)
• An unreadable copybook caused COBSQL to loop when stacked with the CP preprocessor. This has
been fixed.
3156374 (637041)
• An issue that caused a compilation error when COBSQL encountered inline comments in an EXEC
SQL statement has been fixed.
3123025 (1111044)
• COBSQL messages have been updated to provide more information when failure is due to a missing list
file, and when the list file is missing due to use of the LTYPE=NONE directive.
2883514 (624749)
• To prevent exceeding the COBSQL directive buffer size, the maximum directive buffer size has been
increased to a maximum of 8000 characters.
2852872 (1104084)
• To prevent hanging or a compilation error, COBSQL has been updated to properly handle conditional
statements in the same line as EXEC SQL statements.
2804004 (1097225)
• An issue that sometimes caused SQL error text to display as truncated on the command line has been
fixed by increasing the maximum error length to 250 characters, and updating the logic used to
construct the message.
• An issue that caused an error when a space was present between an END-EXEC statement and a
period has been fixed.
• The COBSQL precompiler interprets the SOURCETABSTOP COBOL compiler directive as
SOURCETABSTOP(8) in all cases. This is due to Pro*COBOL honoring only SOURCETABSTOP(8),
and is a permanent restriction for COBSQL.
SQL: DB2
Back to the list
• An optional 'FROM' keyword in SQL statements such as 'FETCH FROM <cursor-name>' used to cause
compiler errors.
3191635 (1116976)
• There is no longer an issue with negative line numbers being generated in the .bnd file when the
COBOL source file has more than 32700 lines of code.
3188178 (1116814)
• An issue with the DB2 preprocessor caused it to incorrectly classify PL/I variables greater than 4000
bytes as LONG VARCHAR when it should have classified PL/I variables less than 32767 bytes as
VARCHAR as it does for COBOL variables. This has been fixed.
3185976 (1116539)
• The DB2 pre-compiler incorrectly generated a compile error when hyphen was used in SQL command
without a space between the hyphen and host variable name. This has now been fixed.
3180089 (1116102)
• DB2 LUW now supports dashes in cursor names, so the DB2 pre-compiler no longer changes dashes
to underscores in cursor names.
3177271 (1115912)
• The DB2 pre-compiler incorrectly passed COBOL variable names to PL/I programs when generating
code to handle EXEC SQL SET CURRENT PACKAGE PATH statements.
3175885 (1115744)
32 | Resolved Issues
• The DB2 and OpenESQL pre-compilers now qualify generated code that uses SQLSTATE to qualify
SQLSTATE similar to this one: SQLCA.SQLSTATE.
3173295 (1115512)
• An issue that caused the DB2 preprocessor to incorrectly reject FILLER as a valid host variable name in
PL/I programs has been fixed.
3164600 (1114767)
• An issue that occurred with user personalization on user names exactly eight characters long has been
resolved.
3156639 (1114163)
• When a DBCS database is used with CHARSET(EBCDIC), the data of a char field following a varchar
field will no longer be corrupted.
3155499 (1114065)
SQL: OpenESQL
Back to the list
• JDBC now returns SQLCODE=+1 when the fetched value is NULL and NULL indicator is not used.
3191192 (1116953)
• Decimal value is now inserted correctly into Oracle DB when DECDEL=COMMA is set.
3189836 (1116947)
• An issue that caused performance degradation when using a STATIC cursor has been fixed.
3185894 (1116518)
• The OpenESQL run-time now handles the compiler directive SQL(NOAUTOFETCH) correctly.
3177780 (1115994)
• OpenESQL has been updated to provide cobrhcedsn64.so for 64-bit only platforms.
3174065 (1116801)
• HCOSS now accepts FOR READ ONLY clauses in cursors before FETCH FIRST clauses. This is
undocumented behavior for DB2 z/OS but HCOSS now supports it to ensure mainframe compatibility.
3173586 (1115528)
• An issue where WITH HOLD cursors could remain open after an IMS transaction had terminated for
SQL Server, ODBC and PostgreSQL XA resources has been fixed. SQL(NOCHECKDUPCURSOR) can
now be used to override duplicate cursor checking when SQL(DIALECT=MAINFRAME) is used.
3172382 (1115430)
• A new SQL directive [NO]ALLOWSERVERSELECT supports server-specific SELECT statements that
are not recognized by OpenESQL as valid ESQL SELECT ... INTO statements. This behavior was the
default in Net Express.
3165092 (1114866)
• An issue that caused the OpenESQL runtime to incorrectly handle binary parameter markers for PIC
X(n) VARYING host variables has been fixed.
3163759 (1114719)
• The SQL Directives dialog box that appeared for .NET project types in the Visual Studio IDE
erroneously omitted the SQL(HSFTRACE) option for DBMAN=ADO. This has been fixed.
3162428 (1114593)
• Data type information that was incorrectly mapped by the OpenESQL Assistant caused it to display
column information improperly when using an IBM DB2 ADO.NET provider connected to a DB2 z/OS
data source. This has been corrected.
3161285 (1114478)
Resolved Issues | 33
• An issue that occurred when the SQL BEHAVIOR compiler directive option was set to UNOPTIMIZED
caused the OpenESQL runtime to generate an RTS 114 error when the COBOL application exited. This
has been fixed.
3158065 (1114288)
• Problems with SQL Server and PostgreSQL that surfaced when working with large binary columns have
been fixed.
3156215 (1114335)
• An issue that caused the OpenESQL preprocessor to generate an incorrect error message when
SQL(DBRMLIB) was not set prior to specifying SQL(VERSION) has been fixed; the OpenESQL
preprocessor now generates the correct error message.
3155275 (1114004)
• SQL FETCH ABSOLUTE CURSOR was not returning rows. A COMP position value is now supported in
the SQL FETCH ABSOLUTE/RELATIVE statement and it behaves as expected.
3153738 (1113903)
• An issue that prevented HCOSS from correctly handing IS [NOT] DISTINCT predicates has been fixed.
3152630 (1113764)
• An issue that caused HCOSS to incorrectly apply QUALIFIERs to common table expression names has
been fixed.
3152008 (1113714)
• The DSNRLI function SWITCH TO is now supported for Enterprise Server Mainframe Subsystem
applications using DB2, Microsoft SQL Server, and PostgreSQL.
3151779 (1113680)
• An issue that caused HCOSS to incorrectly handle FETCH FIRST ROW ONLY when no literal row
count was present has been fixed.
3151398 (1113734)
• An issue that caused the OpenESQL runtime to execute a core dump on exit when the
MEMORY_STRATEGY tunable was set has been fixed.
3142107 (1113077)
• A program that contained zoned decimal host variables used in SQL statements and compiled using
charset(EBCDIC) and dialect(MF) sometimes caused a run-time error. This has been corrected.
34 | Resolved Issues
• XDB Link has been updated to support the invocation of stored procedures that return multiple result
sets on z/OS DB2.
3168036 (1115315)
• A memory leak in DRDA Continue Query Reply Message processing has been fixed.
3160580 (1114426)
• An issue that prevented XDB Server configuration from allowing the full length of 16 characters in the
Global Security Location text box has been fixed.
3168821 (1115106)
• An issue with SQL step processing related to CASE expression evaluation that caused the SQL
COALESCE scalar function to return the wrong result has been fixed.
3160595 (1114413)
• Support has been added for the SOUNDEX() and DIFFERENCE() scalar functions.
3155733 (1114043)
• An issue that caused a buffer overflow when processing a very large UPDATE WHERE CURRENT OF
in the XDB Link has been resolved.
3151725 (1113807)
• An problem with XUTLB (XDB emulation of DSNUTILB) erroneously reporting an invalid isolation level
has been resolved.
3134586 (1112183)
• An issue with join optimization using differing lengths of DECIMAL data has been resolved.
3131870 (1111903)
• An issue with a scalar query using a DATETIME value returning an error indicating that the value was
invalid has been resolved.
3129637 (1111872)
• An issue with Query Descriptor mapping when performing XDB Server to Server connectivity has been
fixed.
3112564 (1110514)
• An issue with an uninitialized stack space causing a thread abend in XDB SQLDA code page
processing has been fixed.
2990360 (1108708)
XML Support
Back to the list
Resolved Issues | 35
• XML PARSE now handles "WITH ENCODING" clauses correctly.
3175231 (1115707)
• Data within the CDATA tag is now processed by the managed XML syntax support run-time.
3166588 (1114954)
• XML PARSE did not handle lengthy CONTENT-CHARACTERS correctly which caused the event to be
returned twice.
3162231 (1114582)
• Literals positioned beyond column 72 in the editor are now being handled correctly and compile without
any issues.
3152550 (1114087)
36 | Resolved Issues
Other Issues Resolved in This Release
The numbers listed are the Support Incident Numbers followed by the Reported Problem Incident (RPI)
number (in parentheses).
Unsupported Functionality | 39
Installation
Before Installing
On Windows
System Requirements
Hardware Requirements
Visual COBOL has the following requirements in addition to the requirements of Microsoft Visual Studio.
See the Visual Studio documentation for details of the Microsoft requirements.
The maximum disk space requirements are, approximately:
1.2Gb 75MB
• This includes the space needed to cache information locally so that you can modify the installation
without the original source media.
• The disk space requirements include the versions of JRE and .NET Framework supplied with the setup
file.
Software Requirements
The setup file will check your machine for whether the prerequisite software is installed and will install any
missing prerequisites and the product components. A supported version of Microsoft's Visual Studio must
be installed in advance.
40 | Installation
Note:
• Besides the software listed below, the setup file also installs the 64-bit AdoptOpenJDK's OpenJDK
8 (u202) with Hotspot.
• This product includes OpenSSL version 1.1.1b.
Professional, Enterprise or Community Edition (for Visual Studio 2017) - see the next section for the
Visual Studio components you must install.
Professional, Enterprise or Community Edition (for Visual Studio 2019) - see the next section for the
Visual Studio components you must install.
Installation | 41
3. Start the Visual Studio installation.
Use the Quick Launch control in Visual Studio:
1. Start Visual Studio.
2. Type the name of the feature in the Quick Launch control - for example, type ASP.NET or Help
Viewer.
A drop-down list with any features matching your search string appears. If the feature is not already
installed, one of the search results will be an option to install it.
Use the Install Missing Feature(s) command in Visual Studio:
1. Start Visual Studio.
2. Click Help > Micro Focus Product Help > Install Missing Feature(s) > Feature Name.
Follow the instructions in the installer to install the missing feature.
3. Alternatively, if a Micro Focus project template requires a Visual Studio feature which is not currently
installed, the IDE displays an information bar with instructions to install the feature.
Other Requirements
Important: For local servers, you do not need to install the Micro Focus License Administration tool
separately, as the setup file installs a new Visual COBOL client and a new licensing server on the
same machine.
If you have a network server, you must update the license server before installing the product as the
client is not able to communicate with license servers of versions older than 10000.2.660. On
Windows, you can check the version of your license server by clicking Help > About in the Micro
Focus License Administration tool.
If Micro Focus License Manager version 10000.2.02070 or older is installed, it must be uninstalled
before the product installation or upgrade can continue.
You can download the new version of the license server software from the Micro Focus SupportLine
Web site: http://supportline.microfocus.com.
Integrated Development Environment Visual Studio 2017 (the earliest supported version is
15.9.4).
Visual Studio 2019 (the earliest supported version is
16.1).
.NET framework, .NET Core All .NET framework versions supported
.NET Core 2.1
Java application servers Tomcat 9.0
JBoss EAP 7.1
Oracle WebLogic 12c R2
IBM WebSphere 9.0
Relational databases Oracle 12c R2 and 18c
42 | Installation
Software Requirements
Product Co-Existence
• Visual COBOL and COBOL Server cannot coexist on the same machine.
• Visual COBOL and Enterprise Developer cannot coexist on the same machine regardless of which IDE
(Visual Studio or Eclipse) you install.
Basic Installation
The instructions in this section apply when you are performing a basic installation of this product for the
first time. If you are an administrator, you can perform a basic installation on a local machine before
performing a more advanced installation when rolling out the product to developers within your
organization.
For considerations when installing this product as an upgrade, for additional installation options or non-
default installations, see Advanced Installation Tasks in your product Help.
Installation | 43
Installing
Note:
• This version of the product is a full install.
• See Before Installing first for important information. Also, see Installing as an Upgrade, if you have
an earlier version of Visual COBOL installed on your machine.
To install this product:
1. Run the vcvs2017_50.exe file (or vcvs2019_50.exe) and follow the wizard instructions to install
the prerequisite software and the product.
Note:
• If you are installing onto a machine that has an existing Micro Focus product that uses an older
Sentinel RMS License Manager, you might be prompted to remove it and install the Micro Focus
License Administration. By doing this you maintain the existing Sentinel RMS license files while
adding the Micro Focus License Administration. If you are unsure about existing licenses on your
computer or removing the Sentinel RMS License Manager, consult your System Administrator. If
you want to proceed, remove Sentinel RMS License Manager by using Program and Features
(Windows Vista or later), and rerun the installation file.
• Trial licenses cannot be used with remote desktop services. If you want to use your product in this
way, please contact Micro Focus SupportLine to obtain a relevant license.
• We recommend that you install any updates for Visual Studio and the .NET Framework that are
available at the Microsoft Download site.
• If you install JDK you might be prompted to install the latest update. The latest update is not
required for use with Visual COBOL but you can install it if you wish.
On Windows
Installing as an Upgrade
Installing this release as an upgrade will automatically uninstall any Patch Updates of the older version of
the product you have installed on your machine.
• Before installing this release as an upgrade, ensure you create a back-up of your Enterprise Server
configuration. To do this, on the Enterprise Server Administration home page, click Export and then
select Export Enterprise Server configuration and Security Manager definitions. This creates a
backup folder in the c:\programdata\micro focus\Enterprise Developer\MFDS. You can
44 | Installation
restore the Enterprise Server configuration after installing this release - click Import on the Enterprise
Server Administration home page.
• This release can be installed as an upgrade to Visual COBOL 4.0 or 3.0 for Visual Studio 2017.
• Visual Studio versions 2013 and 2015 are no longer supported. It is not possible to upgrade to release
5.0 from Visual COBOL for Visual Studio 2013 or 2015 4.0 or earlier.
vcvs2017_50.exe can take a number of parameters, enabling you to specify a number of different types
of installation:
• Standard Installation
Format:
vcvs2017_50.exe
Summary:
Full installation including License Manager and Visual COBOL. During installation you can specify
options including the location to which the components are installed.
• Non-interactive Installation
Format:
vcvs2017_50.exe /passive
Summary:
Full installation, but the components are installed non-interactively using default options and
directories.
• Silent Installation
Format:
start /wait vcvs2017_50.exe /q
Summary:
Full installation, but the components are installed non-interactively with no user interface, using
default options and directories.
• Modified Silent Installation
Format:
start /wait vcvs2017_50.exe /q InstallFolder=d:\otherdirectory
Summary:
Full installation, but the components are installed non-interactively with no user interface, and Visual
COBOL is installed to d:\otherdirectory.
To see what parameters you can use, execute the following from the command line:
vcvs2017_50.exe /?.
Note:
• Log files that are created during installation are saved in the folder specified by the TEMP
environment variable. To change the location or name of the files, use the /log parameter on your
setup command line and specify the path and file name, for example: filename /log d:\temp
\log.txt. This creates a log file, named log.txt, in the d:\temp directory.
Installation | 45
Installing Visual COBOL into Visual Studio
Visual Studio is offered in different editions, Professional, Enterprise or Community Edition, that can all co-
exist on the same machine. When you install Visual COBOL, its setup file installs it into any edition of
Visual Studio installed on the machine, including Preview versions.
If, after Visual COBOL is installed, you install a different edition of Visual Studio, you can use the
MFVSIXINSTALL utility (available in the Visual COBOL installation directory) to plug Visual COBOL into
that edition.
MFVSIXINSTALL
To install Visual COBOL in all editions of the Visual Studio version that you target (either 2017 or 2019):
1. Locate MFVSIXInstall.exe in %ProgramFiles(x86)%\Micro Focus\Visual COBOL\vsix,
and in in either the VS15.0 (for Visual Studio 2017) or VS16.0 (for Visual Studio 2019) subfolder.
2. Run MFVSIXInstall.exe.
This starts the VSIX Installer utility that will install all the required components into the existing editions
of the Visual Studio version that you target.
3. Click Modify in the VSIX Installer dialog box to start the installation.
4. Click Close when the installation is completed.
You can execute MFVSIXInstall.exe from the command line with different parameters. For example, to
uninstall Visual COBOL from all editions of Visual Studio, execute MFVSIXInstall -u.
For a list of all parameters execute MFVSIXInstall -?.
After Installing
• See Changes in Behavior or Usage in your product documentation and in the Release Notes for
important information about changes in this release that might affect existing applications.
• Check the Product Documentation section of the Micro Focus SupportLine Web site for any updates to
the documentation which might have been uploaded.
On Windows
Starting the Product
You are now ready to run Visual COBOL:
Windows 7 and Earlier • From your Windows desktop, click Start > Visual Studio 2017.
46 | Installation
Windows 8.1 • From your Windows desktop, click the Visual Studio 2017 tile.
Windows 10 and Later • From your Windows desktop, click Start > Visual Studio 2017.
Local help
The local help is not shipped with the installer. If you want to use it, you need to download and install it
manually as follows:
1. Download the local help files:
a. Find the download link in your Electronic Product Download email or in the Product Updates
section on the Micro Focus SupportLine Web site.
b. Expand the archive on your machine. Ensure that the .msha and the .cab files are in the same
folder.
2. Ensure that the Visual Studio Help Viewer is installed:
a. Click Help inside Visual Studio.
If no View Help command is available, you need to install the Help Viewer manually. See Installing
missing components of Visual Studio in Software Requirements for instructions on how to install it.
3. Install the help in the Help Viewer:
a. Click Help > Add and Remove Content inside Visual Studio.
This starts the Microsoft Help Viewer.
b. Click the Manage Content tab and click Disk.
c. Click the browse button next to Disk and navigate to the folder in which you extracted the local help
files.
d. Select helpcontentsetup.msha and click Open.
This loads the Visual COBOL documentation.
e. Click Add and then Update.
After the installation is complete, the Visual COBOL product Help appears in the Help Viewer.
4. Configure Visual Studio to use local help:
a. Start Visual Studio.
b. Ensure that the Visual Studio Help Library is pointing to local help - from the Visual Studio menu
click Help > Set Help Preferences > Launch in Help Viewer.
c. Click Help > View Help.
Installation | 47
This opens the product help in Microsoft's Help Viewer.
For full details of the Visual Studio Help system, see the MSDN.
Note: On some Windows versions such as Windows 8 or Windows Server 2012 or later, an
issue with Microsoft Help Viewer and Internet Explorer's security being turned on can cause the
Help content to be displayed as raw HTML code. To resolve the issue, you need to turn off the
Internet Explorer Enhanced Security Configuration (IE ESC) for both administrators and users.
Check the Microsoft Windows help for more information on how to do this.
Repairing
If any product files, registry settings or shortcuts are accidentally removed at any point, you can perform a
repair on the installation to replace them.
To repair your installation on versions of Windows Vista or later:
1. From the Control Panel, click Uninstall a program under Programs.
2. Right-click your Micro Focus product and select Repair.
Uninstalling
To uninstall the product, you cannot simply delete its files from your hard disk. To uninstall the product:
1. Log in with the same user-ID as you used when you installed the product.
2. Click Uninstall a program under Programs in Control Panel.
3. Select the product and click Remove or Uninstall as appropriate.
When you uninstall, the only files deleted are those that the installation software installed. If the product
directory has not been removed, delete any unwanted files and subdirectories within it using Windows
Explorer.
Note: The installer creates separate installations for Micro Focus Visual COBOL and Micro Focus
License Administration. Uninstalling only Visual COBOL does not automatically uninstall the Micro
Focus License Administration or any of the prerequisite software.
To completely remove the product you must uninstall the Micro Focus License Administration as well.
You can optionally remove the prerequisite software. For instructions, check the documentation of the
respective software vendor.
Some registry entries are not removed by the uninstallation process and you need to manually delete
them.
The following folders might not be removed:
• The Micro Focus Product Name folder in the Start menu - you can delete it manually.
• %systemdrive%\Users\Public\Documents\Micro Focus - includes the binaries and the log
files of the samples which you have built.
• %ProgramData%\Micro Focus - includes some data files used by the Micro Focus licensing system.
• %Program Files%\Micro Focus - you can delete it manually.
To silently uninstall the product, you need the setup file and you need to execute the following at the
command line:
start /wait install-file.exe /quiet /uninstall
In addition, the following registry entries are not removed. These are created the first time that an
Enterprise Server that has been enabled for performance monitoring starts up:
• Micro Focus Server\Performance\Active Servers
• Micro Focus Server\Performance\PerfIniFile
48 | Installation
Licensing Information
Note:
• Personal Edition licensing is only available with Visual COBOL for Visual Studio 2019
• When you activate Visual COBOL Personal Edition, you can use it for a limited period of 365 days.
After this period, you can either register a new Personal Edition license for 365 days or acquire a
valid license either for a 30-day trial or full license of Visual COBOL in order to continue using the
product.
• If you have purchased licenses for a previous release of this product, those licenses will also
enable you to use this release.
• The latest version of the SafeNet licensing software is required. See the Software Requirements
section in this document for more details.
• If you are unsure of what your license entitlement is or if you wish to purchase additional licenses,
contact your sales representative or Micro Focus SupportLine.
Note: If there is no mail client installed on your machine, click next to Send
email, and click Display fields. You will be presented with a template that
includes the email address, the subject and the contents of an email to send to
Micro Focus using a mail client of your choice. Do not modify the details.
You will receive a response email with details about your authorization request.
2. Paste the contents of the response email in the designated field in the Micro Focus
Visual COBOL Product Licensing dialog box.
3. Click Activate License.
Licensing Information | 49
This displays a message confirming your request for authorization has been
successful.
4. Click Close.
Note: If there is no mail client installed on your machine, click next to Send
email, and click Display fields. You will be presented with a template that
includes the email address, the subject and the contents of an email to send to
Micro Focus using a mail client of your choice. Do not modify the details.
2. Send the email.
You will receive a response email with details about your authorization request.
3. Paste the contents of the response email in the designated field in the Micro Focus
Enterprise Developer Product Licensing dialog box.
4. Click Activate License.
This displays a message confirming your request for authorization has been
successful.
5. Click Close.
After activation, you can see how many days your trial license has remaining by selecting Help > Micro
Focus > Product Licensing, or by using Micro Focus License Administration.
50 | Licensing Information
To buy and activate a full unlimited license
To buy a license for Visual COBOL, contact your sales representative or Micro Focus SupportLine.
For instructions on using the Micro Focus Licensing Administration Tool, see Licensing in the Visual
COBOL help.
Windows 7 and Earlier • From your Windows desktop, click Start > All Programs > Micro Focus
License Manager > License Administration
Windows 8.1 • From the Windows Start screen, click the License Administration tile
Windows 10 and Later • From your Windows desktop, click Start > Micro Focus License Manager >
License Administration
Installing licenses
You need either a license file (with a .mflic extension) or an authorisation code which consists of a string
of 16 alphanumeric characters.
Licensing Information | 51
If you have an authorization code
Authorizing your product when you have an Internet connection
Note:
• It is not possible to install licenses remotely. You must be logged into the machine on which you
are installing the licenses.
The following procedure describes how to authorize your product using a local or network license server.
The license server is set up automatically when you first install the product.
52 | Licensing Information
Updates and SupportLine
Our Web site gives up-to-date details of contact numbers and addresses.
If you obtained this product directly from Micro Focus, contact us as described on the Micro Focus Web
site, https://www.microfocus.com/support-and-services/contact-support/. If you obtained the product from
another source, such as an authorized distributor, contact them for help first. If they are unable to help,
contact us.
Also, visit:
• The Micro Focus Community Web site, where you can browse the Knowledge Base, read articles and
blogs, find demonstration programs and examples, and discuss this product with other users and Micro
Focus specialists. See https://community.microfocus.com.
• The Micro Focus YouTube channel for videos related to your product - see https://www.youtube.com/
user/MicroFocusIntl.
Information We Need
However you contact us, please try to include the information below, if you have it. The more information
you can give, the better Micro Focus SupportLine can help you. But if you don't know all the answers, or
you think some are irrelevant to your problem, please give whatever information you have.
• The name and version number of all products that you think might be causing a problem.
• Your computer make and model.
• Your operating system version number and details of any networking software you are using.
• The amount of memory in your computer.
• The relevant page reference or section in the documentation.
• Your serial number. To find out these numbers, look in the subject line and body of your Electronic
Product Delivery Notice email that you received from Micro Focus.