AMT Release Notes

AMT 88

Released: 11 Jun 2021.
For availability, please contact the Avanade Service Portal for information on downloading new releases.

Special attention items:

AMT 88

Product Cat Subcat Description Type Version Priority
AMT LION Runtime AmtScreens 320407 / 330727 / C2002-019

Sendtotabsheet has now been implemented for AMT Screens and the Web Client.

Important: In AMT Screens only one tab can be opened at a time!
NEW AMT 88 Medium
AMT LION Runtime AmtScreens 330308 / C2102-052

Aligning controls in AMT Screens, the AMT Developer Studio and the Web Client caused overlap of controls.

Alignment has been improved, controls during alignment are no longer stacked on top of each other.
FIX AMT 88 Medium
AMT LION Runtime AmtScreens C2102-113

Macros (with shortcuts) did not work in pop-ups.

This has been fixed by having pop-ups go through the same procedures as the main screen at creation time.
FIX AMT 88 Medium
AMT LION | AMT COBOL Control Center Security 330116 / 330025 / C2103-076

Web request header information contained possible security risks.

Header information has been added to and removed from in places to eliminate possible security risks.
CHANGE AMT 88 Medium
AMT LION | AMT COBOL AmtTools Various C2104-024

The AID tool (AMT Installation and Deployment) is now part of the AMT delivery. The tool can be used to compose and run workflows containing PowerShell tasks.
NEW AMT 88 Medium
AMT LION | AMT COBOL Runtime Various C2104-104

FTP connections made by the AMT ComScript module used .NET's FtpWebRequest, which was deprecated in .NET Core so a third-party replacement was needed.

The FluentFtp library is now used for FTP connections.

Important: The format of file names returned by the FTP client has changed to include the directory path. Other responses might also have a different format. It is important that customers check any scripts and programs that use the AMT FTP functionality for discrepancies, and adjust them where necessary.
CHANGE AMT 88 High
AMT LION | AMT COBOL Developer Reports 330636 / C2105-010

If a 'saverecovery ' job was aborted and the job was restarted immediately, the original job did not finish correctly and it was reported as still running, preventing the new job of the same name from being started.

A 'saverecovery' job now finishes the original job immediately and correctly.
FIX AMT 88 Medium
AMT LION Runtime AmtScreens 330594 / C2105-019

Text within buttons had a margin for an image even if there was no image, making the text harder to read.

This margin is now set only if there is an image present.
FIX AMT 88 Medium
AMT COBOL Generator Various 330343 / C2105-024

AMT COBOL Developer: AmtQuery using numeric variables could cause generation errors if these variables were internally optimized into AmtNativeInts.

AmtNativeInt is now supported in AmtQuery.
FIX AMT 88 Medium
AMT LION | AMT COBOL Runtime Various 330807 / C2105-025

The AMT Application Server and AMT Batch Controller went down after a connection exception was thrown within an agent.

Now, the exception is logged, the AMT Application Server and AMT Batch Controller keep running after the exception, and a new agent is started.
FIX AMT 88 High
AMT LION | AMT COBOL AmtTools Various C2105-027

For customers already using the AMT AID tool: the recently added XML tab in the AMT AID tool has now been changed to Documentation, to show .SYNOPSIS data. The user can add, edit and delete the documentation of a file here, for Roottasks and Workflows. Added PowerShell tasks/templates have read-only documentation.
CHANGE AMT 88 Medium
AMT COBOL AmtTools Reo 330825 / C2105-028

When an AMT Reorganization was run on a former DB2 database, fields with DbFieldType TIME raised an error. A Length attribute was added to this type, but this was not allowed for TIME fields in former DB2.

AMT Reorganize now creates TIME fields without length specified. For TIME fields with a fraction TIMESTAMP is used.
FIX AMT 88 High
AMT COBOL Runtime Various 330826 / C2105-030

In former 2200 DMS tables, Updates went wrong when 'occurs' was defined in combination with a Depending-On variable, which should truncate results not belonging to the array.

The Depending-On variable now truncates the results correctly.
FIX AMT 88 High
AMT LION | AMT COBOL Runtime Scripts 330786 / C2105-031

In the ComScipt module, function job.GetMessageObjectsByBatchId has been introduced, which retrieves all messages of a batch (script and all programs started by the script).
NEW AMT 88 Medium
AMT COBOL AmtTools Reo C2105-035

During AMT Reorganizes on former DB2 databases, unique indexes with extra columns specified were not created correctly. They were created as non-unique with the extra included fields as part of the index. AMT Reorganize Analysis signalled a change every time in these cases.

AMT Reorganized has been changed now, to consider such indexes as unique with included columns now marked as included.
FIX AMT 88 High
AMT COBOL Services Various C2105-040

Transaction Server agents were restarted automatically if a new version of a loaded form or program had been generated. This cleared the state of 'Shared' (also known as 'Reentrant') programs, which could cause issues.

It is now possible to disable the automatic restarting mechanism in the AMT Control Center, under 'System Configuration' > 'Architecture' > 'Applications'.

Important: Because of this change, it is necessary to do an AMT Reorganise of the the system database!
CHANGE AMT 88 Medium
AMT COBOL Runtime Jobs/Batches 330850 / C2105-044

AMT COBOL Report Writer removed too many quotes in a report line, and also full-stops, leading to lines as "'BETWEEN QUOTES" TEST.'. to appear as  BETWEEN QUOTES' TEST in the output, where it should have been ''BETWEEN QUOTES' TEST..

