AMT Release Notes

AMT 86

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

Special attention items:

AMT 86

Product Cat Subcat Description Type Version Priority
AMT LION Runtime AmtScreens 330590

In AMT Screens, popups opened after other popups deleted the reference to earlier popups. Only the last popup could be closed properly.

Sessions are now added to a stack and removed again when the parent popup is closed.
FIX AMT 86 Medium
AMT LION Runtime AmtScreens 329961 / C2010-110

AMT Screens occasionally froze unexpectedly.

The 'keepalive' TCP socket has been updated to execute a check every 5 minutes instead of every 2 hours now.
FIX AMT 86 Medium
AMT LION | AMT COBOL AmtTools Various C2102-018

Setup of the AMT Product Suite allowed settings to be moved from http to https and back in 'web.config' files. With the new websites and web APIs, https settings are in 'appsettings.json' files.

A new function has been added that performs the same function for the new config files instead of the old with String editing.
FIX AMT 86 Low
AMT LION Runtime AmtScreens 329317 / C2102-099

When Executing in Query Mode in RTQuery, AMT Screens was unresponsive during longer queries.

AMT Screens is fully responsive again, as queries in RTQuery are now executed in the background, and update AMT Screens if the query produces results.
FIX AMT 86 Medium
AMT LION Runtime AmtScreens 330056 / C2102-101

The colour of the text in a disabled Combobox  was the same as in an enabled Combobox.

When a combobox is disabled, the text is now coloured grey.
FIX AMT 86 Low
AMT LION Runtime AmtScreens 330444 / C2102-103

