AMT Release Notes

AMT 90

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

Special attention items:

AMT 90

Product Cat Subcat Description Type Version Priority
AMT LION | AMT COBOL Control Center Various 330971 / C2106-058

Filtering jobs in the AMT Contol Center and AMT Application Center did not work properly, because the back-end of the filtering logic did not receive the right data from the front-end.

The filter components in the front-end have been changed so the back-end now has access to the correct data.
FIX AMT 90 Medium
AMT LION | AMT COBOL Runtime Various 330947 / C2106-069

There was a need to identify the user/process that killed a report or script.

The Caller property has been added to the Job object, so the user/process that caused the shutdown is visible in the job's error message.
This does not yet work for the 'Kill all' command, which currently returns the AMT Batch Controller as the process that killed the reports or scripts in all situations.
CHANGE AMT 90 Medium
AMT LION AmtTools Debugger C2106-075

It is now possible to debug REST API Provided Web Services.
NEW AMT 90 Medium
AMT LION | AMT COBOL Control Center Various 331048 / C2106-078

RequestId has been added as a column to the completed/running/queued jobs lists (and details). The new column is not visible by default.
NEW AMT 90 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches C2106-079

A PowerShell script with the phrase 'CSCRIPT' in its name was interpreted and started by the AMT Batch Controller as if it were an executable, instead of a PowerShell script. This resulted in the following error: 'The specified executable is not a valid application for this OS platform'.

Determining the script type (PowerShell, VBScript, BatchFile) is now purely done by file extension. The check on the phrase 'CSCRIPT' has been removed, this was previously needed for some specific (obsolete) AMT script tooling.
FIX AMT 90 Medium
AMT LION | AMT COBOL AmtTools Reo 331050 / C2106-081

AMT Reorganize Analyze did not ignore comments in Views with aliases as it should, thus causing errors.

The replacement of an alias within a View has been improved, it now takes into account comments and the order of the delimiters like {<alias name>}.
FIX AMT 90 Medium
AMT LION Services Application Server/Manager 331055 / C2106-084

When an error occurred in the AmtStatisticsLogger, an infinite number of log messages was created, because of an incorrect loop in the logic.

The infinite loop has been corrected by adding an if-check.
FIX AMT 90 Medium
AMT LION Generator Various 331051 / C2106-086

Support for a second parameter in the wait() statement (WakeupData) has been added, allowing the transmission of user-data to the report receiving the wake-up call.
NEW AMT 90 Medium
AMT LION | AMT COBOL Control Center Various 331061 / C2106-087

Images within the DateTimePicker popup were not visible due to a Content-Security-Policy violation.

The relevant Content-Security-Policy violation has been changed to allow images.

Important: 
To resolve this issue in existing environments, the web.config located in ControlCenterCore needs to be modified:
the line 'img-src 'self';' should be changed to 'img-src 'self' data:;'. After that, an IISReset fixes the issue.
FIX AMT 90 Medium
AMT LION | AMT COBOL AmtTools Reo 331067 / C2106-095

If LionRecNo (as the primary key) was changed from Numeric 9 to 18, and there were also indexes with index logic on the same table, AMT Reorganize could take longer than desirable, because of the inappropriate use of full table scans.

Performance for the above scenario has been improved by making changes to the AMT Reorganize program.
FIX AMT 90 Medium
AMT LION Runtime Web Client 330919 / C2106-096

Transmission of a form with a dynamic form control and other controls through the web led to an incorrect tab order.

Tab order for forms with dynamic controls transmitted in the web client has been corrected.
FIX AMT 90 Medium
AMT LION Runtime AmtScreens 331069 / C2106-102

A checkbox created in AMT Developer with the Enabled property set to False was shown as enabled in AMT Screens.

Now, the Enabled property is generated into the CTR file and is read and processed correctly by the AMT Screens application.
FIX AMT 90 Medium
AMT LION Runtime Web Client 330914 / C2106-103

AMT Web Client Groupboxes did not position/show correctly if their Text/Caption was empty.

The positioning of the top line and controls within a Groupbox is now correct.
FIX AMT 90 Medium
AMT LION Developer Code Logic 330600 / C2105-105

