AMT Release Notes

AMT 73

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

Special attention items:

AMT 73

Product Cat Subcat Description Type Version Priority
AMT LION | AMT COBOL AmtTools Reo 328783

When updating large tables with new columns in combination with options like Not Null, the performance of the Reo was slow because it would update the table for each column, rather then combining all operations of the same type.

The performance of the Reo tool has been improved, and column changes are now combined in one action, greatly increasing performance when multiple changes are made at the same time.
FIX AMT 73 Medium
AMT LION Runtime Web Client 329211

The Calendar in the Web client was only accepting the change of the day, the month or the year separately and typing was not allowed.

Now you can type in the date completely, and it will also accept the format MMddyyyy. When typing an invalid date, the calendar will reset and show the previous date chosen.
CHANGE AMT 73 Medium
AMT LION Generator Various 329286

In a consumable web service, a complex type with a property of the same name was not accepted.

AnyType element types are now supported and complex types with the same name work as expected.
FIX AMT 73 Medium
AMT LION Developer Web Services 329264

GOTOFORM ('BYE') was not processed correctly, the session should be closed.

GOTOFORM ('BYE') now correctly closes the connection, no further transmits are possible unless reconnected.
FIX AMT 73 High
AMT LION Runtime AmtScreens 329390

The Fileuploader object did not work anymore when named pipes were used (where FileController and Application server are running on the same machine).

There was an issue in the communication layer that has been corrected. Now uploading of files functions properly again.
FIX AMT 73 High
AMT LION Runtime AmtScreens 329425

When setting a combobox with a Style property of 'Drop down' and a Type of 'Numeric', a zero is always shown instead of an empty combobox.

A 'NumericCanBeEmpty' option has been added for the ComboBox in AMT Developer Studio. When set to 'True', an empty combobox can be shown, otherwise a zero is displayed.
CHANGE AMT 73 Medium
AMT LION Runtime AmtScreens 329439

In AmtScreens, RtQuery would not always correctly display columns containing an underscore in the name.

The RtQuery column names all display correctly now.
FIX AMT 73 Medium
AMT LION Developer Code Logic C2006-039

Support added for routines (methods) inside classes. Local classes are also now definable in reports/forms.
NEW AMT 73 Medium
AMT LION Runtime AmtScreens 329432

Memo fields and Editboxes had a padding fault that offset the text to the right and created alignment issues.

Text in Memo fields and Editboxes now start at the right side of the field/box.
FIX AMT 73 Low
AMT LION Runtime AmtScreens 329435, 329037

In AmtScreens, RtQuery only allowed editing of a record when in table mode. It was also not possible to copy the contents of a single cell. When copying data from a single cell, the entire row was copied.

Edits can be made when in both table and query mode. Note: The identity column is necessary to enable edit mode. This can be done by using select * or including the identity column in the select clause.
Single cell values can now be copied when selected.
CHANGE AMT 73 Medium
AMT LION Runtime AmtScreens 329447

When executing an Update, Insert or Delete query in RtQuery, no message was shown indicating the total number of affected records.

When executing an Update, Insert or Delete query, the amount of rows affected is shown at the bottom. Also when performing a Select query, the amount of records read is shown at the bottom.
FIX AMT 73 Low
AMT LION Runtime Web Client 329345

Alignment of Panels and Groupboxes did not work as expected in the Web client. When the Align property was set to 'Bottom', the panel was shown at the bottom of the page height.

The alignment in the Web client now behaves in the same manner as AmtScreens.
FIX AMT 73 Low
AMT LION | AMT COBOL Developer Code Logic 329485

The RESOK system item should not be affected by calling ToJson or ToXml for classes and lists.

When calling ToJson or ToXml, RESOK is not set anymore as this action could change the state unintentionally.
CHANGE AMT 73 Medium
AMT LION Services Application Server/Manager C2006-058

The Lion ApplicationServer uses AppDomains to handle Foms. AppDomains are not supported in .NET Core, so a replacement is necessary.

Much like the BatchController, the ApplicationServer now uses Agent processes for executing Forms. A new Agent is started if forms are generated while the ApplicationServer is active. A separate Agent is also used for Debugging with the Lion Debugger.
CHANGE AMT 73 Medium
AMT LION | AMT COBOL Developer Forms 320337

The font editor for all objects in AMT Developer Studio only presented 16 color options to select.

The font editor now offers the same 16 color options as well as a button that opens a popup that allows the selection of any color.
CHANGE AMT 73 Low
AMT LION Runtime AmtScreens 329099

When a transaction was in progress, AmtScreens would freeze when selecting tabs that shared the connection - like Job Management.

Other tabs and menu items like Select Screens are now shown disabled or show a message when a transaction is in progress, which prevents AmtScreens from freezing.
CHANGE AMT 73 Medium
AMT LION | AMT COBOL Control Center Various 329487

When the Control Center encounters a problem, it tries to write this issue into a log file. If the user does not have the rights to write into this log file, then the system will continuously try to write this error into the same file creating an unending loop.

Error handling has been created to cancel the unending loop.
FIX AMT 73 Medium
AMT LION | AMT COBOL Services Batch Controller C2006-080

When shutting down the AMT BatchController, it was erroneously reporting the controller as stopped even though its agents are still running.

The method used by the BatchController to detect if an agent is still running has been modified. This ensures that the controller is shut down after all the agents have been terminated.
FIX AMT 73 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches 329285

When a network share is used, the AMT FileController produces errors when sorting larger files.

An improvement was made to improve the handling when deleting the temporary sort files. The AMT standard file retry mechanism is utilized to improve performance.
FIX AMT 73 Medium
AMT LION | AMT COBOL AmtTools Reo 329406

