AMT Release Notes

AMT 100

Released: 25 Feb 2022.
For availability, please contact the Avanade Service Portal for information on downloading new releases.

Special attention items:

AMT 100

Product Cat Subcat Description Type Version Priority
AMT LION Runtime AmtScreens 330534 / C2104-041

Scrolling through a Listview while data was being added resulted in slower performance, because the data update was done during the scroll.

Now the data update is performed after the scrollbar has been released, increasing performance.
FIX AMT 100 Medium
AMT LION Generator Various C2109-040

The options for class methods have been expanded by making it possible to call another class method on the result of a class method call, or to use one of its properties. This is known as chaining.

Example of the old situation:
wheel := car.GetLeftFront()
wheel.tire := GetSoftTire()
Example of the new situation:
car.GetLeftFront().tire := GetSoftTire()

For more information, please refer to this help page.

NOTE: Code Completion for this functionality will be introduced later.
NEW AMT 100 Medium
AMT LION Runtime Various C2112-057

A download function has been added to SendAttachment, making downloads through hyperlink obsolete.

The option to download through hyperlink has been removed.
CHANGE AMT 100 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches 331896 / C2201-038

The AMT Batch Controller raised a generic error: 'The system cannot find the file specified.' if a script was started and PowerShell 7 wasn't installed.

The error message has been improved so that it now states file 'pwsh' has not been found.
FIX AMT 100 Low
AMT LION | AMT COBOL Runtime Jobs/Batches C2201-069

The AMT Batch Controller logged kill actions for all jobs even if a different Batch Controller was processing the jobs killed.

Now the AMT Batch Controller only logs requests if it also did their processing.
FIX AMT 100 Medium
AMT LION | AMT COBOL Control Center Configuration 331904 / C2201-072

The AMT Control Center raised an error when configuration data was edited while the WebDAV handler was enabled.

The web.config of the AMT Control Center and AMT Application Center has been corrected so that the WebDAV handler is removed.
FIX AMT 100 Medium
AMT LION Runtime Various C2201-087

Provided REST APIs with a response object containing a list of classes caused a 'Collection was of a fixed size' exception at runtime, due to an issue with standard JSON deserialization.

The use of Newtonsoft's JSON (de)serialization has fixed this issue.
FIX AMT 100 High
AMT COBOL Runtime Various C2201-088

The AMT COBOL CICS ReadQ function in former IBM applications didn't set the Length parameter.

The Length parameter has now been implemented.

NOTE: The use of the Length parameter requires an the database to be reorganized, as Length is stored in the database.
CHANGE AMT 100 Medium
AMT COBOL Runtime Various C2201-089

The SQL 'Distinct' function did not accept Alias names in AMT COBOL.

Alias names are now accepted in SQL 'Distinct' function.
FIX AMT 100 Medium
AMT LION | AMT COBOL AmtTools Reo 332029 / C2202-003

The AMT Reorganize tool didn't process the command line option '/KEEPALLTABLES'. It used only the Database Settings option, which overwrote the command line option.

Now either the database settings or the command line option can be used to keep objects. The same applies to KEEPALLVIEWS, KEEPALLSTOREDPROCEDURES and KEEPALLSEQUENCES.
FIX AMT 100 Medium
AMT COBOL Runtime Various C2202-006

Previously introduced changes C2106-017 and C2106-034 caused problems in COBOL-MIFO systems, in which the accuracy of calculations actually turned out to be too high.

These changes have been reverted for COBOL-MIFO systems.
FIX AMT 100 High
AMT LION | AMT COBOL Runtime Jobs/Batches C2202-014

The AMT File Controller command '_FileControl.FindFiles (inputfolder, true)' took a long time to process if the folder held thousands of files.

A third parameter can be added now, to limit the amount of files to be found. 'fc_FileControl.FindFiles(inputfolder, true, 100)' limits the number of files to 100, which is much faster.

For more information, please refer to this help page.
NEW AMT 100 Medium
AMT LION | AMT COBOL Control Center Various 332035 / C2202-017

The AMT Batch Controller name is now available as a column to be added to the 'Completed/Running jobs' section in the AMT Control Center under 'Job Management'. 

Note: this named column is not visible by default, it needs to be added to the view before it becomes visible.
NEW AMT 100 Medium
AMT LION | AMT COBOL Runtime Various 332060 / C2202-022

The AMT Application Link did not work with form fields with 'occurs' data, resulting in incoming and outgoing fields with 'occurs' data remaining empty.

Changes in the logic ensure that incoming and outgoing fields are now populated with 'occurs' data when the AMT Application Link is used.
FIX AMT 100 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches 330538 / C2202-028

For some time PowerShell 7 has been the standard for use with the AMT product suite, but fallback support was still provided for PowerShell 5.

Fallback support for Powershell 5 ended with this release.
CHANGE AMT 100 Medium
AMT LION | AMT COBOL Runtime Various 332090 / C2202-033

The system item 'today.weekdayno' returned an incorrect day if the application option was set to 'iso week nr' and it was called on a Monday, Tuesday or Wednesday.

Now the week day is returned correctly when the 'iso week nr' option has been set.
FIX AMT 100 Medium
AMT LION Generator Various C2202-034

A Consumable REST API with a request containing a list of classes caused a 'Collection was of a fixed size' exception with the JSON (de)serializer.

The issue has been fixed by implementing the AmtNewtonsoftJsonSerializer instead of the standard JSONSerializer.
FIX AMT 100 High
AMT LION | AMT COBOL Runtime Various 332101 / C2202-036

In very specific situations, a 'loop <freequery>' without a 'prepareopen' was executed after a prepared statement had been performed. The last prepared statement would then return the result, and not the free query in the loop.

An update in the SQL syntax now ensures the latest set of SQL statements (without parameters) is executed.
FIX AMT 100 High
AMT LION | AMT COBOL Runtime Various 332116 / C2202-040

If 'FindDir' was used on a file control object, performance decreased if the folder also contained a lot of files.

Now, changes in the logic ensure performance is not related to the number of files that exist in the folder anymore.
FIX AMT 100 Medium
AMT LION | AMT COBOL AmtTools Various 332112 / C2202-049

Setting up new environments using Batch mode did not work anymore due to a previous change in Setup.

Setup has been corrected, so that Batch mode Setup works again for new environments.
FIX AMT 100 Medium