AMT Release Notes

AMT 97

Released: 17 Dec 2021.
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 Developer Reports 325278 / C2103-018

A new system Enum has been introduced, SE-TextAlignment, which can be used to set alignment of a graphical text label.
NEW AMT 97 Medium
AMT COBOL Control Center Various 329572 / C2103-020

In AMT Control Center > System Configuration > Transactions > Program Control, the screen showed all available programs, regardless of the value in Items/Page. Furthermore, it didn't show the total number of programs.

The page now shows the total number of programs selected in Items/Page in the toolbar, and the total number of programs available.
FIX AMT 97 Medium
AMT LION | AMT COBOL Runtime Various 330407 / C2103-052

Stopping of unused agents needed improvements.

Agent throttling has been added, and the minimum and maximum number of agents can be specified now, along with an idle timeout. Also batch request handling has been improved so jobs are balanced better.

Note: The use of a maximum numbers of agents is not recommended in situations with more than one application. An unlimited number of agents does work under those circumstances.
FIX AMT 97 Medium
AMT LION | AMT COBOL Runtime Various 314377 / C2103-146

Sometimes, a Lion programmer needs to overrule the default strategy for the number of rows to be fetched from the database, for example if a form page consists of a specific number of rows that have to be filled.

For this purpose, the <tablequery>.FETCHROWS (n) function has been introduced. Coding FETCHROWS before the tablequery.index/equal/start command sequence sets the number of rows to be fetched initially, and subsequently, if further fetching is necessary. Specifying FETCHROWS without a parameter, or specifying 0, resets the default number, so that the original strategy for forms or reports is resumed when database rows with <tablequery> are retrieved.

The parameter passed to FETCHROWS must be a non-negative integer literal.

NOTE:  For AMT 97, FETCHROWS(n) does not apply to locked reads. This will be addressed in AMT 98.
NEW AMT 97 Medium
AMT COBOL Control Center Various C2105-095

The Transaction Server did not clean up expired sessions because the name of the Transaction Server was not recorded in the sessions. Therefore it was unknown which Transaction Server was responsible for cleaning up.

The recorded data of each session now also contains the name of the Transaction Server it belonged to in it, so the Transaction Server can clean its sessions up on restart.
FIX AMT 97 Medium
AMT LION | AMT COBOL Developer Various 329979 / C2109-025

In the AMT Developer Studio, the 'Delete Application' option was removed from the 'Access' tab and moved to the 'Groups' tab.
CHANGE AMT 97 Medium
AMT LION | AMT COBOL Runtime AmtScreens C2109-050

In RTQuery, numeric values were aligned to the left, which caused unwanted visualisation of the result data.

Numeric values in RTQuery are now aligned to the right, so that the layout of result data makes more sense.
CHANGE AMT 97 Medium
AMT LION | AMT COBOL Control Center Various C2111-027

Scripts showed a state of 'running' whereas they were actually waiting for an input request to be answered.

The 'Running reports' screen, now shows input requests instead of state 'running'.
FIX AMT 97 Medium
AMT LION | AMT COBOL Control Center Security C2111-031

User names could contain whitespace characters in 'User creation' tab (under Security -> Users). This led to users being created with faulty user names, which could then not be linked to a role.

If a user is created in the AMT Control Center (under the tab Security -> Users), the username is now checked for any illegal whitespace characters, and is rejected if they are found.
FIX AMT 97 Medium
AMT LION Runtime AmtScreens 331691 / C2111-035

In AMT Screens, using the full-stop as a shortcut key to insert a comma, led to double commas. Also, it was impossible to use the full-stop on the numeric keypad as a shortcut key.

Now, the comma does not occur twice anymore, and the full-stop on the numeric keypad can be used as a shortcut key.
FIX AMT 97 Medium
AMT LION Runtime AmtScreens 330913 / C2111-040

In RTQuery, columns' widths in a result view were not resizing as required.

Columns in the result view in RTQuery now resize as intended, using the correct resizing calculations.
FIX AMT 97 Medium
AMT LION Runtime AmtScreens 330026 / C2111-041

AMT Screens crashed with message 'exception message : Session cannot be created, no application server or manager address defined', due to a faulty App.ini. There should have been a warning, not a crash, however.

Error handling has been improved, so there is clear message now if an Application Server's address isn't configured correctly.
FIX AMT 97 Medium
AMT LION | AMT COBOL AmtTools Various C2111-050

