AMT Release Notes

AMT 63

Released: 03 Jan 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 Runtime AmtScreens C1911-107

In RTQuery, the use of Query mode after the use of Table mode could generate exceptions. Also, editing records in Query mode occasionally raised exceptions, when column information from Table mode was reused in Query mode.

A check has been added to prevent the exceptions, and editing records in Query mode is no longer possible.
FIX AMT 63
AMT LION Developer Various 326440

Options presented in the right-click menu of the Repository of AMT Developer Studio differed greatly per folder type.

A more uniform layout has been built, meaning objects can now be inserted more easily.
FIX AMT 63
AMT COBOL Runtime Various C1910-119

Indexed files were not read in blocks, as sequential files were, which led to decreased performance.
For line sequential files files are read in blocks to increase performance.

Now block reading is also done with indexed files, in steps (1-10-50-100, etc., depending on file-size), and only if a Read Next is executed.
CHANGE AMT 63
AMT LION Developer Web Services 326854

If the retrieval of one of the WSDL resources failed, the exception message lacked the URL of the failing request.

Checks for failures on loading WSDL have been made more granular, so the code can inform  the user where the failed request originated from.

Note: This increases the load time for WSDL files by half.
FIX AMT 63
AMT COBOL Comscript JCL C1911-067

New functions have been added to the Comscript Sort interface and FileController Sort for migrated IBM AMT COBOL applications.
Support for IBM DFSORT INCLUDE and OMIT parameters has been improved.
Support for SUM FIELDS= and OUTREC FIELDS= parameters has been added.
Comscript functions are documented in the help files. This functionality is useful in converted JCL scripts (running migration projects only).
NEW AMT 63
AMT LION Runtime AmtScreens 328676

When logic involving a refresh was executed in AMT Screens, the scrollbars in the Scroll Box were reset, which they shouldn't be.

The scollbars on the Scroll Box are now only reset to the top if the Display Main is executed.
FIX AMT 63
AMT COBOL Control Center Various C1911-101

A request was made for users connected to a Transaction Server to be made visible.  This enables the customer to see which users are logged into the application at any given time.

An extra tab page 'Users' has been added to the Transaction Server information screen in the Control Center. This can be viewed under 'Applications' --> 'Server Control'. The Session Id, Username, Station and Transaction Code are displayed for each user that is connected to the selected Transaction Server.
NEW AMT 63
AMT COBOL Runtime Various C1911-108

When zeros are entered in a Numeric field with a 'blank-when-zero' format, most terminal emulators used on mainframes keep displaying the zeros when the field is left, the format only being applied after a transmit. AMT COBOL applied the format directly when the field was left.

AMT Cobol now has the same behaviour as most terminal emulators.
CHANGE AMT 63
AMT LION | AMT COBOL Developer Database C1911-109

For Oracle, AMT generation failed because object names were restricted to a length of 30 characters.

For the latest supported version the maximum length has been increased to 128 characters. The length check has been removed from the AMT product, making the developer responsible for observing the maximum length of object names.
FIX AMT 63
AMT LION Runtime Web Client C1911-112

Loading Bootstrap was causing many visual errors.

Visual errors have been solved by overriding some of its properties in the added Bootstrap source code.

Note that by default Bootstrap is not loaded.
FIX AMT 63
AMT COBOL Runtime COBOL 328723 

IBM DB2 queries that contain datetime string literals failed to execute on MS SQL server, giving RETURNCODE = 116.

The AMT Generator now fixes IBM DB2 queries that contain datetime string literals so they can be executed on MS SQL Server.
FIX AMT 63
AMT COBOL Runtime COBOL 328737

A DB2 query containing "CAST(x AS DECIMAL (x))"  was converted incorrectly, which caused the CAST to happen twice and resulted in an SQL syntax error.

DB2 queries containing "CAST(x AS DECIMAL (x))"  are now converted correctly.
FIX AMT 63
AMT COBOL Runtime Various C1911-117