AMT Application forms didn't call popups if 'showpopup' was called by a global routine from a class.

The way popups are called has been improved, so the top parent is set correctly in every combination the call is made.
FIX AMT 90 Medium
AMT COBOL Developer Various C2106-112

As a new feature, it is now possible to use export scope 'Cobol as distinct source files'. This writes selected sources into plain COBOL text files, without revision information or XML tags, at one file per source.

These files are export only, using them as import sources is not possible.
NEW AMT 90 Medium
AMT LION | AMT COBOL Control Center Various 330981 / C2106-113

Requests on the AMT Control Center Message/Requests list had to be confirmed one by one.

A feature has been added to enable confirmation of requests in bulk.
CHANGE AMT 90 Medium
AMT LION Developer Web Services REST 331090 / C2106-114

Validating a REST API Provided Web Service did not update the validation status correctly, which caused problems when the object was checked in.

The validation status is now updated correctly.
FIX AMT 90 Medium
AMT LION | AMT COBOL Developer Various C2106-115

The About dialog in the AMT developer showed the month in the License Expiry date as a four-digit number.

The month is now referred to by its full name.
FIX AMT 90 Low
AMT LION Developer Code Logic 331058 / C2106-116

In situations where a free join query with parameters was executed twice, followed by the execution of a different query, and then the re-execution of the first query, the parameters turned out to have been reset, which resulted in a 'Parameter not found' error.

The internal caching of analyzed queries has been improved (parameters are stored in a new list) to prevent the 'Parameter not found' error.
FIX AMT 90 High
AMT LION | AMT COBOL Runtime Jobs/Batches 331092 / C2107-004

Exceptions raised by PowerShell scripts are shown in the AMT Control Center including escape sequences, which makes the error messages very difficult to read. This problem was introduced with the switch to PowerShell 7 because of the new (default)  ConciseView for error messages.

By enforcing NormalView in the PowerShell command, error messages are no longer shown with escape sequences in the AMT Control Center.
FIX AMT 90 Medium
AMT LION | AMT COBOL Developer Database 331105 / C2107-006

In AMT Developer, the bulk edit of a table gave an error if an initial null value was specified.
In AMT Screens RTQuery, adding a record with columns with an initial null value raised a database conversion error.

The AMT Developer has been corrected so that bulk editing is possible with initial null values.
Adding records within AMT Screens RTQuery with empty values now uses the default values of the database and no longer raises exceptions.
FIX AMT 90 Medium
AMT LION | AMT COBOL Control Center Various 331111 / C2107-009

Old Waiting and Request messages in the AMT Control Center were not always removed when the process had already been killed.

The clean-up of 'hanging' Waiting and Request messages is now handled in the clean-up (logging) process of the the AMT Batch Controller, which removes killed processes as expected.
FIX AMT 90 Medium
AMT LION | AMT COBOL Control Center Various 331100 / C2107-013

The Exception Dates and Non-Periodic Dates could not be set within Schedule Job after the latest JQuery update.

The Dates can now be added again.
FIX AMT 90 Medium
AMT LION | AMT COBOL Control Center Configuration 331136 / C2107-057

Due to an upgrade of JQuery the Combobox in the AMT Control Center for selecting a database alias was behind the Dialog.

The Combobox is now shown on top of the dialog again, instead of behind it.
FIX AMT 90 Medium
AMT LION | AMT COBOL Control Center Various 2107-017

Confirming a Information Request without actually entering a message caused an exception in the AMT Control Center.

Leaving the Message textbox blank is now accepted as valid input.
FIX AMT 90 Low
AMT LION | AMT COBOL Control Center Various 331152 / C2107-030

The Dropdowns in the System Timezone and in Schedule Job ID were not showing properly.

The Dropdowns are shown correctly again through changes in the underlying JavaScript.
FIX AMT 90 Medium
AMT COBOL Runtime Various 331119 / C2107-005

The move of an array of length 1 to a numeric item crashed the program.

The move of an array of length 1 to a numeric item is now allowed and works as expected.
FIX AMT 90 Medium