AMT Release Notes

AMT 74

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

Special attention items:

AMT 74

Product Cat Subcat Description Type Version Priority
AMT LION Runtime AmtScreens C2003-076

The 'ForceDecimalKey' property does not work in AmtScreens. When a numeric value is entered and then tab is clicked, no message is given. It just puts .0 after the entry.

Changing focus and transmitting is now blocked and a message is displayed when the 'ForceDecimalKey' property is set and the value is not correct.
FIX AMT 74 Low
AMT LION Runtime AmtScreens 329428

When using Print Preview on a text report in AmtScreens, special characters like 'ó' were not supported and replaced by a '?'.

AmtScreens now supports special characters when using print preview.
FIX AMT 74 Low
AMT LION Runtime AmtScreens 329383

When using RtQuery in AmtScreens, it was not possible to add a new record to an empty table using the 'Add New Record' option.

New records can now be added to any table using the 'Add New Record' option.
FIX AMT 74 Low
AMT LION | AMT COBOL Runtime Various C2007-037

When creating SQL queries during runtime using standard programming code, it was taking too long to create.

The creation of SQL queries has been improved by using a new coding strategy.
CHANGE AMT 74 Medium
AMT LION Runtime AmtScreens 329562

The parameter '/X' for sessionData was not supported in AmtScreens.

AmtScreens now supports the '/X' parameter for sessionData. When adding 'FILE:' after '/X', it will try to read the file specified and put the data from the file into the sessionData.
FIX AMT 74 Low
AMT COBOL Generator Various C2007-055

When a Cobol subprogram has embedded SQL defined in working storage, C# was generated differently, which caused a performance penalty at the end of the call. If the subprogram was called frequently, it could decrease performance.

The AMT generator is fixed to eliminate this issue.
FIX AMT 74 Medium
AMT LION Runtime AmtScreens 329565

In AmtScreens when using RTQuery in Table mode, changing an index did not sort properly. 

Index functionality is now correct in AmtScreens.
FIX AMT 74 Medium
AMT LION | AMT COBOL Runtime Various C2007-058

When a random exception was logged, a second exception was thrown while trying to retrieve the stack trace. The original exception was then lost.

Exceptions are handled properly now and the logs are accurate.
FIX AMT 74 Low
AMT LION | AMT COBOL Developer Revision Control 329553

When the script folder is empty within a generation set in AMT Developer Studio, the 'Assign Label to generation set' option gives an error on every script.

The error message option has been improved, you now can abort the assign label after an error.
FIX AMT 74 Low
AMT COBOL Generator Various C2007-063

The Cobol picture format resulted in an invalid picture. For example, a Cobol picture (3)9.9(4) should contain a character at the first position like: -(3)9.9(4) or Z(3)9.9(4) or 9(3).9(4), but AMT Cobol and IBM mainframe accepted it both ways. However, in AMT it was translated to a literal (3)9.9(4) where IBM just ignores (3) creating a 9.9(4) of it.

AMT behaviour now matches IBM.
FIX AMT 74 Medium
AMT LION Generator Various 329286

When using a web service, loading the WSDL detected a style of RPC/Literal instead of Document/Literal as it should. RPC/Literal is not allowed - only Document/Literal and RPC/Encoded are valid.

Document style is now set at SoapOperationBinding level, and style is now correctly derived.
FIX AMT 74 Low
AMT COBOL Runtime Scripts C2007-068

The AMT PowerShell Sort library method Get-FileRecordSize returned a value 0 if the first line of a file to be sorted was empty.

The method now checks the length of the second line in the input file if the first line is empty. The length of the second line is then returned.
FIX AMT 74 Low
AMT COBOL Runtime Various C2007-070

The WHERE condition on a query with high-values goes wrong on a case-insensitive database. SQL Server treats the 'ÿ' as it were a 'y' character. 

There is now a GENSET flag - 'CASEINSENSITIVETARGETDB=TRUE' - that indicates a case-insensitive database.
CHANGE AMT 74 Medium
AMT LION Runtime AmtScreens 329440

