AMT Release Notes

AMT 45

Released: 30 Nov 2018.
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 COBOL Developer Code Logic C1808-009 The length of a PICTURE clause in the DMS table bulk mode is not calculated correctly. Ín AMT COBOL, the length of a PICTURE clause(PIC) in bulk mode of the DMS table was not correctly calculated when the length of the PICTURE clause was specified with a variant on the syntax, such as, for example, PIC 99V99, instead of recording the length in brackets, like PIC 9 (2)V99. AMT would calculate PIC 99V99 to be numeric comp 7.2. The length of the PICTURE is now calculated correctly if the length is specified with a different variant of the syntax, using the calculation of characters instead of using the parenthesis with a value. E.G. PIC 99V99 instead of PIC 9(2)V99. FIX AMT 45
AMT LION | AMT COBOL AmtTools Reo C1801-018 REO reported an error when resizing a table field.   The REO reported an error when resizing a table field that was contained in an occurs. This happened when the occurs value was 1, at which point the REO optimized the value. However, when modifying the field, the optimization was ignored and the logic for array items was performed, which caused a mismatch in the expected field length.   ​​​​​​​The REO will now recognize that if the occurs value is 1, an optimization was done and the correct length is used FIX AMT 45
AMT COBOL Developer Forms 326788 Editing AMT COBOL forms with hyphens   When copying a paint item, in the AMT Developer, in an AMT COBOL form the hyphens in the name were all replaced by underscores, which then had to be manually changed back to a hyphen to make it an exact copy. Copying a paint item in AMT COBOL now only adds "CopyOf" in front of the name but the hyphens are left as they are. FIX AMT 45
AMT LION Runtime AMTScreens C1811-005 SME tab should close automatically A new feature regarding SMEs —the SENDMESSAGE syntax to send a message to a form— has added to AMTScreens. This feature was already available in LION Screens. When multiple SMEs are thrown, a separate message tab will be opened in AMT Screens to display these messages. This tab should close after leaving. NEW AMT 45
AMT LION Runtime AMTScreens C1811-006 A + sign was added in Combobox in AMT screens In LIONScreens, an invisible marker is responsible to show whether a value is positive or negative. However, in LIONScreens this plus sign (+) will be removed after the value returned and was assigned back to the Combobox item, this will only happen when a positive value was sent. Though, in AMT Screens the plus sign (+) was added in the Combobox item right after the transmit. The internal process that was meant to strip the value was prohibited by the process that that selected the index and highlighted the Combobox item. The + sign will be stripped from the received value when it gets reassigned to the Combobox item. FIX AMT 45
AMT LION Runtime AMTScreens C1811-007 Scroll position did not refresh in Scrollbox. After a transmit, the scroll position of the Scrollbox did not refresh. Therefore, the selected scroll position would not change. This feature was not yet added in AMT Screens. AMT Screens will now reset the scroll position after a transmit. FIX AMT 45
AMT LION Runtime AMTScreens C1811-008 The use of the keyboardkey 'Enter' with focus on checkbox affected screen transmission Screen transmission was not possible in AMT Screens when pressing the Enter button when the focus was set to a checkbox.When using the Enter button to transmit screen input, this action would then be blocked. Using the enter button to trans in a checkbox will now be possible. FIX AMT 45
AMT LION Runtime AMTScreens C1811-010 Application info is now shown in AMT Screens AMT Screens had a generic static title, that was ignoring the settings in the Form appearance in the Control Center. That's why it would not show the Application information. This has now been solved to show the correct information when you set the setting in Control Center. FIX AMT 45
AMT LION Runtime AMTScreens C1811-011 AMT Screens F1 for help When pressing the F1-button when you haven't selected a control, it would not open the help. This was caused by fact that AMT Screen would check whether you would run in preview mode? Pressing the F1 button will now open the help page even if no control is selected at all. FIX AMT 45
AMT LION Runtime AMTScreens C1811-014 Hide tabsheets missing in local settings In the LION Screens you are able to hide tabsheets. This "Hiding tabsheet" option was still missing in AMT Screens. The "Hide tabsheet" option has been added and implemented. FIX AMT 45
AMT LION Runtime AMTScreens C1811-013 The text in a Combobox would always be displayed in uppercase The text in the Combobox would always be displayed in uppercase in AMT Screens. This is now adjusted, so, it will no longer always display text in uppercase FIX AMT 45
AMT LION Runtime AMTScreens C1811-015 The Editbox denied = or - signs It was not possible to type an equal sign (=) or hyphen (-) in an Editbox that was set to a text-based type. The Editbox would be validated against the rules set of a financial type, therefore denying the input. The check was improved to allow = or - in a text-typed Editbox. FIX AMT 45
AMT LION Runtime AMTScreens C1811-016 Options for changing the Message settings in AMT Screens are added In LION Screens, the "Message settings", that can be used to change the display behaviour of SMEs (SENDMESSAGE), could be found in the suboptions of the options menu. The options menu can be found in the menubar. However, these settings were still missing in AMT Screens. In the preview of AMT Screens messages will always be shown in the Statusbar and server messages in a Dialogbox. Now the Message settings have been added and implemented in AMT Screens. However, they have been moved to "User Settings" options, that can be found in the Local Settings, which can also be found in the options menu. CHANGE AMT 45
AMT COBOL Developer Reports 327468 When sorting a file the output file will now add the .DAT extension. The .DAT extension would only be added when the extension was defined in the Cobol Program when sorting a file. If the file extension was not defined, the following error message would be thrown: "Error during reading file:...; Exception Value must be positive". Now, the output file of a SORT will get a .DAT extension when no extension was specified. FIX AMT 45
AMT LION Runtime AMTScreens C1811-017 Added support for audio alert in AMT Screens LION Screens would play a audio alert when an SME (SENDMESSAGE) was received.However, this was not yet implemented in AMT Screens. This feature has now been added in AMT Screens. NEW AMT 45
AMT COBOL Developer Code Logic 327471 Add check for empty structures/groups. A check was added to check for empty structures/groups in AMT COBOL where an item has no PICTURE clause (PIC) and no sub items either. The added check in the COBOL parser will detect invalid structures and will throw an error when it detects them. Also for applications, migrated from Micro Focus Mainframes, the parser will now generate errors instead of warnings for values that are too large. In the other COBOL platforms, this is allowed. CHANGE AMT 45
AMT LION Runtime AMTScreens C1811-021 Tabbing into the listview. After tabbing into the listview in AMT Screens, the entire listview was selected. Though, only the first row should have been selected. This behaviour has been adjusted, now only the first row will receive focus and will be selected. FIX AMT 45
AMT COBOL | AMT LION Developer Various C1811-022 Label management improvements (continued) Within the AMT Developer, the Label Management window is updated with a more intuitive way of creating labels. When creating a new label, the label properties Window will pop up so it is possible to create a label and set its security properties right away. CHANGE AMT 45
AMT LION Runtime LionScreens C1811-023 Key combination CTRL+HOME did not set focus to the first object. Pressing the combination CTRL+HOME in a listview did place the focus to the First row(top row) of the list view instead of the first focus control. This the control, or screens object, that was set to be the first object to select. In this release, we 've improved the mechanism for selecting the right control, after the key combination was invoked. Now it will set the correct focus. FIX AMT 45
AMT COBOL| AMT LION Developer Various C1811-024 The merge function needs to be generally available. The merge function, which is a part of the Revision Control, will now be generally available as its now longer in preview. CHANGE AMT 45
AMT LION Runtime AMTScreens C1811-025 Clicking into an empty Listview in AMT Screens Clicking into an empty Listview caused AMT Screens to crash. It tried to set a row that did not exist. AMT Screens will no longer set rows when they are not available. FIX AMT 45
AMT COBOL Developer Code Logic C1811-026 Improved right clicking on table/cursor names Right-clicking in the AMT Developer on table or cursor names has been improved in this version. Now when you right-click it will show the table or cursor, and you can utilize the short-cut to get right to it. Furthermore, the AMT Developer will now ignore casing when performing a double or right-clicking on the table name, so, it doesn't matter whether the original table was created with capitals or not. Finally, this release added support for using the table name synonym as a short-cut to open the table straight away as well. CHANGE AMT 45
AMT COBOL Runtime Various C1811-029 Improve performance of internal logging functions Improve performance of internal logging functions under high load. Performance improved of internal logging functions under high load scenarios CHANGE AMT 45
AMT LION Runtime LionScreens C1811-033 When hovering a button with an image the image disappears. In AMT Screens, the image of a button would disappear when one would hover over the image. The framework would check whether a hover-over-image was set, and if there was not any it would just replace with an empty value, and therefore it would not show the image anymore. This behaviour is fixed in this newest version. Now it will keep showing the original image if no hover-over-image is set for the button. FIX AMT 45
AMTScreens Runtime Web Client C1811-037 Signed Editbox would crash when entering decimals when not allowed. In AMT Screens, it was possible to put decimals in a signed Editbox, where decimals were not allowed. By doing so and performing a transmit, this would cause an error and would eventually crash the application. The validation did not correctly check for decimal separator characters. AMT Screens will now prevent entering decimal separator characters in an Editbox when this is not allowed. FIX AMT 45
AMT COBOL | AMT LION Developer Various 325077 Added group/genset security to the Repository API In the past the Repository permissions could only be managed through the Security (SEC) screen in AMT Developer Studio. As of now it is possible to check and manage repository permissions also through the LionRepository API (better know as LionRepository Module). CHANGE AMT 45
AMTScreens Runtime LionScreens C1811-040 Minus or Plus sign in a financial Editbox would be removed When adding a minus- or plus sign to a financial Editbox, the sign would be removed when you left the field. These signs would cause the length of the value to exceed the length set in the internal length-check with one character. This would result in the fact that the original value would be restored. The length-check will now accurately look at the length of value when a minus- or plus sign is added. FIX AMT 45
AMT COBOL | AMT LION Runtime Various C1811-043 Memory leakage under high volumes detected. Memory leakage was discovered when the AMT-Framework was under a very high load(volumes over 10.000.000 entries). These leakages were invoked when there would be a lot of differences in the usage of signs in numeric fields, decimal and a thousand separators switched on and off, and when a left signed field would be switched on and off multiple times in, for instance, an Report or Program. This memory leakage has been resolved in the Runtime Libraries. FIX AMT 45
AMT COBOL | AMT LION | AMT VS Runtime Various C1811-044 Added functionality to log exceptions, generated by failing SQL-queries. If and when a SQL statement failed it would be helpful to see which query failed. However, these exceptions were not logged anywhere, because we had not implemented a function yet that will log exceptions that occur during the run of a query. Now a functionality has been added to log these exceptions. You will need to set the logging level to 1 in the Control Center (Runtime Behaviour -> General Behaviour -> Logging Level). When an exception occurs the exception messages is logged. NEW AMT 45
Application Center Runtime Web Client FIX 327436 Combobox did not return value In the webclient, a Combobox of type "Dropdown" would not properly return the value typed into it. The typed value would only be retrieved by the Combobox called "Simple Combobox", however, this was missing for the "Dropdown Combobox" type. The Dropdown Combobox will now return the value as well. FIX AMT 45
AMT COBOL Runtime Various 327178 AMT COBOL prints the ASCII values that are preceding ASCII decimal 127 characters as question marks. Non-Unicode characters were printed as question marks when the value was used between decimal value 127 and 255. When one writes or prints files, which are set to be Unicode files the values, to ASCII printer(or file), will now convert the ASCII values between 1 and 255 FIX AMT 45
Application Center Runtime Web Client C1811-047 Autocomplete did not work with more than two characters in the Webclient Combobox. A failing statement caused the search string to be overwritten after adding two characters to a Combobox when it was used in the Webclient.We have adjusted the statement. FIX AMT 45
AMT COBOL Developer Code Logic C1811-049 Right-click on a field of a table name, that was also declared with the DECLARE TABLE statement, caused an exception. A right-click on the table name(field name) could in certain conditions throw an exception. These exceptions were due to the fact that the table was defined in the AMT IDE, however, the same table was also already defined with a DECLARE TABLE statement in the COBOL source code. Because all table declarations are done in the IDE, the DECLARE TABLE statement should not have any effect. In this change, we have ensured that the DECLARE TABLE statement will not disrupt existing tables as defined in the IDE. This is achieved by not adding the table found in the DECLARE TABLE statement to an internal list of tables when the source is parsed. FIX AMT 45
AMT COBOL Runtime Various C1811-051 Database View in AMT COBOL When a database View is used in AMTCOBOL, it cannot find the characteristics of the field(value type) of the value in the WHERE statement, because the AMT COBOL generator is not able to analyse database View. In case of the following example it was not able to see the characteristics of the MY-DATETIME-FIELD, which should be a date-time field; E.G SELECT * FROM MYVIEW WHERE MY-DATETIME-FIELD = :WS-DATETIME-VALUE The generator will now try to find the type of MY-DATETIME-FIELD in another table to be able to bind the field correctly. If the generator fails, it will raise a generation error.  FIX AMT 45
AMT COBOL Runtime Various C1811-053 Improve internal performance tracing. Improve internal performance tracing for Cobol high loads. CHANGE AMT 45
AMT COBOL Runtime Web Client 327507 File not using dd_ENVIRONMENTNAME AMT COBOL statement "delete file" statement did not work correctly in migrated COBOL applications. This only existed in AMT COBOL Programs that are based on the behaviour from migrated Micro Focus mainframe applications. The error was caused because AMT COBOL did use the physical filename (name on disk) instead of the "file ID"(as defined in File Defenitions). The "delete file" logic did not check the environment variables for the physical filename but instead tried to delete a file with this "file ID" instead. AMT COBOL statement "delete file" now works correctly in Micro Focus COBOL applications. It checks the environment variables for the physical filename instead of trying to delete a file with the name specified in the File Defenitions. FIX AMT 45
AMTScreens Runtime LionScreens C1811-028 Business-logic adapter needs a lot of common code that should be put in shared DLLs. Created shared DLLs around the Business-logic adapter, that is responsible for the communication between the Business-logic and the clients like, for instance, AMT Screens and the Webclient. This way common code can be shared between AMT Screens and the new webclient we will be developing in the future. Two new DLLs, Asysco.Amt.Screens.Common.dll and Asysco.Amt.Screens.Definitions.dll, have been created to be able to reuse the logic. NEW AMT 45
AMT COBOL | AMT LION AmtTools Reo 327495 REO was changing the default value each time. The REO would change the default value each time when the values existed out of 18 digits, like for instance, 18 nines when using the Microsoft SQL-database (MsSQL). The REO would add a decimal separator at the end of the value. Due to this issue, the REO would show this message every time. The REO was corrected and will now read the MsSQL Schema information and will not add a decimal separator anymore. FIX AMT 45
AMT COBOL Developer Various C1811-059 A COPY that uses REPLACING BY did not show up in the Relations list of a program. A COBOL COPY that is used together with the "REPLACING BY" statement did not show up in the Relations list of the Program or Subprogram that uses this COPY. The list of Relations in the COPY itself was also empty. This is fixed now, the COPY shows up in the Relations list of the Program or Subprogram, and the Program or Subprogram that used the COPY is shown in the Relations list of the COPY itself. AMT 45
AMTScreens Runtime AmtScreens C1811-065 Security settings are now enforced in RTQuery This was not yet implemented in AMTScreens. NEW AMT 45
AMTScreens Runtime AmtScreens C1811-073 Wrong items would be sent back after sorting the rows server side The AMT Screens client did not share the rows that were selected from the Listview with the server. When one had re-ordered (sorted) the Listview, the server would, after a sort on the server side, send the wrong information back as it was not aware of the fact that the view changed. Also, AMT Screens could sometimes crash when one would click very fast on a row when a double click event was defined because these rows were updated in the meanwhile already. AMT Screens will not crash anymore and the selected row on the client side will now be shared with the server. FIX AMT 45