The Generator was fixed to solve this issue.
FIX AMT 88 High
AMT LION | AMT COBOL Developer Various 330859 / C2105-049

Despite the fact that 3D charts were no longer supported, the setting was still available in the Object Inspector in the AMT Developer Studio.

The 3D setting has been removed for charts.
CHANGE AMT 88 Medium
AMT LION | AMT COBOL Control Center Configuration 330844 / C2105-050

With .Net Core, the AMT Control Center and AMT Application Center did not change to the theme set in appsettings.json.

If a theme is set in appsettings.json, it is now used instead of the default theme, and minimized CSS files are removed.
FIX AMT 88 Medium
AMT LION Generator Various C2105-052

The Format function now also allows routine results as a first numeric item. Expressions are not allowed, as length/decimals for formatting aren't available in that case.
More help on this can be found here.
CHANGE AMT 88 Medium
AMT LION Runtime AmtScreens 329440 / C2105-054

Large tables with mixed-sorting indexes caused bad performance.

Performance has been enhanced through improved sorting of these indexes.
FIX AMT 88 Medium
AMT COBOL Runtime Various 330874 / C2105-058

SQL Insert statements did not insert all array elements bound in the statement.

Changes in the SQL parser now make sure that all array elements are recognized.
FIX AMT 88 High
AMT COBOL Control Center Various 330840 / C2105-061

AMT Control Center runtime behavior setting 'Session Data Timeout' was not visible for COBOL installations.

The AMT Control Center has been corrected so that this setting is now visible in all circumstances.
FIX AMT 88 Medium
AMT COBOL Generator Various 330851 / C2105-062

Checks during validation and generation to ensure variable names are used unambiguously did not work in all cases, for instance if executed in if-statements.

Checks on uniqueness now work in all circumstances.
FIX AMT 88 Medium
AMT LION | AMT COBOL Runtime Web Client C2105-065

The AMT Web Client got stuck if clientIDMode was configured differently from its default.

The generated web.config has been corrected so that clientIDMode='Predictable' is also specified, preventing the hang.
FIX AMT 88 Medium
AMT LION | AMT COBOL AmtTools Prodinstall/Pinstall 330875 / C2105-067

PInstall did not work when running from a UNC path, because Assembly.GetExecutingAssembly().Codebase returned an incorrect path.

Obsolete Codebase has been replaced by Location, and PInstall now works when running from a UNC path.
FIX AMT 88 Medium
AMT LION Runtime Web Client 330812 / C2105-068

Populating list boxes with a huge amount of items took a long time in the Web Client.

Performance has been improved significantly (test form: 10.000 items from > 30 seconds to < 3 seconds) by changes in JavaScript, making addition of new items more efficient.
FIX AMT 88 Medium
AMT LION | AMT COBOL Runtime Various 330880 / C2105-072

The value of an interrupt in a report (with an interrupt routine defined) stored in 'si-reportresult' was blank in global logic.

Now global logic and reports use the same si-reportresult.
FIX AMT 88 Medium
AMT LION | AMT COBOL Control Center Security 330784 / C2105-077

AMT Control Center: a user with a CC-admin role ('super administrator') couldn't see all transactions in the Security section, if their role(s) didn't correspond with the transaction roles.

Retrieving transactions for the CC-admin has now been made independent of transaction role conditions.
FIX AMT 88 Medium
AMT LION Generator Various 330899 / C2105-085

The AMT Generator raised a C# error if a numeric variable startcase was compared to a si-highvalue.

The AMT Generator has been improved so that startcase with case values like si-highvalue, si-lowvalue and si-hex00value is generated correctly.
FIX AMT 88 Medium
AMT COBOL Runtime Jobs/Batches C2105-087 / 330916

When a Unicode file was opened for APPEND, data got corrupted if the Unicode setting was not set when the file was opened originally.

This problem has been corrected, the Unicode switch is now set properly.
FIX AMT 88 Medium
AMT LION Runtime Jobs/Batches 330895 / C2105-088

AMT Report threw an exception message when command EXIT ALL was used in a FINALIZE  routine.

Handling of the FINALIZE routine has been improved, so now 'exit all' and 'exit module' are handled correctly.
FIX AMT 88 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches 330917 / C2105-098

Opening a sortfile after sorting caused an error, because the file was still locked by the operating system.

Opening the sortfile is now retried several times.
CHANGE AMT 88 Medium
AMT COBOL Runtime Jobs/Batches 330923 / C2105-099

Input parameter ('accept') is not properly passed from script to COBOL program for reasons as yet unknown.

Better logging information has been constructed, when the accept file is read into the COBOL program.
CHANGE AMT 88 Medium
AMT COBOL Runtime Various 330932 / C2105-105

Divide by zero did not result in the expected zero result on OS2000 migrated software.

Divide by zero now results in zero result in these systems, on any other platforms it will throw a 'Divide by zero' exception.
FIX AMT 88 Medium
AMT LION Runtime AmtScreens 330900 / C2105-106

AMT Screens Combobox raised OnSelect Event too often, due to timing issues.

The timing of the event raising code of 'startupdatingfields' and 'endupdatingfields' has been improved.
FIX AMT 88 High
AMT COBOL Runtime Various 330933 / C2106-008

Array items of a (sub)group field of a former DMS table were not initialized properly, because the AMT Generator generated the wrong statement (INITIALIZE sub-group-array (index)).

The Generator generates the right statement now.
FIX AMT 88 High