In AmtScreens when querying a table with millions of records, the execution time was significantly slower than LionScreens.

Performance speed is now increased and comparable to LionScreens.
FIX AMT 74 Low
AMT LION Runtime AmtScreens 329442

When exporting data using RtQuery in AmtScreens, numeric fields were wrapped in double quotes.

Now, no quotes are placed around a numeric value when exporting.
FIX AMT 74 Low
AMT LION Runtime AmtScreens 329099

When performing a long transaction in RtQuery, there was no indication that the transaction was still running.

A wait icon now appears when a transaction is loading.
FIX AMT 74 Low
AMT LION Runtime AmtScreens 329448

When using a semicolon within RtQuery, AmtScreens saw it as a query separator. Also, when no query was found,  an 'Invalid query' message was shown instead of 'No query to run' message.

Now semicolons are supported within RtQuery. If no query is supplied, the error message reads 'No query found'.
FIX AMT 74 Medium
AMT LION | AMT COBOL Runtime Various C2007-083

The assembly resolver of the LionRepository.dll was throwing a "Length cannot be less than zero" exception if the assembly name wasn't fully qualified.

Exception no longer thrown in this scenario.
FIX AMT 74 Low
AMT LION Runtime AmtScreens 329582

When defining an image for a button click event, the click image was not loaded in AmtScreens.

The correct image is now loaded and displayed.
FIX AMT 74 Low
AMT COBOL Runtime Various C2007-088

Display statements in programs were not going to SYSOUT file specified.

Display statements in programs now output to the correct SYSOUT file.
CHANGE AMT 74 Medium
AMT LION Runtime AmtScreens 329584

Focus was not set to the next control when tabbing and the control had an OnExit event. The focus was stolen by the first focusable parent.

Focus is now set correctly after transmission.
FIX AMT 74 Low
AMT LION | AMT COBOL Runtime Jobs/Batches C2007-090

There was a missing index on the AmtSysBatchHistory table, which was affecting performance.

Index now added on AmtSysBatchHistory table for fields Appid, BatchId and CombEndDateTime.
CHANGE AMT 74 Low
AMT LION | AMT COBOL Runtime Jobs/Batches C2007-091

Debugging LION reports or AMT-COBOL programs using the LION Debugger was previously unavailable in .NET Core.

Reports and programs can now be debugged using the LION Debugger in .NET Core. However, this is only possible when the Debugger is connected to a BatchController.

Note: Debugging of forms requires a separate connection to the application server, so forms and reports can no longer be debugged in the same session.
CHANGE AMT 74 Low
AMT LION Runtime AmtScreens 329424

If the first radio button in a group was defined as default, it was not recognized as default.

If the default radio button is the first one in the list, it will now also be accepted.
FIX AMT 74 Low
AMT LION | AMT COBOL Runtime Various C2007-095

The LION COM Module is now built as a .NET Standard 2.0 library, so it can be used by both the .NET Framework and .NET Core applications.
CHANGE AMT 74 Low
AMT LION | AMT COBOL Runtime Various C2008-002

When 'Debug' logging is enabled and the logging level is set to '9', a database trace file is created. This database trace file is missing the value parameters of the INSERT statements.

The insert values are now logged correctly.
FIX AMT 74 Low
AMT LION Runtime AmtScreens C2008-009

When a ComboBox with the 'NumericCanBeEmpty' property set to true and a value of space is sent, the space is changed to a 0. This should remain a space. Also, The NumericCanBeEmpty  was not available for the ListBox object.

The behavior of the 'NumericCanBeEmpty' property for ComboBoxes and ListBoxes is now uniform.
FIX AMT 74 Low
AMT LION Developer Code Logic 328973, 329626, 329316

When two or more classes - both private and public - are passed in the parameter list of a routine, a C# error was thrown.

Due to some internal changes, the variables used the same name. This is now corrected.
FIX AMT 74 Low