AMT Release Notes

AMT 78

Released: 13 Nov 2020.
For availability, please contact the Avanade Service Portal for information on downloading new releases.

Special attention items:

AMT 78

Product Cat Subcat Description Type Version Priority
AMT LION | AMT COBOL Runtime Various 328900 / 328933

In the AMT File Controller, UpdateRec for variable-length record files blanked out the records.

Updating a record involved a record length check followed by a truncation, which is unwanted for variable length records. The check has been fixed.
FIX AMT 78 Low
AMT LION Runtime Jobs/Batches 327947

Upgrading from older database versions  could result in performance issues, as optimization options were no longer valid in the newer version.

For table queries optimization has been updated to improvement performance. Also, optimization has been activated for business logic used in forms.
FIX AMT 78 Medium
AMT LION | AMT COBOL Developer Database 328960

The AMT Kernel needed to support Microsoft SQL Server 2019.

AMT now officially supports Microsoft SQL Server 2019. Warnings about unsupported Microsoft SQL Server versions have been removed.
NEW AMT 78 Low
AMT LION | AMT COBOL AmtTools Debugger 329343

While a form was being debugged, a time-out could occur as a timer was started in the Xmit settings in the AMT Control Center.

The Xmit timer is no longer taken into consideration during debugging.
FIX AMT 78 Low
AMT LION | AMT COBOL Runtime Various 329505

When a password was changed during login to the AMT Application Center, the security rules were not used.

Password security has been changed to be the same as those applying to the AMT Control Center.
CHANGE AMT 78 Medium
AMT LION | AMT COBOL Runtime Various 329509

During Forms Authentication in an application, error messages allowed attackers to differentiate between valid and invalid usernames.

Security has been improved by always making AMT generate an identical, more generic error message when a login attempt fails.
Logging of the AMT Application Center and the AMT Application Server has been improved also, by logging failed login attempts AMT operators are enabled to detect brute force attacks.
FIX AMT 78 Medium
AMT COBOL Runtime Various C2009-093

If a program went into an endless loop caused by code logic, the transaction timed out and the client became non-responsive. Catching this error did not result in a new connection for future transactions, so the AMT Transaction Server could not handle new requests.

If a time-out occurs the current agent is terminated and a new agent is created  for new transactions.
FIX AMT 78 Low
AMT LION | AMT COBOL Runtime Various 329513

The Secure Cookie flag was missing from the AMT Control Center and the AMT Application Center.

The default values of these settings in the web.config have been corrected.
CHANGE AMT 78 Medium
AMT COBOL AmtTools Debugger C2016-016

Debugging forms is now possible in AMT COBOL.
NEW AMT 78 Low
AMT LION | AMT COBOL Developer Various 326830

The print dialog in the AMT Developer contained a number of issues.

Print dialog issues have been resolved, the following changes have been made:
1. Heading to the first groupbox: 'What to print' has been added;
2. First groupbox height has been increased to 170, so it matches the 'Code printing' groupbox;
3. 'Syntax' checkbox from the 'Code printing' groupbox has been removed since it had no functionality attached;
4. 'Print index (code only)' checkbox from the 'General options' groupbox has been moved to the 'Code printing' groupbox;
5. The printing of a selected block of code has been fixed, if the user has selected a block of code or is using the selected block 'To' and 'From' edit boxes;
6. Only the 'Items to print' dropdown is now shown in the 'General options' groupbox when a list of objects is shown, e.g. when the revisions screen is viewed.
CHANGE AMT 78 Low
AMT LION Developer Code Logic 329112

No notice was passed to the user if there was nothing behind the comma in a parameter list.

If there is no parameter following the comma in the routine definition, an error is now thrown.
FIX AMT 78 Medium
AMT COBOL AmtTools Reo C2010-035

For AMT COBOL, stored procedure 'asy_unique' has been changed to use a sequencer.

The use of a sequencer delivers better performance, because it does not need a separate database connection. The asy_unique stored procedure is now used to generate the EIBTASKN for former IBM/MicroFocus COBOL applications.
CHANGE AMT 78 Low
AMT LION | AMT COBOL Developer Revision Control 329836

Objects in edit in another genset and not present in the current genset could not be fetched with 'GetNewest' even though there was a new checked in version.

Objects can now be correctly fetched if the object is not yet present in the current genset.
FIX AMT 78 Low
AMT LION Runtime AmtScreens 328868 / 329866

Images with UNC paths were not shown in AMT Screens, because the paths were translated incorrectly.

UNC path images are now shown correctly.
FIX AMT 78 Low
AMT COBOL Runtime Web Client 329820

If a server had an issue, the AMT Application Center showed a popup that the AMT session could not be found.

A retry mechanism has been implemented so minor network errors don't have an immediate impact. This retry mechanism has also been implemented for the 'Keep Alive' functionality of the AMT Control Center.
FIX AMT 78 Low
AMT LION Runtime AmtScreens 329885

The preview of a text report could not be opened because the extensions were inappropriately used to determine the print type (graphical or text).

The extension is no longer used to determine the type of print output.
FIX AMT 78 Low
AMT LION Runtime AmtScreens 329886

Double-clicking in the scrollbar in AMT Screens Job Management produced the selection of the entire item, instead of a simple scroll.

Double-clicks now only scroll the scrollbar.
FIX AMT 78 Low
AMT LION Developer Code Logic 329843

Username could be overridden in the decommissioned StartReport.exe but this was not possible with the StartReport command.

Username can now also be overridden within the StartReport command through the addition of an extra parameter.
NEW AMT 78 Low
AMT COBOL Generator Various C2010-047

