AMT Release Notes

AMT 68

Released: 17 Apr 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 C1903-042

Jobs in AMT Screens job management could only be saved as '.txt' files.

The option to save jobs in AMT Screens Job management as '.csv' files has been added; When 'Save as' in the Job management window is selected, dropdown menu 'Save as type' now lists '.csv' as one of the options.
CHANGE AMT 68 Low
AMT LION Developer Code Logic 328437

It wasn't possible to assign 'null' to a class in a global routine after it had been filled with something else.

It is now possible to reassign 'null' to a class in a global routine.
CHANGE AMT 68 Medium
AMT LION | AMT COBOL Services Various C2001-101

.NET Remoting is incompatible with .NET Standard and .NET Core.

Named Pipes are now use to call external DDLs instead of .NET Remoting.
CHANGE AMT 68 Low
AMT LION | AMT COBOL Runtime Web Client 328853

It was impossible to make landscape printing the standard, with the result that the printer had to be configured manually every time. Furthermore, some screens did not fit when printed in landscape.

Shortcut <ALT>+<P> has been introduced, allowing users to print with the configurable AMT print settings in AMT web clients.

Please note that this does not work in Firefox.
CHANGE AMT 68 Low
AMT LION | AMT COBOL Runtime Jobs/Batches C2003-031

At runtime level the AMT product has been extended.
- Reading data from queries and putting the data in corresponding AMT fields has been optimized.
- Arrays are now cached when they are used, instead of being calculated every time they are used at runtime.
CHANGE AMT 68 Low
AMT LION | AMT COBOL Control Center Configuration C2003-040

For performance reasons, it was necessary to be able to run the AMT File Controller within the AMT Batch Controller.

It is now possible to specify in the AMT Control Center inside which AMT Batch Controller the AMT File Controller will run. The user can select one Batch Controller from the list of existing Batch Controllers.
CHANGE AMT 68 Low
AMT LION Runtime Various 329086

Use of the '+' and '&' operators with numeric variables inside a Table query Where clause resulted in runtime errors.

The '&' operator, if used in combination with table fields, is now translated to a MsSql Concat function instead of the MsSql '+' operator to prevent Numeric to Alpha conversion issues.
In addition, expressions containing variables (excluding table fields) in the Where clause which use the '+' or '&' operators, are combined in AMT and translated to a single MsSql parameter. As a result, the AMT rules regarding type conversions apply to these expressions.
FIX AMT 68 Low
AMT LION | AMT COBOL Runtime Various C2003-050

ReadRecord on SQLite files returned the first set of records again after last record had been read, which could result in an infinite loop.

Calling ReadRecord on a file now returns the requested number of records or the amount of records remaining in the file. The next read can now return 0 records making it possible to read until no further records have been found.
With this fix ReadRecord on SQLite files behaves the same as ReadRecord on other files.
FIX AMT 68 Medium
AMT LION | AMT COBOL AmtTools Reo 329096

AMT Reorganize messages during an application reorganize were not always written to the logfile.

Logging has been improved and a '/USEFILECONTROLLER' option can now be used on the AMT Reorganize commandline, with which it is indicated that an AMT File Controller needs to be used for logfiles. If a File Controller is specified it must be reachable.
For the AMT Reorganize Service the 'USEFILECONTROLLER' option can also be set in the configuration file.
FIX AMT 68 Low
AMT LION Generator Various 329132

Setting the numeric property on a screen item failed if the screen item was an occurrence and its source was of type alpha/string; the occurrence expected an alpha, but it had already been converted to a numeric.

This has now been corrected in the Generator.
FIX AMT 68 Low
AMT COBOL Runtime Various C2003-054

For AMT COBOL OS2200 (DPS) environments only: if no terminal IDs were available, the user got a 'Form not found' error message, instead of the expected 'No free terminal id for user ...'.

The correct error message is now shown to the user.
FIX AMT 68 Low
AMT COBOL Runtime Various C2003-056

Since AMT 65, online transactions in an AMT COBOL OS2200 (DPS) environment have all been aborting with a NULL reference exception, due to a failing screen number check.

Improvement of the screen number check has resolved this issue.
FIX AMT 68 Low
AMT COBOL Generator Various C2003-060

