AMT Release Notes

AMT 50

Released: 25 Mar 2019.
For availability, please contact the Avanade Service Portal for information on downloading new releases.

Special attention items:

AMT 50 –

Product Cat Subcat Description Type Version Priority
AMT LION | AMT COBOL Developer Database C1802-079 Encrypted fields and Array fields are now supported for Stored Procedures. FIX AMT 50
AMT COBOL Runtime Various C1812-002 Improve the performance of the initialization process for the "Working Storage". Performance tests showed that the initialization of computational items in Arrays could be improved. Furthermore, fictional elements would not initialize in cases where the AMT LION Statement SETTO(initial) was used. 'Fictional elements' are created in cases when the Array gets overloaded (out of bounds). This situation could exist in the case of Comp/Boolean/Numeric/Alpha Arrays within a Structure. FIX AMT 50
AMT LION Runtime AmtScreens C1901-070 Printing and PDF Export is now built into RTQuery (and Job Management). A new feature is added which allows you to save the RT-Query grid and export it to PDF. Furthermore, the RT-Query grid can now be printed in AMT Screens as well as the data from the Job Management screen. NEW AMT 50
AMT LION Runtime AmtScreens C1901-117 Implemented the Macro recoding of characters and the Enter key in a Memo (not an Xmit) for AMT Screens It is now possible to recode and/or change the behaviour/ "combination of characters" of the recorded Macro, in the runtime environment of AMT Screens. The first steps to get the recorder to work with the keyboard's 'Enter'-key in a Memobox (non Xmit; enter to next line) has also been implemented. NEW AMT 50
AMT COBOL Runtime Various C1902-051 TEX forms are now natively supported in the AMT COBOL Framework Adjusted AMT Developer Forms for the formatting tool TEX, are now integrated in the AMT Developer. With the right security options one should be able to select TEX Forms in the form options, The Working Storage now contains the correct items in the TEX Format. TEX has been integrated within the AMT COBOL framework, however, it should not affect existing customers. NEW AMT 50
AMT LION Developer Web Services 327564  The _Web suffix should be removed For the generated classes the WSDL resulted in class names with _Web. We have changed the behavior that _Web is not used anymore in the WSDL for class names. Notes:  - This will need changes in the end users  interface if the regenerated the provided webservices.  - When consuming providers with style RPC/encoding then you'd get an soap server fault.  - When consuming providers which use classes with a hyphen in the name, like A-TRACK, then the generator will stop. CHANGE AMT 50
AMT COBOL Migration Various C1902-077 Changes needed for running applications migrated from Easytrieve programs. A converter was created for Easytrieve sources encountered in IBM z/OS migrations. Some changes are made to the runtime libraries to make it possible to execute the migrated Easytrieve programs in an AMT environment, especially in the sourcecode responsible for Program generation and SQL Connections. These changes should have no further impact on existing AMT environments. NEW AMT 50
AMT LION | AMT COBOL AmtTools Reo C1902-078 Maximum lengths for table, column, and index names are now checked in the analyze step of the new Reo. Previously table and column index names were blocked in the developer and the Reo would give an SQL error, during the Reo process, when the lengths were too long. Now, the Reo queries the lengths allowed for table, column, and index names and shows an error prior to the Reo being run. FIX AMT 50
AMT LION | AMT COBOL Runtime Various C1902-082 Oracle Wrapper Support for Oracle Managed Driver 4.122.18.3 A new wrapper has been added supporting the Oracle Managed Driver version 4.122.18.3. In addition, the wrappers for the Oracle Managed Drivers are now located in sub-directories in the AmtTools\OracleWrapper folder.  If using Oracle Managed Driver - Please be aware that path of your Oracle wrapper needs to be targeted to the appropriate sub-directory. NEW AMT 50
AMT LION | AMT COBOL Services File Controller C1902-083 FileController throws an "out of memory exception" while sorting file The AMT FileController (also know as FileService) used a wrong calculation for sorting files; in certain situations, especially when utilizing the sort function together with big sort keys on big files, could lead to situations where the FileController would allocate huge amounts of memory. In some cases, it would calculate more memory than available on the machine, which would cause the FileController to throw an out of memory exception. The calculation method used in the AMT FileController to calculate the available memory has been adjusted. FIX AMT 50
AMT COBOL Runtime Various C1902-085 COBOL program aborts with the message: "SQL Error: Error converting data type numeric to decimal." In runtime, a COBOL program would abort with the message: "SQL Error: Error converting data type numeric to decimal." This error was caused by the fact that values were not bound correctly, resulting in the SQL Server throwing an error and the program aborted. An error in the logic would first insert a NULL value and after that, it would insert a genuine value. This has been resolved, the COBOL program will not abort anymore. FIX AMT 50
AMT LION Control Center Various C1902-088 Bug report growing with NULL reference exceptions A loop generating a big bug report could occur (AmtWeb_BugReport.txt in the App_Data of the CC BL and ControlCenter_BL_BugReport.Log) when using a remote print controller or requesting the queued prints. The code logic has been fixed to solve the loop and the error language is improved. FIX AMT 50
AMT COBOL Runtime Various C1902-085 COBOL program aborts with the message: "SQL Error: Error converting data type numeric to decimal." In runtime, a COBOL program would abort with the message: "SQL Error: Error converting data type numeric to decimal." This error was caused by the fact that values were not bound correctly, resulting in the SQL Server throwing an error and the program aborted. An error in the logic would first insert a NULL value and after that, it would insert a genuine value. This has been resolved, the COBOL program will not abort anymore. FIX AMT 50
AMT LION Developer Various 327946 LION Keyword Highlighting improved Keywords and property's were not highlighted correctly. e.g.: List; .indexof, tablequery; .resultokto and .start. In some cases, these were only partially highlighted.  These keywords and property's will now be highlighted when used in the AMT Developer. FIX AMT 50
AMT LION Runtime AmtScreens C1902-092 In AMT Screens it was possible to change a readonly combobox and the value was sent to the BusinessLogic Previously, a Combobox in AMT Screens could be changed by pressing the first letter of the value of the combobox item. Now,  a combobox in AMT Screens cannot be changed by pressing the first letter of the value and  ReadOnly values are ignored so changed values are not sent to the BusinessLogic. FIX AMT 50
AMT LION Runtime AmtScreens 327920 AMT Screens dates in the Calendar control are off by a day. There was an unnecessary correction done to the selected date when localtimezone was selected, causing the value selected to be from the previous day when the machine was set to a negative timezone. The correction to localtimezone has been removed fixing this issue. FIX AMT 50
AMT COBOL Runtime Various C1903-002 "Data Exception" only raised for arithmetic operations (IBM z/OS & Micro Focus).  A "Data Exception", which is raised for invalid numeric characters in a numeric field, should only occur when executing arithmetic operations. This is behavior specific to applications migrated from IBM z/OS & Micro Focus. Previously in AMT, the "Data Exception" was also raised when invalid numeric characters where moved to a numeric field, this has now been resolved. FIX AMT 50
AMT LION AmtTools Reo C1903-005 General fixes and Oracle specific fixes for running the new REO on a System table Errors occurring when running the new REO upgrading a System Table from AMT 31: 1) When doing a REO on a System table and an index was removed it tried to remove "AMTSYSINDEXLOGIC", this table is not present in a System table. 2) When keepTables was set to false It would incorrectly remove triggers and indexes when the table was not removed. 3) Oracle does not always have an Identity field defined, for those fields a null exception was thrown when column sizes were changed. 4) Data Update in Oracle failed (setting multiple rows to a value) as the generated SQL was not valid. These errors have been resolved. FIX AMT 50
AMT LION | AMT COBO Runtime Various C1903-009 Changes to parsing DATE/TIME host-variable values used in SQL statements. Changes were made for the Easytrieve conversion that are around parsing DATE/TIME host-variable values that are used in SQL statements. Therefore, we have made changes to out AMT Runtime Libraries. However, these changes should not cause any behaviour changes for existing (non Easytrieve) customers. FIX AMT 50
AMT LION Runtime AmtScreens 327826 After regenerating a Form, the Form is not reloaded when the reload option is enabled in the runtime After generating a form still open in AMT Screens, the next transmit fails with a Form version mismatch, even when the reload option is enabled. Form is now reloaded correct when reload option is enabled. FIX AMT 50
AMT LION Runtime Jobs/Batches C1903-013  Output was not appended to files when printer was set with option overwrite equal false Output to printer with print to file and overwrite set to false was not appended but generated as a unique file with a sequence number. This only happens when the destination file is a fixed file without wildcard. The sequence number is now only generated with option overwrite equal false when the destination file contains the option %copyfile%: Is replaced by the name of the file to print including file extension. %copyfilenoext%: Is replaced by the name of the file to print excluding the file extension. %copyrelativepath%: Is replaced by the complete relative path of the original printfile name or AsFile name. FIX AMT 50
AMT LION Runtime LionScreens 327949  SMEX instruction does not set focus to focus field when field has multiple occurrences The instruction SMEX ('ERROR', , [occurrence])  did not take the occurrence part into account. The generation did only take the fieldname into account. Therefore the focus was not set. The occurrence is now generated correctly and the focusfield is working correctly. FIX AMT 50
AMT LION Runtime AmtScreens 327920 Shortcuts are missing The keyboard shortcut Ctrl-S is missing in AMT Screens. Shortcut has been added. NEW AMT 50
AMT LION Runtime AmtScreens 327920 Incorrect underline when right aligned (AMT Screens) In AMT Screens, when a label was right aligned it had preceding spaces which were also underlined. Label underline behaviour for AMT Screens is now the same as LIONScreens. FIX AMT 50
AMT COBOL Runtime Various C1903-018 Any EXEC CICS Command didn't update RESP vars when NOHANDLE was used in the CICS call for applications migrated from IBM (CICS) . The NOHANDLE switch caused the CICS command to skip updating the RESP vars. This has been resolved. FIX AMT 50
AMT LION Runtime AmtScreens C1903-022 The import of settings fails with foreign key constraint error on transaction code in role(user role) table. The import of settings from a COBOL system fails with a "foreign key constraint error" on transaction code in the role table because the transaction codes were not imported. Now the import function imports the program/transaction codes and also the VSAM information; this change resolves the issue. FIX AMT 50
AMT COBOL Control Center Configuration C1903-022 The import of settings fails with foreign key constraint error on transaction code in role table. The import of settings from a COBOL system fails with foreign key constraint error on transaction code in the role table because the transaction codes where not imported. Now the import, imports the program/transaction codes and also the VSAM information; this change resolves the issue. FIX AMT 50
AMT COBOL Runtime Web Client C1903-023 'IS ALPHABETIC' returned false on SPACE (' ') Since AMT 48 'IS ALPHABETIC' returned true on SPACE.  In AMT 48 there was a fix that removed non alphabetic characters returning true on the this alphabetic test, causing SPACE to return true. This has now been resolved, so SPACE returns false. FIX AMT 50
AMT COBOL Runtime Web Client C1903-024 The function keys didn't work anymore in application migrated from MicroFocus (MiFo) terminal screens. In AMT 49, the function keys did not work anymore in applications migrated from MiFo terminal screens. The COBOL forms did work, but when the display command (with screen positions etc.) was used the function keys did not work anymore. MiFo terminal screen adjusted so the function keys work again as they did in AMT 48. FIX AMT 50
AMT COBOL AmtTools Various C1903-027 The Transaction Server needs to write the messages to the trace file. The Transaction Server needs to write the received/send JSON messages to the trace file when the debug is set in the logging configuration. When debug is set on, the Transaction Server now logs the JSON messages coming in and going out. NEW AMT 50
AMT COBOL Developer Various C1903-029 In the validation of COBOL, there was no size check for REDEFINES. From now on, the validation of COBOL, checks the sizes of the variable or structure used in REDEFINES. When the sizes mismatch, a warning is shown in AMT Developer. NEW AMT 50
AMT LION | AMT COBO Runtime Various C1903-031 Added support for docker containers. Changes made to internal startup method of the FileController service, in regards to running inside docker, for testing purposes. This change only comes into effect when it detects that it is run inside a docker container. NEW AMT 50
AMT LION Developer Database 327975  Editing stored procedures parameters caused a crash of AMT Development Suite. When editing a stored procedures parameters, after upgrading to a higher version of AMT; the AMT Development Suite crashes on loading the object inspector with the param field options. This was due to the option to add a default value to the param, but not present yet in the AMT repository. The crash is now prevented by initializing non present fields before they are loaded from the AMT repository. FIX AMT 50
AMT LION | AMT COBO Control Center Configuration C1903-035  Limit xmit timeout in AMT Control Center and REO The XMIT timeout in the Runtime Behaviour of the AMT Application Center was not checked for a valid value which could cause issues in the AMT Transaction Server and Web Client. Updated AMT Control Center to validate the XMIT timeout. It must be between 1 and 2000000 (2 million) seconds. The REO will change Runtime Behaviour settings that still have XMIT timeout set to 0. For AMT LION customers this will be set to 3600 seconds (1 hour) and for AMT COBOL customers this will be set to 300 seconds (5 minutes).  CHANGE AMT 50