88-LEVEL boolean value test on space failed, if it was internally optimized, because it compared an empty string to a space character.

The generated code has been corrected, it now uses String.Empty in these comparisons.
FIX AMT 78 Medium
AMT LION | AMT COBOL Runtime Various C2010-073

The identity values (LIONRECNO) of successful FIND FIRST/LAST DB statements were missing in the database trace files, they were always shown as ZERO.

The identity values are now shown correctly in the database trace files.
FIX AMT 78 Low
AMT LION | AMT COBOL Runtime Various C2010-080

The AmtTools\Azure folder had be phased out, as it was used for the deprecated style of Azure web roles.

As AMT currently run fully in Azure VM without web roles, the code has been cleaned up.
CHANGE AMT 78 Low
AMT COBOL Runtime Various C2010-081

SW switches that are passed to a COBOL program by a script are not available to the COBOL program running in an AMT COBOL for A-Series environment. This currently only works for OS2200 (SW switches) and IBM (UPSI switches) environments.

SW switches have now also been implemented for former A-Series in AMT COBOL.
FIX AMT 78 Low
AMT LION | AMT COBOL AmtTools Prodinstall/Pinstall C2010-082

ProdInstall.exe and PInstall.exe have been migrated from .NET Framework to .NET Core.
CHANGE AMT 78 Low
AMT LION Runtime AmtScreens 329870 / 329966

RTQuery in AMT Screens did not properly support queries like 'SELECT Field,* FROM Table' with one or more fields in front of the asterisk.

Support for fields appearing in a view multiple times has now been implemented, fields are displayed and updated correctly now.
FIX AMT 78 Low
AMT LION Runtime AmtScreens 329899

Exception 'Cannot start process because a file name has not been provided' was raised if the print file was missing, whereas a warning would be sufficient.

Now the appropriate message is shown and no exception is raised.
FIX AMT 78 Low
AMT LION | AMT COBOL Control Center Configuration C2010-085

Using 'Read all jobs' in the AMT Control Center could cause problems with scripts being added/removed if a script existed in different folders.

Now the scripts remain present when 'Read all jobs' is used.
FIX AMT 78 Low
AMT LION | AMT COBOL Generator Various C2010-086

When sub-items in classes were serialized (ToJson/FromJson + XML), the sub-items themselves were processed, not the structures.

Support for structures inside classes has been added.

Warning: Do not use structures in Consumable or Provided web-services, as the concept does not exist in WSDL. Use sub-classes instead.
NEW AMT 78 Low
AMT LION | AMT COBOL AmtTools Debugger C2010-087

The AMT Debugger has been migrated from .NET Framework to .NET Core.
CHANGE AMT 78 Low
AMT COBOL Runtime Various C2010-088

The log files of the Transaction Agent and Server contain many trace messages, independent of the logging severity that has been set in the AMT Control Center. These trace messages should only be logged if the logging severity has been set to 'Debug'.

The trace messages are now logged only if the logging severity has been set to 'Debug'.
CHANGE AMT 78 Low
AMT LION Developer Web Services C2010-089

Document Literal Unwrapped WSDL was not loaded correctly.

Fixes have been made to load unwrapped WSDLs correctly. IsWrapped mode has been made visible in the AMT Developer.
FIX AMT 78 Low
AMT LION Control Center Server Control C2010-091

The AMT Communication Server and AMT Communication Manager have not started properly anymore since the migration to .NET Core (AMT 75). The problem was that the some of the required files for .NET Core were not downloaded by the AMT Communication Server.

The AMT Communication Server and AMT Communication Manager now work as expected.
FIX AMT 78 Low
AMT COBOL Runtime Various C2010-102

AMT File Controller suffered from memory-leaks because threads handling named-pipe connections were not released, when a program disconnected.

The named-pipes connection threads are now disconnected on program closure.
CHANGE AMT 78 Medium
AMT LION Developer Web Services 329907

If an XML complex type used a simple type, the latter should have been resolved to its base type, such as string, but it wasn't.

This has been corrected.
FIX AMT 78 Low
AMT LION Runtime AmtScreens 329918

Labels and Images that have both a click and hyperlink didn't trigger the OnClick event and open the link.

Images and Labels now trigger the OnClick event and open the hyperlink, if this has been so configured.
FIX AMT 78 Low
AMT COBOL Developer Code Logic 329925

AMT Developer crashed if a COBOL switch variable like SW1-ON was right-clicked.

The AMT Developer has been improved to enable navigation to the definition of a switch variable like SW1-ON.
FIX AMT 78 Low
AMT LION Runtime AmtScreens 329871

Disabled buttons didn't really look disabled.

Disabled state has been improved visually.
FIX AMT 78 Low
AMT LION Runtime AmtScreens 329889

In AMT Screens Job Management, making columns wider showed unexpected behaviour, as the column headers were not resizing correctly.

This has been resolved by having column width not fixed anymore but set to a minimum width.
FIX AMT 78 Low
AMT LION Runtime AmtScreens 329887

In AMT Screens Job Management, sorting on column 'Time' went wrong, because sorting on Time and Date columns was performed on string values.

Sorting in these columns is now performed on DateTime values.
FIX AMT 78 Low
AMT LION | AMT COBOL Runtime Various C2010-107

Uploading files using the AMT FTP object caused '425 Data channel timed out...' errors when an FTP server was running Windows 2019.

This issue has been resolved.
FIX AMT 78 Low
AMT COBOL Runtime Various C2010-115

Performance of INSPECT-REPLACE-COUNT was a bit low.

If only one character needs to be replaced or counted, a faster method is now called from the runtime library.
FIX AMT 78 Medium