AMT COBOL 'Shared' programs that access the database crashed in specific situations with a NULL reference exception when they were executed more than once.

This issue has been resolved.
FIX AMT 63
AMT COBOL Runtime COBOL 328729

If the query was an insert statement with a select identity, the IBM DB2 COMMIT WORK command did not immediately commit changes to the database, because flag ChangeInTransaction was not set to true.

The IBM DB2 COMMIT WORK command now commits correctly to the database by setting flag ChangeInTransaction to true if the query is an insert statement with a select identity.
FIX AMT 63
AMT LION Runtime AmtScreens 328714

Vertical navigation through fields with Occurrence set did not select the complete field value.

When fields are navigated through with the up and down arrow keys with Occurrence set, the whole field is now selected.
FIX AMT 63
AMT LION Runtime AmtScreens 328721

AMT Screens intermittently crashed.

These crashes now no longer occur, as null-checks on screen values have been added and initializations of Editboxes have been improved.
FIX AMT 63
AMT COBOL Control Center Various C1912-010

In COBOL applications, The Source and JobName columns in the lists of messages in the Control Center contained the same value for each entry.

The Source and JobName columns now contain different values. The Source shows the actual source of the message,  and the JobName shows the name of the job (or program) that was started.
CHANGE AMT 63
AMT COBOL Runtime JCL 328764

Programs aborted with error: 'Error locating print text id' if they used a copy containing a WRITE statement. The copy was used in multiple programs with different file definitions, but was generated with the print file definition of the last program that used it. This caused a mismatch with programs generated earlier.

The generater has been fixed to prevent this mismatch from occurring.
FIX AMT 63
AMT LION Runtime AmtScreens 328698

AMT Screens crashed when display scale and layout percentage settings of windows were changed.

AMT Screens has been modified to prevent this application crash.
FIX AMT 63
AMT COBOL Runtime Various C1912-021

The current TransactionHook interface doesn't offer sufficient options to modify specific transaction data properties required to mimic customer specific pre/post transaction processing items.

The TransactionHook interface has been changed to provide more options. For more information, please look at this help page.
CHANGE AMT 63
AMT COBOL Runtime Various C1912-023

AMT COBOL A-Series SDF only: The NOINPUT attribute flag should be set for fields that contain blanks when transmitted. This did not work correctly in AMT COBOL.

This issue has been resolved.
FIX AMT 63
AMT COBOL Runtime Various C1912-024

Program crashed with 'Can't find prepared handle XXX' error when the first query executed was cancelled.

This problem is caused by ADO.NET and can be solved by using a the assembly Asysco.Amt.AmtSqlServerWrapper.dll, which replaces part of the functionality in ADO.NET.
FIX AMT 63
AMT LION Runtime AmtScreens 328670

Fields in AMT Screens lost focus when the underlying panel or canvas was clicked.

Panels and canvases cannot receive focus anymore.
FIX AMT 63
AMT LION | AMT COBOL Runtime Web Client 328665

Sessions could be hijacked within an AMT application, in spite of the presence of AMT Cookies.

To prevent session hijacking, AMT Cookies are now created with 'SameSite=Strict' to increase security.
FIX AMT 63
AMT COBOL Control Center Server Control C1912-030

In the Control Center, when users connected to the Transaction Server were viewed, the Form Name was shown in the Transaction Code field.

Now, field Form Name has been added to show the actual form name, and the Transaction Code is now displayed correctly, in the Transaction Code field.
NEW AMT 63
AMT LION Runtime AmtScreens 328708

In AMT Screens, the menu item 'Clear To End' was missing, although the functionality was present (Ctrl+Del). End users indicated they would like to have this menu item added for convenience.

The menu item has been added, and  the functionality in AMT Screens  has been changed to mimic Lionscreens.
FIX AMT 63
AMT COBOL Runtime Various C1912-050

AMT Cobol A-Series only: the value of read-only fields with an initial value was overwritten with spaces in de WS-TO-FORM logic.

This issue has been resolved.
FIX AMT 63