A 'complex' division of numbers without decimals to a variable with decimals gave the wrong result, e.g. 'A = (3-2) / (6-4)' should have resulted in '0.5' but ended up as '0'.

'Complex' divisions are now forced into giving a result with decimals.
FIX AMT 68 Low
AMT LION Runtime AmtScreens 329157

If a form with a control with an invalid parent was opened, AMT Screens crashed whereas LionScreens did not.

AMT Screens has been corrected so that it shows only the control with the invalid parent on the form.
FIX AMT 68 Low
AMT LION | AMT COBOL Runtime Various C2003-065

DateTime values that are displayed in various areas of the AMT Control Center and AMT Application Center are based on the local (workstation) time-zone. But differences between the local server/workstation time-zone and the defined AMT system time-zone caused incorrect DateTime values to be displayed and processed.

This issue has been resolved by making all DateTime values refer to the AMT System timezone.
FIX AMT 68 Low
AMT LION Runtime Web Client 329147

In a NoFramework environment there is still a title and status bar, the option to hide these to make the application truly NoFramework was missing.

The option to hide the AMT Web Application title and status bar has been added to the Amt.css file.
NEW AMT 68 Low
AMT COBOL Runtime Various 329173

If a database update (EXEC DB2) was executed with spaces as a date value, an error was returned and no updates were performed.

Now spaces in dates are seen as the lowest date value of .NET so the date value can be passed to Ado.Net and then to the database engine.
FIX AMT 68 Low
AMT COBOL Runtime Various 329163

In AMT COBOL, scientific notation was not removed from the COMP-2 (double precision floating point) field's memory buffer, which caused data errors.

Scientific notation is now correctly removed from the COMP-2 field's memory buffer in AMT COBOL.
CHANGE AMT 68 Low
AMT LION | AMT COBOL Control Center Various C2003-081

The 'Run all suspended jobs now' button under 'Jobs > Job Management > Queued Jobs' in the AMT Control Center was not doing anything. 'Suspended' jobs were not started and the request remained under 'Queued Jobs' with status 'Suspended'.

'Suspended' jobs are now started and removed from 'Queued Jobs'.
FIX AMT 68 Low
AMT LION Runtime Jobs/Batches 329137

Printer macro weren't always applied.

The AMT Print Controller has been corrected so that printer macros are applied when necessary. It is important to note that the printer filter setting ' HexFF' must be enabled.
FIX AMT 68 High
AMT LION | AMT COBOL Developer Various 329082

The status line was not updated when 'Search inside search' was performed, it still showed the result of the previous search.

The status line is now updated whenever a ' Search inside search' is done and the message shown is ' Search inside search: found <x> in <y> objects' .
CHANGE AMT 68 Low
AMT LION | AMT COBOL Developer Revision Control 329084

When the history of an object in the AMT Developer was viewed, a status popup would appear: ' Unknown action (x/y)' , where x was the currently selected object and y the number of selected objects. This status popup was only removed when the revision history popup window, which also appeared, was removed.

A change has been made to the AMT Developer to ensure that the status popup is not shown when the history of an object is viewed.
FIX AMT 68 Low
AMT COBOL Runtime Various C2003-089

In C1911-067 'omit' and 'include' functionality was added for JCL. This introduced a bug in which a list of omit keys was not cleared in a second sort in the same script. This caused errors or wrong sort results in that second sort.

With this fix the omit keys are cleared as required.
FIX AMT 68 Medium
AMT COBOL Generator Various C2003-091

In AMT COBOL there was a rounding issue on compute 'add' and 'multiply' operators, with, sometimes, too many decimals used for the accuracy of the calculation being removed.

This issue has been resolved in the Generator.
CHANGE AMT 68 Medium
AMT COBOL Runtime Various C2003-092

SQL construction 'datefield BETWEEN CONCAT('01/01/', :WK_YYYY) AND CONCAT('06/30/', :WK_YYYY) resulted in a runtime error due to a wrong translation of the 'WK_YYYY' hostvar.

This construction is now translated in a correct way.
FIX AMT 68 Medium
AMT LION Developer Various 329081

In AMT LION variable names starting with an underscore are not supported, whereas they are in AMT COBOL.

The validation has been fixed so that variable names starting with an underscore no longer cause an error in AMT LION.
FIX AMT 68 Low
AMT COBOL Runtime Various 329192