AMT Screens: when tabbing into a signed editbox, typing +, -, or decimal sign didn't remove the field's selected text (i.e. the field's current value).

Removing selected text (regardless whether entirely or partially selected) when entering +, -, or decimal sign, has been repaired.
CHANGE AMT 86 High
AMT LION Runtime AmtScreens 329365 / C2102-112

When a Listview was being edited or added to, clicking on 'sort' on a column header caused AMT Screens to throw an error.

Now, when a Listview is being edited or added to, the transaction is committed first and the Listview sorts correctly.
FIX AMT 86 Medium
AMT LION | AMT COBOL Runtime Various 324378 / C2102-114

AMT Developer Studio: the definition of AMT LION System Item SI-DBNAME was Alpha 30, causing the DB name to be truncated if longer, resulting in a verification check failure on runtime.

SI-DBNAME's definition has been changed to String.
CHANGE AMT 86 Medium
AMT LION Developer Code Logic 328997 / C2102-117

LION function FORMAT didn't accept an apostrophe as a thousands separator argument.

FORMAT argument validation has been corrected, so that an apostrophe is now seen as a valid thousands separator.
FIX AMT 86 Medium
AMT LION | AMT COBOL Runtime Various C2103-093

Because of the recent .NET Core move of most AMT components, there is no longer a need for maintaining the .NET Framework version(s) of the AMT Oracle database wrappers.

Starting from AMT 86 the .NET Framework version(s) of the AMT Oracle database wrappers are removed from the AMT releases, and environment variable AMT_ORACLE_WRAPPER for setting up the .NET Core Oracle wrapper has to be used. The environment variable AMT_ORACLE_WRAPPER_CORE is no longer supported.
CHANGE AMT 86 High
AMT LION | AMT COBOL AmtTools Various C2103-099

There was always a reference to 'PdfPrintingCore', even if no PDF printing was done.

An interface is now included that will result in 'PdfPrintingCore' to be loaded only when PDF printing is used.

Note: In later versions printing with Adobe and external printing via GhostScript will become obsolete.
CHANGE AMT 86 Medium
AMT LION Developer Various 329314 / C2103-116

Optimization to the parsing of global classes for properties/routines has been added, so it only takes place when the classes are actually used in an object.  This leads to better performance when development consists of a large number of classes.
CHANGE AMT 86 Medium
AMT LION | AMT COBOL AmtTools Various C2103-118

New features have been added to the AID tool:

1. The description of a task is now retrieved from the .SYNOPSIS section in the PowerShell script;
2. The XML can now be edited in the tool, with a new tab named 'XML'. Users can change and save XML there instead of opening a new Notepad session for the XML. 
3. Templated headers and footers are now configurable: in the Settings menu there is a new item 'Add header config...'
NEW AMT 86 Medium
AMT COBOL Runtime Various 330578 / C2103-129

Error 'Could not find a part of the path' occurred during 'Renaming file' call to the AMT File Controller.

The 'Rename file' action is now repeated if it fails the first time.
CHANGE AMT 86 High
AMT LION Runtime AmtScreens 330545 / C2103-130

AMT Screens RTQuery  did not display records correctly if column data contained only the text 'REC', effectively splitting the record in half.

The protocol and display of AMT Screens have been corrected to use control characters together with the 'REC' text, so the splitting does not occur anymore.
FIX AMT 86 Medium
AMT LION | AMT COBOL Runtime Various C2103-135

Because of the recent .NET Core move of most AMT components, there is no longer a need for maintaining the .NET Framework version(s) of the AMT DB2 database wrappers.

Starting from AMT 86 the .NET Framework version(s) of the AMT DB2 database wrappers are removed from the AMT releases, from now on environment variable AMT_DB2_WRAPPER has to be used for setting up the .NET Core DB2 wrapper. Environment variable AMT_DB2_WRAPPERCORE is no longer supported.
CHANGE AMT 86 High
AMT LION | AMT COBOL Control Center Configuration 330610 / C2103-136

Changing a user's email address or approving them did not work in the new ASP.NET Core AMT Control Center, because an incorrect data model was loaded.

This has been resolved, the correct data model is now loaded and the settings are updated properly.
FIX AMT 86 Medium
AMT LION Runtime AmtScreens 330589 / C2103-137

When 'IN' was used in the Where Clause in AMT Screens RTQuery Query Mode, the Edit Record button was disabled and double clicking a row to edit did not work.

The logic leading to these errors has been fixed, so that editing under these circumstances has become enabled again.
FIX AMT 86 Medium
AMT LION | AMT COBOL Runtime Web Client 330601 / 330602 / C2103-139

The settings 'Requestfile' and 'Backup directory' in the 'Start Job' dialog were not working in the new ASP.NET Core Application Center, because of a missing Enum in the static content.

This issue has been fixed by  updating '_StaticContent.cshtml' so that the required Enum is also inititialized.
FIX AMT 86 Medium
AMT LION | AMT COBOL Runtime Web Client 330575 / C2103-140

The 'Source' filter in the 'Messages' page of the new ASP.NET Core AMT Application Center and AMT Control Center websites was not working, because 'ShowAllSources' was initialized to False and never changed after that.

The filter has been made functional again.
FIX AMT 86 Medium
AMT LION Developer Code Logic 330600 / C2103-141

Generation error on calling 'showpopup' from a class, because not all the required routines were present.

Missing routines have been added to the runtime including 'showpopup'.
FIX AMT 86 Medium
AMT COBOL Runtime Various 330605 /  C2103-143

In some situations, reports/programs were marked by the AMT Batch Controller as having crashed whereas they actually finished successfully. In these situations the job state was incorrect. This issue was introduced with some performance improvements regarding the usage of NamedPipes in the AMT Batch Controller.

The job state is now stored directly in the database, which ensures that the internal job state matches the job state as stored in the database. This resolves the issue.
FIX AMT 86 Medium
AMT COBOL Runtime Various 330614 / C2104-003

- The result of the exponentiation function in a calculation expression was truncated for former OS2200  COBOL systems.
- The way intermediate calculation results were calculated was incorrect if exponentiation calculations were involved in the expression.

- The result of the exponentiation function is not truncated anymore.
- The generator has been changed. The intermediate calculation works properly now.
FIX AMT 86 High
AMT COBOL Runtime Various 330616 / C2104-005

The Search function did not work correct if the search key was numeric and was optimized to a native variable.

The search key variable is now forced to be non-native, so the Search function works again.
FIX AMT 86 High
AMT LION | AMT COBOL Runtime Various 330622 / C2104-006

It was not possible to kill all running jobs in the new ASP.NET Core AMT Control Center because the relevant button did not work.

The 'Kill all' button in the running jobs screen has been fixed.
FIX AMT 86 Medium
AMT LION | AMT COBOL Runtime Web Client C2104-007 / 330575

AMT Application Center: dates in the filter in Messages > Requests did not restrict the requests being retrieved.

Now, when server requests are requested, the property 'UseDateTimePeriod' is sent along. This has been fixed for the AMT Control Center as well.
FIX AMT 86 Medium
AMT LION | AMT COBOL AmtTools Debugger 330546 / C2104-008

During debugging, file connections could be closed while still in use, because of an issue where worker threads being added and removed, took down all open file controller connections with them. The minimum amount of worker threads came into conflict with the maximum number in the settings.

The maximum number of working threads in the settings has now been changed.
FIX AMT 86 Medium
AMT LION | AMT COBOL Runtime Various 330618 / C2104-010

When the time shift of Daylight Saving Time occurred, there was an issue with agents stopping because the internal check thought the agent had expired because of the one hour leap.

Now the AMT system handles the time change, and the App Servers/Batch Controllers/Transaction server now take into account the one hour time difference.
FIX AMT 86 Medium
AMT LION | AMT COBOL Control Center Configuration 330588 / C2104-012

The comment warning customers not to change the Client ID tag in the Sample_AppSetttings.JSON of the AMT Control Center and AMT Application Center was missing.

The comment has been added in the Sample_AppSetttings.JSON of the AMT Control Center and AMT Application Center.
FIX AMT 86 Medium
AMT LION | AMT COBOL Runtime Jobs/Batches 330625 / C2104-015

AMT Batch Controller started a job, but job did not really run. This happened when the AmtPowershellHost crashed, and was not restarted by the AMT Batch Controller.

The AmtPowershellHost is now restarted after it fails.
FIX AMT 86 High
AMT LION | AMT COBOL Developer Various C2104-017

If a source file was imported using the command line and specifying 'nogui', it was unpredictable which objects might be loaded and which not, if one of the objects to be imported was locked.

Now all the objects are loaded under these circumstances, based on the value of option STOPONLOCKED.
FIX AMT 86 Medium
AMT LION | AMT COBOL AmtTools Debugger C2104-021

A generated form was not picked up by a running AMT Debugger, due to the extracted user name being lower case.

The user name extracted from the private directory is now converted to upper case, preventing the error.
FIX AMT 86 Medium
AMT LION Generator Various C2104-022

Because of the recent .NET Core changes in AMT, and the fact that AMT Provided Web Services need to remain in .NET Framework, we have had to remove some .NET Core/Standard dependencies from the AMT Provided Web Services that are referencing AMT Types (Classes).

This problem has been resolved by generating native/slimmed-down versions of the AMT Types (Classes) for the AMT Provided Web Services.
CHANGE AMT 86 Medium
AMT LION | AMT COBOL Control Center Server Control 330519 / C2104-026

When all servers, including applications, were started within the AMT Control Center, the session was sometimes lost.

The start up of a session of an AMT Application Server without managers has been corrected, so it won't clean up active sessions anymore. Also, the timing of service status checks during the start up phase of the different AMT services has been improved.
FIX AMT 86 Medium
AMT LION | AMT COBOL AmtTools Reo 330411 / 330373 / C2104-027

AMT Reorganize sometimes froze during the Analyze phase or Reorganize action if it was connected to the AMT Reorganize service due to faulty communication between AMT Reorganize and the AMT Reorganize service.

The underlying communication between AMT Reorganize and the AMT Reorganize service has been improved by making use of full duplex async streams. Also, appsetting ForceFirstUser=true/false has been added to the AMT Reorganize service configuration to accept that other users are still connected to reorganizing database.
FIX AMT 86 Medium
AMT LION | AMT COBOL Developer Forms 330617 / C2104-029

Updating font styles was done with a priority that was too low, so if the machine was very busy it was never executed.

The priority has been increased so font styles are handled and updated as expected.
FIX AMT 86 Medium
AMT LION | AMT COBOL Developer Various C2104-032

AMT Developer Studio froze when its window was resized, because of an error in tab 'visibility handling'.

Instead of changing the tab index,  the 'invisible' selected tab is now shown as the last visible tab, preventing the freeze.
FIX AMT 86 Medium
AMT COBOL Runtime Various 330512 / C2104-036

There could be an 'Index out of bound exception' while running a former OS2200 program, as the query field was not read in 'Keyonly' queries.

The issue has been solved, the query field in 'Keyonly' queries is now always read.
FIX AMT 86 High
AMT LION | AMT COBOL Runtime Various 330654 / C2104-039

In the Batch Control page of the AMT Control Center, the input box for responding to requests was not shown because of a misinterpreted JSON response from the website.

The incorrect response has been fixed, making the box show up again for jobs awaiting input.
FIX AMT 86 High
AMT LION Runtime LionScreens C2401-043

LionScreens (based on Delphi technology) has now officially been removed from the AMT Product Suite and has been replaced by AMT Screens (based on WPF technology).
CHANGE AMT 86 Medium
AMT LION | AMT COBOL Runtime Web Client 330540 / C2104-044

After inactivity within Edge an AMT application lost session information and the users needed to log-in again.

The timing of the 'keep alive' has been improved; this is adapted for the AMT Control Center, the AMT Application Center as well as for the Web Client site. If the state session timeout is longer than 15 minutes the 'keep alive' message will be shown every  3 minutes, if shorter than or equal to 15 minutes it will be sent every minute.

Note:
Edge has introduced sleeping/smart tabs to minimize the used resources, AMT cannot influence these inner workings of Edge:
1. Sleeping/smart tabs: the 'Keep alive' won't work if the tab goes to sleep. By adding AMT websites to the option 'never put these sites to sleep' this situation can be prevented.
2. Edge will also reload a page after a certain amount of time of inactivity even though the site has been added to the option 'never put these sites to sleep'. After a reload of the page, re-entering credentials is necessary.
CHANGE AMT 86 Medium
AMT LION | AMT COBOL Developer Database C2104-045

In AMT Developer Studio it is now possible to choose the database field type in table fields. Alpha types can be stored as CHAR or VARCHAR, for example. The types shown depend on the database type selected in the genset. The type AMT Reorganize would choose is the default type.
In MSSQL databases String types, which AMT Reorganize previously typed as TEXT, are changed to VARCHAR(MAX), as Microsoft recommends.
NEW AMT 86 High
AMT COBOL Control Center Configuration 330631 / C2104-047

After a user was created in the AMT Control Center, the dialog did not update. Clicking 'Ok' or 'Apply' again showed an error because the user already existed.

The dialog now properly updates after creating a new user.
FIX AMT 86 Medium
AMT LION Runtime AmtScreens 330646 / C2104-050

If an error had occurred in AMT Screens RTQuery QueryMode, it was not possible to execute another query.

This has been resolved by resetting the ongoing Transmit, and the next query can now be run after an error occurred.
FIX AMT 86 Medium
AMT LION | AMT COBOL AmtTools Various 330684 / C2104-052

OpConService changed the way that json serialization was done, causing compatibility issues with client software.

The serialization has been updated to match with the previous version again.
FIX AMT 86 High
AMT LION | AMT COBOL Control Center Configuration 330527 / C2104-053

It was possible to change the details of a login account in the AMT Control Center without entering a password.

If no password has been entered, the details can no longer be changed. A message will appear to notify the user of this.
FIX AMT 86 High
AMT COBOL Runtime Various 330469 / C2104-056

In former OS2200 AMT COBOL, Screen Passoff did not work consistently, and sometimes showed the wrong screen.

Screen Passoff is working properly now, the screen sent by DpsSend is kept and re-sent by the DpsTerm function.
FIX AMT 86 High
AMT LION | AMT COBOL Control Center Various 330692 / C2104-058

Lingering in the Process Control page in the AMT Control Center would occasionally cause an error message to appear, because of threading issues.

This error has been fixed by changing the AmtAppServiceState.
FIX AMT 86 Medium
AMT LION | AMT COBOL Control Center Various 330693 / C2104-059

In the worker threads tab for an Application Server in the AMT Control Center, clicking the button to decrement the maximum number of form worker threads would increment the maximum instead.

The minus button now decrements the maximum number of form worker threads again.
FIX AMT 86 Medium
AMT LION | AMT COBOL Runtime Scripts 330557 / C2104-060

The GetQueuedJobs function has been added to Comscript.

GetQueuedJobs returns all jobs queued but not yet started. For C2102-122, a similar GetJobs function was added to return all running jobs. GetJobs does not return jobs not yet started by the Batch Controller. When a script starts another script without waiting and calls GetJobs after that it may not return the script just started. That script will be returned by GetQueuedJobs now.
NEW AMT 86 Medium
AMT COBOL Generator Various 330702 / C2104-068

The String function should mark a numeric variable as being an AmtVariable instead of a native C# variable, because these numeric items can contain non-numeric data.

The String function marks a numeric variable as an AmtVariable now.
FIX AMT 86 High
AMT COBOL Generator Various 330270 / C2104-070

Common storage variables were optimized to native int, but since they share memory with programs and subprograms, this should not happen. 

This has been solved by cancelling optimization for common storage variables.
FIX AMT 86 High