AMT Release Notes

AMT 79

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

Special attention items:

AMT 79

Product Cat Subcat Description Type Version Priority
AMT LION | AMT COBOL Runtime Various 324757

For systems running with an Oracle database, print requests were not caught in chronological order.  Some requests could disappear when originating from multiple servers, because assigning request sequence numbers was asynchronous.

This has been fixed by setting the ORDER for sequence SEQ_AMTPRINTREQUEST in Oracle in AMT Reorganize to 'true'.

Attention: In order to get this setting correct, sequence SEQ_AMTPRINTREQUEST must be dropped manually from the database before running AMT Reorganize.
FIX AMT 79 Medium
AMT LION Runtime AmtScreens 321607

Customers could not choose their own splash screen or icon when loading AMT Screens.

Commands /ico and /splash have been implemented, which can be added to the .exe. The .exe needs to contain the file path to the selected image.
NEW AMT 79 Low
AMT LION | AMT COBOL Runtime Various C2010-004

For security reasons, AMT doesn't allow browsers to store the login password anymore, when Forms authentication is used in the AMT Control Center and the AMT Application Center.

However, this default setting can be overridden by specifying the following line in the web.config's appSettings section: <add key="autocompletePassword" value="true" />.
CHANGE AMT 79 Medium
AMT LION | AMT COBOL Runtime Web Client 329511

HSTS Rules have been added to web.config to make websites even more secure when HTTPS is used. These rules have been commented out by default, because the IIS UrlRewrite module has to be installed for HSTS to work.
CHANGE AMT 79 Medium
AMT LION Runtime AmtScreens 329757 / 328902

If you previewed a prn file, using the Find option didn't bring the search-string into focus anymore.

This has been resolved. Also, if you press Enter in the popup to enter the search string, the search is executed immediately. Cancel will close the popup.
FIX AMT 79 Low
AMT LION | AMT COBOL AmtTools Reo 329868 / 328263

Creating and enabling triggers in a table took place before any other actions in a table.

Creating and enabling triggers now only takes place after all other actions in a table have finished.
FIX AMT 79 Medium
AMT LION Developer Code Logic C2011-002

Several issues with logic inside classes were found:

Calling a routine containing a 'VAR' parameter was not allowed for class items.
Structure size was not correctly calculated for DCT items inside classes.
Setto() was not allowed on a class item.
Inside a class routine a syntax error was raised on 'if not (methodx())'
If a global item like tablequery was used, the generator crashed.

These items have been fixed. Furthermore, if there are multiple structures with the same sub-names, these items are renamed from the 2nd set of sub-names down. Also, members can now contain array definitions.
FIX AMT 79 Medium
AMT LION Runtime AmtScreens 329934

In AMT Screens the onExit of a control event was triggered after the transmit instead of before.

OnExit is now forced when focus is shifted, so it precedes other events.
FIX AMT 79 Medium
AMT LION Runtime AmtScreens 329935

Graphical mode settings were not stored in AMT Screens.

The code has been corrected so settings are saved correctly again.
FIX AMT 79 High
AMT LION Runtime Web Client 329974

AMT Web Client raised an error that the maximum request length had been exceeded.

The default maximum request length of AMT Web Client has been increased to 10 Mb.
FIX AMT 79 Low
AMT LION Runtime AmtScreens 329989

The cursor was not changed on text, links or controls during events in AMT Screens.

The cursor was overridden when a transaction was done, but it was set to 'Arrow'. Now it is set to Null so the default behavior of the cursor works again.
FIX AMT 79 Low
AMT LION | AMT COBOL Developer Various 329903

The AMT Developer and the AMT Generator showed a splash screen but closed straightaway if the Repositories were not up to date, without any error message.

In the move to .NET Core, the original error popup was removed and replaced by an event handler that was never implemented. The error message is now shown again.
FIX AMT 79 Medium
AMT LION | AMT COBOL AmtTools Various C2011-023

The AMT Configuration Manager has been migrated from .NET Framework to .NET Core.
CHANGE AMT 79 Medium
AMT COBOL Generator Various 329996

COBOL generation failed if layout variable names were of mixed case.

The AMT Generator has been improved so that mixed case variable names are processed correctly.
FIX AMT 79 Medium
AMT LION Runtime AmtScreens 329937

If auto-tab was used in combination with onExit/onEnter events, the focus was incorrectly set to the first control while the transmit was still ongoing.

Setting focus is now delayed until the event has finished.
FIX AMT 79 Low
AMT COBOL Runtime Various C2011-029

There was a bug in the EXEC CICS READNEXT logic that caused it to skip every other record, so records 1-3-5-7 were read and 2-4-6-8 were skipped.

This has now been resolved.
FIX AMT 79 High
AMT COBOL Runtime Various C2011-037

If you had a structure in a table and the table-fields were nullable and actually had 'Null' in the database, AMT was unable to update them if the structure was used to change the value.

This has been solved, if the structure changes the values in the child fields get updated correctly.
FIX AMT 79 High
AMT COBOL AmtTools Debugger C2011-039

Users that had a relatively slow machine could get the following error message when trying to debug a program/report using the AMT Debugger: 'Couldn't find a CoreCLR process'.

A retry mechanism has been added for situations in which the AMT Batch Controller tries to attach to the program/report.
FIX AMT 79 Medium
AMT COBOL Runtime Various C2011-043

CPU time of online COBOL programs statistics was not correct, it showed the total time of transactions.

CPU time now shows the correct timings.
FIX AMT 79 Medium
AMT LION | AMT COBOL Runtime Various C2011-052

Since .NET Core, COBOL programs and LION reports have been generated as DLLs and not as .exe anymore, therefore the 'run inside batchcontroller' option in the Jobs Queue is obsolete.

The 'run inside batchcontroller' option has been removed from the Jobs Queue.
CHANGE AMT 79 Medium
AMT LION Runtime AmtScreens 330024

AMT Screens RTQuery raised an error on SQL command TRUNCATE.

AMT Screens has been corrected so that TRUNCATE is now recognized as a valid non-select command.
FIX AMT 79 Low
AMT LION Runtime AmtScreens C2011-067

CTRL-HOME and CTRL-END moved the focus to the first or last element of a layer, where a layer is a container element.

The behaviour of CTRL-HOME and CTRL-END has been modified  so the focus will go to the first or last element of the form, except if the action takes place on a Tab sheet of a Page control, then the focus is moved to the first /last element of the Tab sheet.
FIX AMT 79 Medium
AMT COBOL Developer Various 329714

In the AMT Debugger COPY commands did not have a breakpoint possibility, F10 did not stop here as COPY was not considered an instruction.

COPY is now regarded as an instruction, so it is now possible to stop COPY commands.
CHANGE AMT 79 Medium