AMT Release Notes

AMT 72

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

Special attention items:

AMT 72

Product Cat Subcat Description Type Version Priority
AMT LION Runtime Web Client 329136, 329172

When the AMT Web client was used, AMT Combobox popups were not fully visible in layouts containing multiple panels.

The popup is now always visible at the highest level. it no longer depends on the surrounding AMT Panels.
FIX AMT 72 Low
AMT LION Runtime Web Client 329198

Comboboxes in the AMT Web client did not close upon selection of a different control.

Comboboxes now close when a click outside the combobox is registered.
FIX AMT 72 Medium
AMT LION Runtime Various 329341, 329234

In the AMT Web Client, alignment of numeric Editboxes was not functioning properly. Numeric Editboxes were automatically right-aligned regardless of the desired alignment.
Also, if you had underlining for the whole field and center alignment for alpha Editboxes, alignment was lost after a transmit, both in AMT Screens and the Web Client.

The alignment now works correctly.
FIX AMT 72 Low
AMT LION Runtime Various 329211

A date entered with format 'ddmmyyyy' in a Calendar control was not accepted.
If an invalid date was typed, the Textbox was not reset.

Format 'ddmmyyyy' is now accepted. If an invalid date is typed, the Textbox now resets to the last saved date.
CHANGE AMT 72 Low
AMT LION Runtime AmtScreens 329317

There was no correct error handling if a user without enough rights tried to access the RTQuery tab.

Error handling has been added so that AMT Screens no longer freezes.
FIX AMT 72 Low
AMT LION Developer Web Services 329252, 329323

LionScreens provider WSDL could not be loaded into a consumable provider anymore without raising errors.
Reserved words used within the Web Service contract caused issues when Web Consumables were generated.

The LionScreens provider has been extended with new functions, enabling loading into Consumables.
Reserved words are now processed correctly, and Web Consumables are generated appropriately.
FIX AMT 72 Low
AMT LION Runtime AmtScreens C2005-059

Field-length calculations regarded a negative sign as a digit, which meant that maximum length was reached too early, so that input was blocked where it should be allowed, for Signed and Financial Editboxes.

Field-length calculations now take into account the negative sign, and are processed correctly.
FIX AMT 72 Low
AMT COBOL Runtime Various C2006-001

In the ongoing move to .NET Core, the AMT Transaction server was next to be converted.

The AMT Transaction Server has been converted to .NET Core. The Transaction Agent and LionDebuggerHost remain in the .NET Framework for the time being, they have been moved to subdirectories.
CHANGE AMT 72 Low
AMT COBOL Runtime Various C2006-002

AMT COBOL clients used WCF TCP communication with the AMT Transaction Server.

AMT COBOL clients now use gRPC communication with the AMT Transaction Server. This is in preparation for the move to .NET Core.
CHANGE AMT 72 Low
AMT LION | AMT COBOL Runtime Various C2006-003

As part of our move to .NET Core, the AMT Batch Controller was next in line for conversion.

The AMT Batch Controller has been converted to .NET Core 3.1. The Batch Controller Agent, PowerShell host and LionDebuggerHost remain in .NET Framework 4.8.
CHANGE AMT 72 Low
AMT LION | AMT COBOL Services Print Controller C2006-004

The third-party library used for PDF printing does not yet support .NET Core, which is expected to arrive in a few months. Until then, a temporary solution was needed for PDF printing in .NET Core.

The print service now delegates PDF printing to the AMT CallDll, allowing the print service to move to .NET Core sooner.
CHANGE AMT 72 Low
AMT LION Runtime AmtScreens 329442

AMT Screens required more RTQuery functionality for exporting data to CSV, as field delimiters such as ';' and ',' could also occur within text fields and then caused an error.

One of the options for data export is now that text fields can be enclosed in double quotes so field delimiters like ' ;' can be used without problems again.
FIX AMT 72 Low
AMT LION | AMT COBOL Runtime Various C2006-008

The number of DB finds, DB records and DB stores, which are part of the Statistical Data as shown in the AMT Control Center, were calculated incorrectly for free-join-queries.

This issue has been resolved.
FIX AMT 72 Low
AMT COBOL Runtime Various C2006-009

