AMT Release Notes

AMT 77

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

Special attention items:

There are no special attention items for this release.

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

AMT Reorganize occasionally got empty AMT Schema information, if the version number was read incorrectly and a fallback to the System Database was performed.

AMT Reorganize has been improved to prevent empty AMT Schema information.
FIX AMT 77 Low
AMT LION Developer Code Logic 303065

Some LION keywords were missing in the keywords list or their surrounding characters specifications were incorrect.

The keywords list has been updated and corrected.
FIX AMT 77 Low
AMT LION | AMT COBOL Developer Code Logic C2002-013

If UseSSL was passed as a  parameter for SmtpLogon, name and password were ignored.

UseSSL functionality has been corrected for SmtpLogon. SSL now works correctly and is enabled when passed as a parameter.
FIX AMT 77 Low
AMT LION | AMT COBOL AmtTools Reo 328753

Warnings in AMT Reorganize Analyze did not appear in the Analyze Results tab. Futhermore, skipping warnings was not an option in AMT Reorganize.

From now on, warnings are visible in the Analyze Results tab. A checkbox has been added to suppress warning messages. In a batch start of AMT Reorganize, option /SKIPWARNINGS can be set to T or F to suppress or show warnings, respectively. The default value for this switch is T.
CHANGE AMT 77 Low
AMT LION Developer Code Logic 329124

LION operators were not recognizable as such because of their grey colour in the LION Developer.

The default colour for LION operators has been set to RoyalBlue; operators and literals are now displayed in bold font for additional clarity.
FIX AMT 77 Medium
AMT LION | AMT COBOL Runtime Web Client 329527

StartupParameters were not accepted in a NoFramework environment.

All parameters are now accepted, no matter if ReturnUrl is present or not.

Important:
UserCode is only implemented if the key AmtImpersonate is added and set to true in the web.config.
UserCode for WindowsAuthentication in NoFramework is currently not supported.
Parameter ipaddress does not overwrite the workstation's actual IP- Address, this will be resolved in AMT 78.
FIX AMT 77 Low
AMT LION Developer Code Logic C2007-076

A run-time error occurred when JSON serialization for a LION-defined class was called, because the IgnoreJson attribute was missing in the native class.

This has been fixed by adding the attribute.
FIX AMT 77 Low
AMT LION Runtime Various C2009-003

Oneway Soap calls in Consumable webservices were not generated as such, as the ReplyAction attribute did not cater for them.

One way calls are now generated with the OneWay attribute in the SOAP's OperationContract.
FIX AMT 77 Low
AMT COBOL Runtime Various C2009-006

According to the COBOL manual the INSPECT..TALLYING statement, when used with the AFTER option, should return ZERO if the AFTER character is not found, but AMT COBOL returned the total length of the inspected value in these circumstances.

The AFTER option of the INSPECT..TALLYING statement now returns ZERO in AMT COBOL if the AFTER character is not found.
FIX AMT 77 Low
AMT LION Runtime Various 329617

Consumable Web Services gave a SOAP.SERVERFAULT error if numeric or Boolean types had null as a response.

Nullable type support has been added so nullable numeric and Boolean values are deserialized correctly.
FIX AMT 77 Low
AMT LION | AMT COBOL Runtime Scripts 329769

ComScript KillAll and StopAll locked up the AMTSYSBATCHREQUEST table when called, because the Commit was missing.

Commit is now called correctly.
FIX AMT 77 Low
AMT LION Runtime AmtScreens 329317

Getting data from a large database could be time consuming if performed with AMT Screens RTQuery.

Performance for RTQuery in Query mode has been improved by adding option FAST (FIRST_ROW_1 for Oracle), as it was done before for Table mode.
FIX AMT 77 Medium
AMT LION Generator Various 329286

A C-Sharp error concerning global namespaces occurred on generating Consumable Web Services.

The C-Sharp error has been resolved.
FIX AMT 77 Low
AMT LION AmtTools Debugger 329786

When the AMT Debugger was connected to an Application Manager/Server, the Start and Restart Reports options were still enabled, and when they were executed, an error occurred.

The options have now been disabled.
FIX AMT 77 Medium
AMT COBOL Runtime Various C2009-083

IBM and MicroFocus systems always reserve the last half byte of a BCD (COBOL: COMP-3) field for the sign. In unsigned fields this is filled with hex 'F'. AMT stored the 'F' but did not return it when the binary data was retrieved from the field.
This problem was visible in the AMT Flat File Converter used in migration projects. In AMT COBOL it is not visible as the retrieved (unsigned) value or data from a structure always includes the half byte.