The AmtReorganize tool is incorrectly showing changes when there is a primary key index with index logic.

Improved the checking mechanism on changes of index logic in combination with a primary key.
FIX AMT 73 Medium
AMT LION | AMT COBOL Services File Controller C2007-005

AMT File Controller seemingly randomly raised error 'No current connection with the AFC'. This was due to timing errors.

Timings have been improved and the way a gRPC connection to the AMT File Controller is created /maintained has been fixed.
FIX AMT 73 High
AMT LION | AMT COBOL AmtTools Debugger C2007-007

Debugger does not stop at a breakpoint when debugging an application with NoFramework enabled.

Changes have been made to enable debugging an application with NoFramework enabled.
FIX AMT 73 High
AMT LION | AMT COBOL AmtTools Debugger C2007-012

AMT LionDebugger crashed when encountering a line with unmatched brackets.

Code has been modified so that exceptions are prevented when the LionDebugger is not able to find a matching bracket.
FIX AMT 73 High
AMT COBOL Runtime Various C2007-017

The BLANK WHEN ZERO clause was being ignored for numeric fields with decimals.

BLANK WHEN ZERO clause functions as expected.
FIX AMT 73 Medium
AMT LION Runtime AmtScreens 2007-018

In AmtScreens, the Timeout for a query was set in milliseconds instead of seconds.

The interval of the timer was changed from millisecond to seconds.
FIX AMT 73 High
AMT COBOL Runtime Various C2007-021

An IBM CICS READ statement with length specified smaller than the receiving structure would return a shortened structure. This caused the size of the receiving structure to be different than it was prior to the READ.

This issue is fixed in the runtime for the READ, READNEXT and READPREV statements. When the specified length is smaller than the length of the receiving structure, the specified number of bytes (by length) are replaced by the bytes that were read while the rest of the receiving structure is left as is. This ensures that the size of the receiving structure is the same before and after reading.
FIX AMT 73 Medium
AMT COBOL Runtime Various C1207-024

Rewriting of a SQLite file that was read sequentially gives a duplicate key error.

This has now been solved inside the AMT FileController, which was using the wrong record number.
FIX AMT 73 Low
AMT COBOL Runtime Various C2007-027

Reading records in a VSAM file with the ReadNext functionality resulted in the first record being returned twice..

This is fixed in the AMT runtime. Reading records in a VSAM file with the ReadNext functionality will now correctly return each record once.
FIX AMT 73 Low
AMT COBOL Runtime Various 329532

Logging off a session caused the transaction controller to shut down and required an IIS reboot to start again. This was caused by the switch to gRPC.

Now the logoff session no longer causes the crash of the transaction server.
FIX AMT 73 High
AMT COBOL Runtime Various 329534

When executing 'DECLARE CURSOR' before each fetch and another query was active at that moment in the same program, a 'Parameter not found' exception was thrown.

Now the right query is selected when using 'DECLARE CURSOR' before each fetch. It is however recommended to execute it only before an OPEN and not before FETCH/CLOSE commands.
FIX AMT 73 Medium
AMT LION | AMT COBOL Runtime Various C2007-030

AMT CURSOR performance decreased due to database statistics fix.

This issue has been resolved.
FIX AMT 73 Medium
AMT COBOL Runtime Various C2007-031

An error in an AMT COBOL program when calling a subprogram through an external DLL. All code executes correctly but the program may return an error when in it is cleaning up everything. The exception shown was: 'Collection was modified; enumeration operation may not execute'.

The runtime library code was fixed to resolve this error.
FIX AMT 73 Medium
AMT COBOL Generator Various C2007-033

The Select statement with null-indicators array did not generate properly, only the first element was filled.

Now all array elements are filled. The number of array elements needs to match the number of fields in the Select statement.
FIX AMT 73 Medium
AMT LION | AMT COBOL Runtime Various C2007-034

When restarting/stopping IIS an exception was thrown due to gRPC not properly unloading when closing/restarting an IIS environment. This is a known issue.

For now, the logging will be done to the app_data directories of the Application/Control Center/Application Center.
FIX AMT 73 Medium
AMT LION | AMT COBOL Runtime Various C2007-035

Some calls to the AMT FileController returned with an error 'deadline exceeded'. This is the timeout expiring, as it was set to only 10 seconds.

All regular calls now can be set to 10 minutes, and sort calls up to 2 hours.
CHANGE AMT 73 High
AMT COBOL Runtime Various 329450

The EXEC DB2 command was not working when the min/max function had two arguments.

Added support for two arguments in the EXEC DB2 MIN/MAX functions. When more are specified, an error is raised.
FIX AMT 73 Medium
AMT COBOL Runtime Various C2007-040

A CICS READ with GENERIC specified returned a normal status even though the requested record was not found.

The return status is now returned as 'not found'.
FIX AMT 73 Low
AMT COBOL Runtime Various 329554

When a transaction was disabled, its error message could not be localized.

Now the message can be localized in the AmtLocalisation.xml. When using the COM Module, you need to set the language before the connection.
FIX AMT 73 Medium
AMT COBOL Generator Various 329524

In AMT COBOL/AMT VS, the C# generator detects when a GOTO statement jumps out of a section. The program flow then falls through other sections. In C#, this code needs to be generated differently as a GOTO outside a routine is not allowed. Some sections that should be included were not included.

All sections in the fall through flow are now included in the detection.
FIX AMT 73 Medium
AMT LION | AMT COBOL Developer Revision Control 329553

When the script folder is empty within a generation set in AMT Developer Studio, the action 'Get Newest' (Revision screen) gives an error on every script.

The error message option has been improved. You now can abort the 'Get Newest' action after an error.
FIX AMT 73 Medium