AMT Release Notes

AMT 92

Released: 03 Sep 2021.
For availability, please contact the Avanade Service Portal for information on downloading new releases.

Special attention items:

AMT 92

Product Cat Subcat Description Type Version Priority
AMT LION Runtime Web Client C2102-023

Preparations for the AMT File Downloader, which offers the ability to download documents using the Web client, have begun. It is expected to be introduced within the next couple of releases.
CHANGE AMT 92 High
AMT LION Runtime AmtScreens 330439

When using the print preview of text reports from the AmtScreens' Job Management tab, the embedded Macros were displayed and some special characters displayed incorrectly.

The print preview now displays cleanly.
FIX AMT 92 Medium
AMT LION Runtime AmtScreens 327767

When using the Macro Editor in AmtScreens, the difference between the enabled and disabled buttons was not always easy to decipher.

The disabled buttons are now clearly greyed out.
FIX AMT 92 Low
AMT LION Runtime AmtScreens 330843

When clicking on a ComboBox while the current focus was on an EditBox with an OnExitEvent, the ComboBox would fail to open.

The ComboBox has been improved so that it can now better handle the OnExitEvent from a previous focus.
FIX AMT 92 Medium
AMT LION | AMT COBOL AmtTools Various 331122 / C2107-033

The AID Tool did not start correctly from AMT 89 forward because information about configuration and namespace was incorrectly obfuscated.

The AID Tool's obfuscation has been improved so that it can now be started correctly in all cases.
FIX AMT 92 High
AMT LION Developer Code Logic 328565

In LION, the LIST function did not support SORT or INDEXOF when a list contained a class. This was because LION couldn't differentiate between instances.

Now when 'IMPLEMENTS ICOMPARER' is added after the class definition, the LIST function can use SORT(), INDEXOF (search instance) or INDEXOF (search instance, StartAt).

For more information on the usage of this item, please visit the online help files.

NOTE: In the next version, the Intellisense usage will be improved and the function will be implemented for local classes as well.
NEW AMT 92 Medium
AMT LION | AMT COBOL AmtTools Various 331028

AMT was using a gRPC module that was unmanaged, leading to unhandled exceptions.

This is now upgraded to the fully managed version of the gRPC module (AMT components that require the full .NET Framework 4.8 still require the older module).
CHANGE AMT 92 High
AMT LION Runtime Various C2108-004

Previously, the LION Communication Server and Communication Manager tried to write logs using the File Controller, which caused a failure. Also, the executables weren't self-contained, which made installing and maintaining Communication Server and Communication Manager difficult.

These issues have been addressed and the Communication Manager and Communication Server are now functioning properly..
FIX AMT 92 Medium
AMT LION Runtime Various 330598

Class routines where the first parameter is optional could not be called without passing an argument.

The AMT Generator will now pass a default argument for classes that meet this criteria.
FIX AMT 92 Medium
AMT LION | AMT COBOL Control Center Various 331232

Accidentally hitting the "Kill All" button in the Jobs > Job Management > Running Jobs section of the Control Center would automatically kill all jobs without warning.

In order to avoid this being done by accident, a confirmation message has been added.
FIX AMT 92 Medium
AMT LION Runtime AmtScreens 331229

Submitting a job Input request with no message would cause AmtScreens to crash.

Empty messages are now handled correctly in AmtScreens.
FIX AMT 92 Medium
AMT LION | AMT COBOL Control Center Various 331188

Messages were not being identified correctly and therefore were not being logged to the transaction database.

SME's are now written to the transaction database as expected.
FIX AMT 92 Medium
AMT LION | AMT COBOL AmtTools Various C2108-016

As part of the gradual migration of AMT to the .NET Core, more AMT components are now targeting .NET Core 3.1 instead of .NET Standard 2.0. 

As a result of this change, the LionRepository.dll in the "\Amt\Lion\" folder is now also targeting .NET Core 3.1. This could cause problems when referenced by a .NET Framework assembly.