AMT COBOL has a new feature that allows the user to cache query data, so it can be called multiple times with the same parameters. The feature is activated with command 'EXEC DB2 ALLOW AMTCACHE'.
CHANGE AMT 72 Medium
AMT LION Developer Web Services C2006-010

Default for new Provided Web Services was RPC/encoding, instead of the recommended Document/Literal.

The default for new Provided Web Services is now Document/Literal.
CHANGE AMT 72 Low
AMT LION Developer Web Services C2006-011

The new style provided by the AMT LionScreensProvider could not be consumed by a Consumable Web Service.

Support for the new style provided by the AMT LionScreensProvider (routines starting with 'Amt') has been added.
CHANGE AMT 72 Low
AMT COBOL Runtime Various C2006-012

The initial value of a numeric Editbox was not correctly shown in COBOL applications.
If, in a numeric Editbox, the 'Numeric can be empty' property was set but no 'InitialValue' was specified, the initial value was incorrectly set to 0 by the AMT Generator.

This has been corrected. If 'Numeric can be empty' is set and no 'InitialValue' is specified, the initial value is set to an empty string by the AMT Generator. The runtime behaviour of the initial values has also been fixed, initial value '0' or an empty string are processed correctly now.
FIX AMT 72 Low
AMT LION | AMT COBOL Services Print Controller C2006-013

As part of our move to .NET Core, the AMT Print Controller was next in line for conversion.

The AMT Print Controller has been converted to a .NET Core 3.1 Application.
CHANGE AMT 72 Low
AMT LION Runtime Jobs/Batches 329434