With this fix the last half byte is returned for former IBM and MicroFocus environments. The File Converter now writes this correctly into the converted file.
FIX AMT 77 Low
AMT COBOL Runtime Various C2009-085

When the option 'Save copy of printfile in print folder' in the AMT Control Center was enabled, it was unclear which program created the print file.

The name of the COBOL program is now part of the print file.
CHANGE AMT 77 Low
AMT COBOL Runtime Various C2009-086

Only for former Microfocus COBOL applications: Occasionally error 'TransactionCode not found' occurred, even if a valid TransactionCode had been entered, as not all sections of the TransactionServer were aware of the TransactionCode yet.

This issue has been resolved by making the TransactionCode known to all sections of the TransactionServer.
FIX AMT 77 Low
AMT LION Runtime AmtScreens 329805

When AMT Screens RTQuery was opened, Oracle took a long time to read the tables, which sometimes led to time-outs.

Oracle performance in reading tables in AMT Screens RTQuery has been improved by using a different optimizer, so that time-outs no longer occur.
FIX AMT 77 Medium
AMT LION Runtime AmtScreens 329806

In AMT Screens RTQuery, Edit did not work under the following circumstances:
- A table was selected in Table mode, a switch was made to Query mode without the selection of an identity column and the mode was switched back to Table mode,
- Query mode was used with the selection of an identity column,
- a shortcut for a table was made in Query mode

Editing records in the Query mode of RTQuery when using a shortcut for a table is now fully supported.
FIX AMT 77 Medium
AMT COBOL Runtime Jobs/Batches 329796

When the AMT File Controller was run as part of the AMT Batch Controller, finished COBOL programs still showed an open AMT File Controller connection in the AMT Control Center File Monitor with Client Type ListBox. This did not happen when the AMT File Controller ran standalone. The disposal of the connection in the COBOL program was processed in the wrong order and Disconnect was not called properly.

With this change the AMT File Controller gets properly disconnected when running as part of the AMT Batch Controller. Also, a COBOL  program does not create a connection of type ListBox anymore when disposing of the connection.
FIX AMT 77 Low
AMT LION Runtime AmtScreens 329754 / 329758

The Wait cursor was not reset and the form flickered annoyingly while a transmission was taking place.

The Wait cursor is now set and reset at the correct moment for the whole application rather than for the form, and controls do not show their disabled state anymore when transmitting, thus preventing the flicker.
FIX AMT 77 Low
AMT COBOL Runtime Various C2009-091

The CALL .. USING .. GIVING .. statement gave an 'invalid number of arguments' parse error in the AMT Developer (former A-Series COBOL).

The GIVING part of the statement was not taken into account, this has been resolved.
FIX AMT 77 Low
AMT COBOL Runtime Various C2009-092

The GIVING clause of the CALL statement caused runtime exceptions in the AMT runtime if it was used for calling 'shared' (sub)programs.

The GIVING result parameter has now also been implemented for 'shared' (sub)programs.
FIX AMT 77 Low
AMT LION Developer Revision Control 329836

GetNewest for Locked objects didn't work: locked files were skipped if it was attempted to get the latest checked-in version of an object.

Now the latest checked in version of the object is fetched and new files that have not been checked in are ignored.
FIX AMT 77 Low
AMT LION | AMT COBOL Runtime Scripts 329726

If a Powershell script was run inside the AMT Batch Controller, running another script in a second application could fail because the path of the first script was used.

The use of a pool of Powershell hosts per application solves the internal Powershell issue of swapping the active script folder.
FIX AMT 77 Low
AMT COBOL Runtime Various C2010-017

In the situation of incorrect table versions in the application database - meaning that a REO was necessary- the AMT Transaction Server was not logging any error messages and kept running, which caused a 'hanging' application start up on the client side.

An error message is now logged and the AMT Transaction Server shuts down automatically.
FIX AMT 77 Low
AMT LION | AMT COBOL AmtTools Reo 329845

AMT Reorganize threw an error if an index had conditions and the table was created with ANSI_NULLS OFF. This occurred when, for performance reasons, AMT Reorganize tried to build a filtered index, which does not combine with ANSI_NULLS OFF.

The filtered index is not applied anymore in these cases.
FIX AMT 77 Low
AMT COBOL Runtime Various C2010-027

Exec Cics Delete with Generic and keylength equal to length of key didn't delete all the required records.

Functionality has been changed to check for multiple records that meet the given key.
CHANGE AMT 77 Low