For these situations, there is also a .NET Framework version of the LionRepository.dll available in the "\Amt\Lion\Support\NetFramework\" folder.

In upcoming releases, further smaller AMT components will be changed to target .NET Core 3.1.
CHANGE AMT 92 Medium
AMT LION Runtime AmtScreens 331261

When using AmtScreens, several default values for RtQuery were set to 0 for new applications, which resulted in no records being returned.

The defaults have now been updated, so RtQuery behaves as expected.
FIX AMT 92 Medium
AMT LION Runtime Various C2108-018

The start position was not correctly set in a replace command, which resulted in an unexpected space for the first character. 

This has been corrected.
As a result of this change, Replace statements can no longer contain a negative number in the start position. When you have these situations, you'll need to correct it.

Important: instead of 'negative number', please read 'negative numbersor 0'!
FIX AMT 92 Medium
AMT LION Runtime Web Client 331253

When using a memo field with the 'Wordwrap' property set to 'True', all the text appeared on a single line and a horizontal scrollbar was displayed in the Web client. The text should have extended to the next line with no scrollbar present.

The 'Wordwrap' property behaves as expected now.
FIX AMT 92 Medium
AMT LION Runtime Various 331246

When doing an unstring on a structure and the delimiter is spaces, the returned length of the last item in the structure included the spaces.

Now, all the trailing spaces are ignored when using the SI-LENGTH object on an unstring command with a structure.
FIX AMT 92 Medium
AMT COBOL Generator Various C2108-025 / 331279

An IF statement with a check on space (' ') for multiple variables could lead to invalid generation of the statement.

Example:  IF ' ' = A AND B AND C

The IF statement is now generated as expected.
CHANGE AMT 92 Medium
AMT LION | AMT COBOL AmtTools Various C2108-029

In the AMT File Editor, the column names for fields that occurred multiple times due to an OCCURS clause were displayed in the following format: FIELD, FIELD[1], FIELD[2], ... , FIELD[n - 1].

This differs from the usual 1-based indexes used in COBOL, which might cause confusion.

The editor has been changed to display fields with a 1-based index to better match COBOL conventions.

They now display as: FIELD[1], FIELD[2], ... , FIELD[n].
CHANGE AMT 92 Medium
AMT LION | AMT COBOL AmtTools Various 331140

The Remote Print Controller threw a gRPC error on startup because the remote printer was attempting  to connect to the file controller. Logging must be done locally when using the Remote Print Controller.

This is now corrected.
FIX AMT 92 Medium
AMT LION | AMT COBOL AmtTools Various C2108-035

In the AMT File Editor, pressing PageUp or PageDown would move the cursor to the beginning or the end of the selected field, respectively. Pressing Home or End would do the same.

Ideally PageUp and PageDown keys should be used to move to different pages.

The PageUp key now navigates to the previous page in the file. The PageDown key now navigates to the next page in the file.

The tooltips of the corresponding buttons in the user interface have been updated to mention these hotkeys.
CHANGE AMT 92 Medium
AMT LION | AMT COBOL Control Center Various 331296

In the AMT Control Center, the job queue selector for bulk editing available jobs was not showing any options.

The issue was caused by passing a property that does not exist to the JavaScript, this has been corrected.
FIX AMT 92 Medium
AMT LION | AMT COBOL AmtTools Various C2108-040

Previously, it was not possible to create new files in the AMT File Editor, and the editor also ran into issues while editing empty files.

The option to create a new empty file has been added to the AMT File Editor. This allows the user to create an empty file and edit it in the editor.

Please note that this can not be used to create indexed files with dynamic record lengths; the editor can only create files with fixed record lengths.
CHANGE AMT 92 Medium
AMT COBOL Developer Code Logic 331306

When validating a former Unisys OS2200 COBOL Program having a Common-Storage section in AMT Developer Studio, an obsolete warning would come up stating "Global common-storage variable not found". There were no consequences for this warning and there was nothing the programmer could do to fix it.

This warning will no longer be shown.
FIX AMT 92 Low