AMT Release Notes

AMT 47

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

Special attention items:

AMT 47


The new AMT screens will need the .NET framework to be installed on all thin clients. If you want to know more about the configuration of AMT Screen, please visit the helpsite.

Product Cat Subcat Description Type Version Priority
AMT LION Runtime AmtScreens 327683 Switching languages would result in a crash. Switching the language within AMT Screens would result in a crash. When a different language-set holds a control on its paint (screen layout) that is not available on the default language screen, then the new language-set paint would be used for sending the transmit but it would use the default language where the control did not exist - crashing AMT Screens. The correct paint is now used in combination with the right language when being transmitted. FIX AMT 47
AMT LION Runtime AmtScreens C1901-046 Radiobuttons were not disabled together with Radiobutton group When the Radiobutton group gets disabled in display main, the buttons should be disabled as well. However, the buttons would stay enabled in AMT Screens. The Radiobuttons will now be disabled and correctly displayed. FIX AMT 47
AMT LION Runtime AmtScreens C1901-045 Combobox items remain selected After a transmit the Combobox would be cleared and refilled and items would remain selected. After Combobox items are reloaded the onselect event would no longer be triggered for the selected item. Now the selected item will be reset after new items are loaded for the Combobox. FIX AMT 47
AMT COBOL Runtime Web Client 327671 Webform time out The Simple Combobox and Dropdown box, in the webclient, would not transmit the right values, causing it to throw an error and timeout. This was due to the fact that the length of the value was not validated. This problem is resolved, now the correct value will be transmitted. FIX AMT 47
AMT LION | AMT COBOL Developer Code Logic C1901-030 Clicking an error in the error display box would not change the focus. In the AMT Developer, clicking an error in the error display box (when there are multiple errors) does not trigger an event to focus on the error in the COBOL Program. When there is only one error, the focus is already set to the first error by default. This has been resolved by removing the pre-selection of any item in the COBOL Program. Now, if the user selects the error in the error display box, the correct line in the source is focused. FIX AMT 47
AMT LION Runtime Various C1901-026 Syntax error in Forms authentication PROD Issue occurred when opening Control Center, showing the message Syntax error Unexpected token. This was due to the fact that identical forms cookie names were used in both the web.config of Control Center and Application Center. This resulted in an error in the forms authentication ticket were shared between the both applications. So when one switches from AMT Control Center logs into the AMT ApplicationCenter this could result in the AMT ControlCenter being logged out. This would only appear when one would use the same browser session and both using Forms Authentication. Unique forms cookie names are added to the web.config's of CC and AC. This way they will no longer share the same forms authentication ticket. For Application Center And for Control Center Change AMT 47
AMT COBOL Runtime AmtScreens 327674 MaskEditboxes can get stuck in an endless transmit loop when it has an OnEnter event. When tabbing through a MaskEditboxes, AMT Screens can fall into an endless transmit loop due to the MaskedEditbox having an OnEnter event. An OnEnter event associated with MaskEditboxes will no longer throw AMTScreens into an endless transmit loop. FIX AMT 47
AMT LION Generator Various C1901-017 Added 'Online System' option in the CobolForms CobolForms default behaviour depended on the Application Origin. Therefore, a new function is added to the CobolForms options - 'Online System' . Now, the default behaviour can be changed (please note: changing this may cause unwanted behaviour). New AMT 47
AMT LION Runtime AmtScreens C1901-015 Cut and paste in read-only editboxes It was possible to cut and paste values from an editbox that was set to read-only. Now, cut and paste is prevented from read-only editboxes in AMT Screens. FIX AMT 47
ALL Runtime AmtScreens C1901-014 Render mode "Use size of image file" did not render the image correct Dynamic resizing did not function correctly in AMT Screens, causing it to show only parts of the Image Object. The image would now render the same way as when the stretch option was set. The render mode "Use size of image file" will now work correctly and will use the dimensions of the image and renders outside of the image control bounds FIX AMT 47
AMT LION | AMT COBOL Runtime Scripts C1901-013 Starting a script inside PowerShell did not allow child reports to share the open files. It was not possible to share the process for file handling, in which the script would share the lock between a PowerShell script and a report. This problem would occur in cases where the script was started from an external IDE like PowerShell ISE, and created a situation where the report would not be a child of the same stream. Now child reports will also belong to a script started outside the Batchcontroller (i.e.: for debugging). FIX AMT 47
AMT LION Developer Revision Control C1901-012 Indexes cannot be changed When you open a table and put an index in edit, a message appears and the table tab is reloaded (refreshed) when the revision number of the table and index differ. (A workaround is to put the index in edit through the REV screen). When you open a table and put an index in edit, the index is put in edit correctly and the table tab is no longer reloaded. FIX AMT 47
AMT LION | AMT COBOL Runtime AmtScreens C1901-011 A read only Combobox could be changed with the mouse wheel When selecting the value of a Combobox the value could be changed when scrolling with the mouse wheel Value cannot be changed with the mouse wheel anymore when readonly FIX AMT 47
AMT LION Runtime Scripts C1901-008 Print controller would sometimes create directory on its own. When one would print to a file, the AMT Print Controller would sometimes create initial directories and check file existence without using the AMT File Controller. For printing to a file, the File Controller will now take care of creating the initial directories and will perform checks if the file exists. FIX AMT 47
AMT COBOL Runtime AmtScreens C1901-003 Combobox does not go through the list of items with the arrow keys when on a page control. Page control handled the arrow keys when it should not have. The arrow keys should have been handled by the Combobox to navigate through the list. Combobox navigation now handles the arrow keys instead of page control for correct functionality. FIX AMT 47
AMT LION Generator Various C1901-002 "Error operand SPACES is not declared" After a restart of the generator and running multiple generator threads, the error "Error operand SPACES is not declared" could occur. When using COBOL words like "ZEROS" or "SPACES" or other similarly used words and then generating that object, errors would occur in the first view of those objects due to concurrency. Resolved the concurrency issue in the generator, so the first view of objects would be correct. FIX AMT 47
AMT LION Runtime AmtScreens C1901-001 RTquery implemented RTquery actions to start queries like ADD, Change(CHG) and Delete(DEL) are now within RTquery. We've also implemented the ability to limit the query counter and security items. RTquery in AMT47 will not support the Oracle database yet. This will be implemented from AMT48. New AMT 47
AMT LION Runtime AmtScreens C1812-100 Solved small AMTScreens crash when typing at the end of the maskeditbox. FIX AMT 47
AMT LION Runtime AmtScreens C1812-098 AMT Screens outside of viewable window When AMTScreens' location falls outside the view of the monitor, or it was opened on a monitor that no longer exists, then it was inaccessible. AMT Screens will now reset its location if it falls outside the view of the monitor. FIX AMT 47
AMT LION Runtime AmtScreens 327410 Default item or item selected through code is not brought into view for Simple Combobox and ListBox Selected item was not brought into view, needed to scroll to the item to see the selected item. Selected item is now brought into view without having to scroll. FIX AMT 47
AMT LION Runtime AmtScreens C1812-096 Tabbing through an empty maskeditbox caused a crash. Some logic was incorrectly implemented and was improved to prevent this. FIX AMT 47
AMT LION Runtime AmtScreens C1812-095 Could not scroll in the non-html help page It wasn't possible to scroll through a non-html help page, from within AMT Screens, because scrolling was disabled in the Listbox (Help page). Scrolling has been enabled and works as expected. FIX AMT 47
AMT LION Runtime AmtScreens C1812-094 Not all subscreens opened with Gotoform new are processed Only the first screen was shown and other screens opened with Gotoform with new were ignored Now all screens opened with gotoform new will open a new tab FIX AMT 47
AMT COBOL Runtime AmtScreens C1812-093 Order in which the columns are clicked is not respected when sorting a listview When clicking Col3 then Col1 to do a sort with multiple columns it is sorted as Col1 , Col3. Order in which the columns are clicked is now processed correct, and the listview is sorted as expected FIX AMT 47
AMT LION Migration COBOL C1812-092 Implementation of A-Series Cobol specific functions and options in AMT COBOL. For A-Series Cobol migrations we added additional functions and options in the existing AMT COBOL runtime environment. These changes should have no further impact on existing (IBM, Micro Focus or OS2200) AMT COBOL environments. COMS Service Function Mnemonics enumerations added: Asysco.Amt.Libs.Support.Cobol.ASeries.ComsServiceFunction JOBSUMMARY Task Attribute Value Mnemonics enumerations added: Asysco.Amt.Libs.Support.Cobol.ASeries.JobSummaryTaskAttrValue Library Access Attribute Value Mnemonics enumerations added: Asysco.Amt.Libs.Support.Cobol.ASeries.LibraryAccessAttrValue OPTION Task Attribute Option Mnemonics enumerations added: Asysco.Amt.Libs.Support.Cobol.ASeries.OptionTaskAttrOption Asysco.Amt.Runtime.Skeleton.AmtCobolASeriesFunctions: ComsInputHeader and ComsOutputHeader variables added Enable, Receive and Send (dummy) methods added COMS input and output header definition class added: Asysco.Amt.Runtime.Support.Cobol.ASeries.ComsInputHeader Asysco.Amt.Runtime.Support.Cobol.ASeries.ComsOutputHeader New AMT 47
AMT COBOL Runtime AmtScreens C1812-087 Labels with a trailing sign like 99.99- were missing a trailing space for positive numbers. Labels with a trailing sign were missing a space for positive numbers making the value be misaligned A trailing space is now present for right aligned values with a positive trailing sign FIX AMT 47
AMT LION | AMT COBOL AmtTools Debugger C1812-086 Replay transaction tool reported null reference exception when debugging a program. Replay transaction tool reported null reference exception when debugging a program, this was caused by a change of message type in the transaction server when sending a debug message. Reverting this change resolved this issue. It is now possible to send test messages to the transaction server to debug a COBOL program. FIX AMT 47
AMT LION Developer Forms 327630 Screen layout comboboxes When the developer had a Windows 7 system and wanted to view the screen layout of forms with comboboxes, the developer would crash. The runtime (LionScreens or WebClient) was not affected by this error. This problem occurs due to the fact that the assembly PresentationFramework.Aero2 is not present. This has been fixed. Adjusted the reference in the Amt Wpf Controls to Aero instead of Aero2 in the project file. Aero2 is not available on Windows 7. Adjusted AmtComboboxElement.xaml. Now, developers with a Windows 7 system can view/create forms with comboboxes. FIX AMT 47
AMT LION Runtime AmtScreens C1812-084 Pasting values into the maskeditbox resulted in odd behaviour. (i.e.: if you have a mask like (___)___-___ and you paste 123456789, you would expect (123)456-789_ as a result. Instead, you get (123)567-9__.) Code logic was improved, when the value is copied into the masked editbox any character that falls on a mask is no longer lost. FIX AMT 47
AMT LION Runtime AmtScreens C1812-083 Arrow keys stop working on buttongroup after a transmit After a transmit, when using the spacebar on a buttongroup, the arrow keys stop working. Arrow keys now keep working after a transmit is done when using the spacebar on a buttongroup. FIX AMT 47
AMT LION Runtime AmtScreens C1812-081 Focus was set too often preventing the scrollbar buttons from working and setting the focus back to the selected item each time Focus was set to the selected item in a listbox when clicking on the scrollbar, causing it to malfunction. Setting of focus has been fixed and works correctly now. FIX AMT 47
AMT LION Runtime AmtScreens C1812-079 Force decimal keys set to none did not work correctly. This has now been implemented correctly, checks were improved to no longer enforce decimal keys when force decimal key was none (not allowed). FIX AMT 47
Runtime AmtScreens C1812-078 Newlines are not handled correct in AMT Screens for Editboxes Newlines in text caused the editbox to become multiline. In the code, the editbox was filled with a CRLF character at the end, in LionScreens the CRLF characters are removed. Corrected AMT Screens to remove CRLF characters as well. Newlines are now removed from text when set to an Editbox. FIX AMT 47
AMT LION Migration COBOL C1812-077 The RBA option when specified in a EXEC CICS WRITE statement was not supported. The RBA option when specified in a EXEC CICS WRITE statement was not supported. The RBA option is now supported. If the record number already exists in the file, it is updated with the new data. Added parameter KeySpec to the IbmCics write method. When this parameter is "RBA", the record number is calculated by dividing the key value with the length of the record. New AMT 47
AMT LION Runtime AmtScreens C1812-076 Pasting text with a decimal is blocked in an Alpha editbox Pasted text was checked to be a valid numeric with respect to the position of the decimal, this does not need to be done when the editbox is Alpha. Check is skipped, now text with a decimal can be pasted. FIX AMT 47
AMT LION Runtime AmtScreens C1812-075 Improved the RTquery popup. RTquery popup was not resizable with no minimum width. It is now resizable again with a minimum width. Also responsiveness was improved. FIX AMT 47
AMT LION | AMT COBOL Runtime AmtScreens C1812-073 Helptext show time is not used by the controls when they show their HelpText The controls would always show their HelpText for 6 seconds. The control now use the Helptext Showtime defined in the Control Center for their HelpTexts. New AMT 47
AMT LION Runtime AmtScreens C1812-070 Extended the context menu for the AMT Memo, Editbox and Maskeditbox to include more options The following items were added to the context menu upon right click: Undo, Copy, Paste, Cut, Select all, and Left to right text alignment. Unicode options and the IME/Conversion which were present in LionScreens will not be added. FIX AMT 47
AMT LION | AMT COBOL Runtime AmtScreens C1812-069 The editbox blocked movement keys when it was disabled When the editbox is disabled it should still allow movement within the control and should allow things like transmit. Editbox now allows movement and transmits when in read only mode. FIX AMT 47
AMT LION | AMT COBOL Runtime Various 327579 Folders could not be deleted. Due to constraints in the FileController, not all (unimportant) files would be deleted. This would cause errors in the Delete folder method, within the FileController, because it would need the directory to be empty and closed in the File Controller before it could delete a file. We have fixed this issue by removing the constraints on these files. The AMT FileController will now remove the directory. Additionally, the timeout in the PowerShell Library has been updated. FIX AMT 47
AMT LION Runtime COM Module 327612 Large bug report generated because Comscript Accept had lost the connection. A large bug report was created by the Comscript Accept function when it had lost the connection. The reported error was: "Prepare requires an open and available Connection. The connection's current state is closed" Added database retries in the Comscript on the waiting functions which take potentially a long time to finish. For example, Accept/startjob with wait/print to avoid generation in the bug report. FIX AMT 47
AMT LION Runtime AmtScreens C1812-065 Pressing the same key that is present on the spot caused odd behaviour. The issue in the code logic denied key input if the same key was pressed. FIX AMT 47
AMT LION Runtime AmtScreens C1812-064 Overwrite mode did not work (INS/OVR) Overwrite and Insert did not always work as they should have (i.e.: not overwriting correctly or inserting correctly). Overwrite and Insert have been implemented correctly. FIX AMT 47
AMT LION Runtime AmtScreens C1812-062 Alt shortcuts are notworking for groupboxes When the caption contains an &, it should be handled as a alt shortcut and focus the first focus-able control on the groupbox, but does not work. Alt shortcuts are now supported by the groupbox. FIX AMT 47
AMT COBOL Runtime AmtScreens C1812-060 Cursor could not be placed with a mouse click in the edit box on the listview When clicking on an edit box in the listview the whole text was always selected instead of placing the cursor at the clicked position Text is now only selected with the first click on an edit box that has no focus, after that the cursor is placed at the correct position. FIX AMT 47
AMT LION Runtime Various C1812-058 Support Database aliases in AMT COBOL You can now use database aliases in AMT COBOL. (Only for MsSql) This can be used in commands 'EXEC DB2' and 'EXEC RDMS'. Syntax is {db_alias}.TableName The generator will look for the table in an application with the identical name as the alias. Alias has to be configured in ControlCenter. For now alias will always use same connection (i.e. Setting 'New Connection' will have no affect). NEW AMT 47
AMT LION Runtime AmtScreens C1812-057 When min or max height or width was set on a popup the actual sizes were smaller The calculations for min and max popup sizes did not take in account the caption height and border width. Calculations for the min and max sizes are corrected to include the caption height and border width. FIX AMT 47
AMT LION Runtime AmtScreens C1812-056 Focus is incorrectly set to the first row The first row is selected when the listview gets the focus and no row has been selected yet. Now, when a listview receives focus and no row is selected, the control itself receives focus but no row is selected. FIX AMT 47
AMT LION | AMT COBOL Runtime AmtScreens C1812-055 Fonts become bigger on the calling form after closing a popup When a font was changed in code and when a popup was closed the wrong font size was used. The points value was sent to the server instead of the pixel size, resulting in a bigger font after the popup was closed Font size now remains the same as set. FIX AMT 47
AMT LION Developer Code Logic C1812-054 Setting the WindowWidth in the AMT Developer caused the webclient to crash. Setting the WindowWidth in the developer caused the webclient to crash, due to the ending tag not being closed properly. The ending tag is now closed properly and setting the WindowWidth will no longer crash the webclient. FIX AMT 47
AMT LION Runtime AmtScreens C1812-053 AMTScreens did not shutdown correctly. Missing error enumerations caused the shutdown timer not to trigger. Error enumerations are added and AMTScreens now handles the returned error from the server properly. A new popup now shows shutdown text. FIX AMT 47
AMT LION Runtime AmtScreens C1812-052 Boolean properties for controls were set to false after closing a popup when referenced in the code. The code processing the resume after a popup was misinterpreting the Boolean property sent back by AmtScreens. Boolean properties are now correctly handled in the resume action after the popup is closed. FIX AMT 47
AMT LION | AMT COBOL Runtime AmtScreens C1812-050 Edit menu cut/copy/paste did not exist Edit menu cut/copy/paste was not yet implemented. Edit menu cut/copy/paste has now been implemented. NEW AMT 47
AMT LION Migration Various C1812-049 Application to list the programs being called with a RUN statement in all CMD files. A small application was created to create a list of all programs being called in RUN statements in the CMD files. This list issued to determine if a COBOL source is a program or a subprogram. NEW AMT 47
AMT LION Runtime AmtScreens C1812-048 OnDblClickwas not fired in combination with an OnSelectItem on a listview The double click event did not have enough time to trigger and was skipped in combination with an OnSelectItem. OnDlblClick now gets more time to complete all the way through and the double click is now correctly handled. FIX AMT 47
AMT LION | AMT COBOL Developer Various C1812-047 The "ILionGenerate.GetGeneratableObjectTypes" returns the LION object type "GlobalFileDefinition" The "ILionGenerate.GetGeneratableObjectTypes" returning the LION object type "GlobalFileDefinition" is incorrect. The "ILionGenerate.GetGeneratableObjectTypes" no longer returns the LION object type "GlobalFileDefinition" as you cannot select it for generation. FIX AMT 47
ALL Runtime Various C1812-043 Improve performance of the transaction server under high user load. Performance of the transaction server under high user load needed improvement. Security is now cached in the transaction server and refreshed every 5 minutes improving performance. CHANGE AMT 47
AMT TOOLS Migration COBOL C1812-016 Objects for internal representation of database definitions were split up and interfaced. This is an internal redesign of C# code, no AMT COBOL functionality has changed. For users of AMT COBOL nothing changed. However, in the AMT Developer folder 3 new assemblies will appear: ConverterSupport.dll DBDefinitionSupport.dll ImsDefinitions.dll CHANGE AMT 47
AMT LION | AMT COBOL AmtTools Reo C1810-114 AMTReorganize Internal/ AMT System Procedures and Functions are not analyzed correctly The AMTSystem Functions and Stored Procedures are not correctly checked and created. The AMTSystem Functions and Stored Procedures are now correctly checked and created. FIX AMT 47
AMT LION | AMT COBOL Developer Various 324062 Partial move of line to next line didn't move caret to indented location. When moving a part of a line to the next line by an hitting ENTER the caret would move to start of line instead of to the indented location. After hitting ENTER the caret now always moves to the indented location. FIX AMT 47
AMT LION Developer Code Logic 326646 Comments not GREEN in Developer When placing a // after an uneven amount of ' the // wasn't seen as the start of comments. Now when placing // after an uneven amount of ', it also checks if there is a ' behind the // if there isn't the // is seen as the start of comments. FIX AMT 47