In IBM COBOL, DB2 database cursors not declared as 'WITH HOLD' were not always closed when a COMMIT statement was executed.

Now, DB2 database cursors not declared as 'WITH HOLD' are closed when a COMMIT statement is executed.
CHANGE AMT 68 Low
AMT LION | AMT COBOL Developer Forms 329083

The navigation tree in the code editor in AMT Developer Studio did not work properly, it did not correspond with the section accessed in the code.

The navigation menu is now updated as soon as the code is scrolled.
FIX AMT 68 Low
AMT COBOL Runtime Various C2003-101

Add/Subtract did not check for an invalid memory-buffer, which could lead to a 'SEQUENCE NUMBER MUST BE NUMERIC AND GREATER THAN ZERO' error.

This issue has been solved.
CHANGE AMT 68 Low
AMT COBOL Runtime Various C2003-102

'Exec CICS Start with Immediate' broke the session if it failed.

Now 'Exec CICS Start With Immediate' sets an error code and continues. This way the AMT COBOL program can handle the error code itself.
FIX AMT 68 Low
AMT LION Runtime AmtScreens 329164

OnClick was triggered twice for a RadioButtonGroup, once by the RadioButtonGroup and once by the clicked RadioButton in it.

RadioButtons now only trigger OnClick if they have not already been selected. This is the same way LionScreens handled RadioButtons.
FIX AMT 68 Low
AMT LION | AMT COBOL Control Center Server Control C2003-110

The AMT File Controller was visible in the 'Service Control' part of the AMT Control Center if it was running inside the AMT Batch Controller, whereas it was not running as a separate Windows service.

Changes have been made to ensure that the AMT File Controller is not shown if it is running inside the AMT Batch Controller.
CHANGE AMT 68 Low
AMT COBOL Runtime Various C2003-112

In Easytrieve reports there should be three empty lines between Title and Heading or Detail. If no heading was specified, the number of empty lines was not observed.

This issue has been fixed.
FIX AMT 68 Medium
AMT COBOL Runtime Various C2003-113

The 'WITH HOLD' cursor was too slow and couldn't be optimized, because it remained open after a COMMIT had been done.

Queries in a 'WITH HOLD' cursor have now been optimized in that they execute in a separate database connection.
CHANGE AMT 68 Low
AMT COBOL Runtime Various C2003-115

On an A-Series mainframe a RESTART data-set record is added when a COBOL program uses the BEGIN-TRANSACTION or END-TRANSACTION command with the AUDIT option. After a successful completion of the program the RESTART data-set record is deleted automatically, but in AMT COBOL the record is always kept.

This issue has been resolved.
FIX AMT 68 Low
AMT LION | AMT COBOL Developer Revision Control C2003-116

There was a need for developers to see only the active revision in the revision control screen of the AMT Developer Studio; if an object was marked as deleted it was still shown in the revision screen with revision state 'Deleted'.

As a solution a new filter has been added, which only shows the revisions that have not been marked as 'Deleted'.
NEW AMT 68 Low
AMT COBOL Runtime Various C2003-120

EXEC CICS STARTBR did not set the VSAM file to be 'Open for Browse'. This caused any following EXEC CICS READNEXT to raise an INVREQ error. (This only occurred if a record could not be found before, and had since then been inserted)

EXEC CICS STARTBR now sets the status correctly so the EXEC CICS READNEXT works properly.
FIX AMT 68 Low
AMT COBOL Runtime Various C2003-121

For converted IBM COBOL applications, using the AMT COBOL Report Writer and ASA Carriage Control Characters: if 'First Detail At' in the Report Writer was specified as two or more lines below the last line printed, AMT COBOL would always skip just one line.

With this change the right number of lines is skipped.
FIX AMT 68 Medium
AMT COBOL Runtime Various 329209

In COBOL IBM DB2, SQL SELECT statements with a FOR clause and without a WHERE clause were generated incorrectly. Also, in some cases, a COBOL working storage field was incorrectly optimized to an AmtNativeInt field.

SQL SELECT statements with a FOR clause and without a WHERE clause are now generated correctly. Also a correction has been applied to the analysis phase of the AmtNativeInt optimization.
CHANGE AMT 68 Low