The Call ('<<fileaction>>, 'FINDFILES') produced an error indicating that the required DLL could not be found.

AMT has been corrected so that Call ('<<fileaction>>, 'FINDFILES') is handled the same way as Call ('<<fileaction>>, 'FINDFILES.DLL'). This is for backwards compatibility with the FINDFILES function. The new/normal usage is through the AMT File Controller.
FIX AMT 72 Low
AMT LION Runtime AmtScreens 329422

Launching AMT Screens through a shortcut needed 'start in' to be specified more extensively.

AMT Screens has been corrected so it also looks for 'app.ini' within the application executable directory. It has now the following order for determining which 'app.ini' to use:
1. Use 'app.ini' specified in the startup parameters (/I:<<app.ini file<<);
2. Use 'app.ini' in the application executable directory (application ClientGui directory);
3. Use 'app.ini' in the current directory.
FIX AMT 72 Low
AMT LION Runtime AmtScreens 329099

AMT Screens froze during long transactions.

Fireup, Transmit and Select Screen have all been made Async, which means that the screen will stay responsive. The screen is also visibly disabled during transactions, so it is clear Transactions are being processed.
FIX AMT 72 Low
AMT LION Developer Web Services 329402

Tab 'Consumable Web Services' didn't have the revision information other implementation tabs had.

The revision information for Consumable Web Services can now be turned on and off by using the context menu, including cut/copy/paste and 'show line numbers'.
CHANGE AMT 72 Low
AMT LION Runtime AmtScreens 329426

If a control was clicked multiple times in a short period, an event was also raised multiple times, even if the control was supposed to be disabled after the event.

Now an event is raised only once.
FIX AMT 72 Low
AMT LION Runtime AmtScreens 329438

If RTQuery was used in Table Mode, it was not possible to change the maximum number of records.

Now the maximum number of records can be changed by typing a value or by using the up-arrow.
FIX AMT 72 Low
AMT LION Runtime AmtScreens 329441

AMT Screens RTQuery PDF printing wrote record data over the page footer.

PDF creation has been improved so that record data no longer overwrites the page footer.
FIX AMT 72 Low
AMT LION Runtime AmtScreens 329448

In RTQuery, queries separated by a semicolon were all executed at once.

Now only one query is executed at a time, starting with the query with the cursor on it,
FIX AMT 72 Low
AMT COBOL Runtime Various 329450

In specific situations, IBM DB2 queries with date arithmetic were converted incorrectly.

IBM DB2 queries with parenthesized date arithmetic are now converted correctly.
CHANGE AMT 72 Low
AMT LION Runtime AmtScreens 329424

If a non-existing value was supplied to a Radiobuttongroup, the value became 'unknown' instead of 'default'.

Radiobuttongroups now assign the default value if a non-existing value is supplied.
FIX AMT 72 Low
AMT LION | AMT COBOL Runtime Various C2006-035

The function ToString of the DateTime class could have a huge negative impact on performance if used often.

A new internal function has been written to improve performance and bypass the standard call for specific, most frequently used datetime formats.
CHANGE AMT 72 Low
AMT COBOL Runtime Various 329453

If a COMP-1 or COMP-2 was moved in IBM COBOL the result was not rounded.

Now the result is rounded if a floating point value is moved directly to a fixed point decimals field.
FIX AMT 72 Low
AMT COBOL Runtime Various C2006-037

AMT Transaction Server went down if a heartbeat failed due to 'no database connection', which it mustn't.

Just like the AMT Batch Controller, the AMT Transaction Server will now just keep retrying to connect.
FIX AMT 72 Low
AMT COBOL Runtime Various C2006-038

An EXEC SQL 'OPEN <cursor>' query did not set the DB connection back to transaction after a 'COMMIT' if the AMTCURSOR implementation in AMT COBOL was used.

This issue has been resolved.
FIX AMT 72 Low
AMT COBOL Runtime Various C2006-040

If, for some reason, the AMT Transaction Server went down unexpectedly, the AMT Transaction Agents did not stop, and continued to run. This caused the AMT Transaction Server to restart incorrectly.

The AMT Transaction Agent now checks if the AMT Transaction Server process is still running every 30 seconds.
CHANGE AMT 72 Low
AMT LION | AMT COBOL Control Center Server Control C2006-047

The 'Users' tab in the 'Server Control' part of the AMT Control Center in the AMT Transaction Server view no longer functioned correctly, no data was shown.

This has been resolved, the data is shown again.
FIX AMT 72 Low
AMT LION | AMT COBOL Runtime Various C2006-048

When database tracing was enabled, the numbers for the Open Prepared function were incorrect because the start time was logged instead of the end time.

Database tracing has been fixed, the end time is now logged.
CHANGE AMT 72 Low
AMT LION Runtime Scripts 314732

The AMT FileObject copyFolder always performed an overwrite regardless of the overwrite parameter.

The overwrite parameter is now applied correctly to the overwrite copyFolder action.
FIX AMT 72 Low
AMT COBOL Runtime Various 329466

Executing DECLARE CURSOR before every FETCH FROM cursor caused SqlCode to be set. This occurred if a cursor optimization switch was active.

Now the DECLARE CURSOR statement is ignored if it is already set/active, so FETCH FROM returns the next record.
FIX AMT 72 Low
AMT LION | AMT COBOL Services Print Controller 329465

Since the introduction of the Print Database Web API in AMT 71, remote Print Controllers incorrectly logged that the configuration could not be found in the database, whereas the real issue was an incorrect API address in the configuration file.

If the configuration file contains an invalid API address, the correct error is now logged. Furthermore, errors that occur while a request is sent to the API are more clearly described in the log file.
FIX AMT 72 Low
AMT LION Generator Various C2006-061

Generation failed under certain circumstances, because of the use of 'si-sqlcode', which had been changed from a native int to an AMT variable, for performance reasons.

This issue has been resolved.
FIX AMT 72 Low
AMT COBOL Runtime Various C2006-062

Former A Series only: The native integer/decimal performance optimization in the AMT Generator was causing problems with redefines and memory buffers that were starting/ending on half-byte boundaries.

This issue has been resolved.
FIX AMT 72 Low
AMT LION | AMT COBOL Runtime Various C2006-067

The spare AMT File Controller did not work correctly with the new gRPC and Named Pipes protocols.

This behaviour has been adjusted, and performance improved.
FIX AMT 72 Low
AMT LION | AMT COBOL Control Center Various 329498

There was an issue with the 'Read all jobs from system' process in the AMT Control Center, and also with the 'Automatically update available programs/scripts' process of the AMT Batch Controller. These processes replaced parts of the file path with placeholders like %SYSROOT%, %APPROOT%, %APPNAME% and %ENV%. This caused problems in situations where a placeholder name itself contained parts that were replaced by another placeholder.

This issue has been resolved by looking for whole word boundaries only.
FIX AMT 72 Low