The AMT Opcon service logged to C:\AmtLogging, which was incorrect.

The logging path of the AMT Opcon service is now correctly set to the AMT System logging path, set in the AMT Control Center.
FIX AMT 97 Medium
AMT LION Runtime AmtScreens 331674 / C2111-052

In AMT Screens, MaskEditbox did not show empty when ClearEmpty was set and the MaskEditbox was focused.

Due to improved handling of focus in combination with the ClearEmpty property of the MaskEditbox, the MaskEditbox is now cleared as intended.
FIX AMT 97 Medium
AMT LION | AMT COBOL Developer Forms 331726 / C2111-053

In AMT Developer Studio, the user option 'Default web enabled' didn't work if AMT Developer was closed after the settings had been changed and no new form had been created in the same session.

Reading and saving of the ‘Default web enabled’ option has now been improved, so the option works as expected.
FIX AMT 97 Medium
AMT LION Runtime AmtScreens 331676  C2111-054

In AMT Screens, Listview events didn't work if the Listview had a custom colour.

The colour handling of a Listview cell has been improved, so that Listview events are handled correctly now.
FIX AMT 97 Medium
AMT LION | AMT COBOL AmtTools Reo 331734 / C2111-056

Running AMT Reorganize on Oracle recreates the triggers each time the triggers are not using the OLD values.

Now, if the OLD values are not used, AMT Reorganize no longer recreates triggers unnecessarily.
FIX AMT 97 Medium
AMT LION | AMT COBOL AmtTools Reo 331740 / C2111-058

AMT Reorganize in Oracle environments was dropping/creating indexes in each run if the index was unique and had included columns, which AMT treats differently from Oracle.

The index state is correctly identified now, and the unnecessary Drop/Create is no longer executed.
FIX AMT 97 Medium
AMT LION | AMT COBOL AmtTools Reo C2111-062

AMT Reorganize crashed when {SCHEMA} was used in an SQL query object (view/trigger etc). This was an Alias problem.

AMT Reorganize now uses ReplaceAliases in these situations and no longer crashes.
FIX AMT 97 Medium
AMT LION | AMT COBOL AmtTools Various 331750 / C2111-064

When dealing with higher loads, AMT Batch Controllers often generated bug reports about lock timeouts, which indicated when to limit the number of concurrent jobs on a queue.

The risk of this happening has been reduced by applying a different locking mechanism.
FIX AMT 97 High
AMT LION Runtime AmtScreens 331692 / C2111-065

In AMT Screens, the Up and Down keys didn't work correctly in situations with multiple occurrences of an Editbox.

Handling of Editboxes has been improved, so that they recognize their parent control.

Note: Up and Down keys work within tab sheets or in a whole form and if they aren't  bound to a Panel or Groupbox.
FIX AMT 97 Medium
AMT COBOL Runtime Various C2111-073

DB2 function TIMESTAMP_ISO is now  implemented in AMT COBOL.
NEW AMT 97 Medium
AMT LION | AMT COBOL Runtime Various 331750 / C2111-074

If 100+ reports were started simultaneously, some had trouble connecting to the AMT File Controller in time.

This problem has been solved by increasing 'GetSpareState' from 8 to 20.
FIX AMT 97 High
AMT LION | AMT COBOL Runtime Various C2111-076

Connection handling was incorrect if the AMT File Controller did not respond and a connection could not be made. It was assumed that a connection had been established when in reality there was no connection to the AMT File Controller, which caused Null Reference errors.

Connection handling has been fixed, so that it now always throws an error if no connection has been made.
FIX AMT 97 Medium
AMT LION | AMT COBOL Developer Various 331767 / C2112-001

In AMT Developer Studio, menu items didn't follow personal display font settings (display option, F10).

Handling of personal font settings has been improved, so that changed font sizes and other settings in AMT Developer Studio are now effective.
FIX AMT 97 Medium
AMT COBOL Runtime Various C2112-002

SQL functions LEFT and RIGHT have now been added to the AMT SQL syntax.
Example:
SELECT LEFT(FIELD, 1) FROM TABLE
NEW AMT 97 Medium
AMT LION | AMT COBOL Control Center Configuration 331782 / C2112-012

The value of option 'Run FileController inside BatchController' was not shown.

The correct setting is now shown.
FIX AMT 97 Medium