AMT Release Notes

AMT 43

Released: 22 Oct 2018.
For availability, please contact the Avanade Service Portal for information on downloading new releases.

Special attention items:

AMT 43

Product Cat Subcat Description Type Version Priority
Developer Web Services Web Services 326604 Insertables on Web Forms In Amt Developer, when making a form with an insertable, only the form items were provided and the items from the insertables were not shown or provided. Now when making a form with an insertable, both the items from the form and the insertable are shown and provided. AMT 43
Developer LionScreens AMT LION C1807-056 Runtime behavior for the Calendar was missing or incomplete. Runtime behavior was not complete for the Calendar control. Runtime behavior has been implemented for the Calendar control. AMT 43
Developer - Other Various AMT COBOL | AMT LION 307861 Add storing scripts in the repository New functionality is added to the Repository of AMTLion and AMT COBOL Customers. Customers are now able to store scripts in the repository This functionality is currently added under preview. Within the preview there is an option available for adding scripts to the repository and to have them versioned and generated (copied) to the different generation sets. AMT 43
Developer Code Logic AMT LION C1809-024 Json/XML It is now possible to Save and Load lists data to and from Json/Xml. The same goes for classes.  Ex:  List.ToJson() --returns string List.ToXml() -- returns string List.FromJson(alpha/string)  List.FromXml(alpha/string) ClassInstance.ToJson() -- returns string ClassInstance.ToXml() -- returns string Class.FromJson(jsonstring) -- returns class instance Class.FromXml(xmlString) -- returns class instance AMT 43
Generator Various AMT COBOL  C1809-032 EXEC CICS START/RETRIEVE Parsing of EXEC CICS START and EXEC CICS RETRIEVE was not supported, resulting in errors. The parsing of EXEC CICS START and EXEC CICS RETRIEVE is now supported. AMT 43
Generator Various AMT COBOL C1809-046 EXEC CICS SET FILE support The EXEC CICS SET FILE statement was not supported in the AMT IDE, which resulted in errors being reported at validation and generation. This change implements support for the EXEC CICS SET FILE statement so it validates and generates correctly. EXEC CICS SET FILE is now supported in the AMT IDE. AMT 43
Runtime LionScreens AMT COBOL 327255 Microfocus crashed with DELETE FILE statement on non-existing file.  The AMT Cobol statement, originating from former MicroFocus COBOL, "DELETE FILE" statement crashed on runtime and would throw an exception when this statement was used on a print file that did not exist. In this release this issue is resolved. MicroFocus COBOL will no longer crash on runtime when someone uses the "DELETE FILE" statement on a print file that does not exist. Instead it will continue with the rest of the program. AMT 43
Runtime COBOL AMT COBOL C1809-066 Using MOVE LENGTH Using MOVE LENGTH without the OF keyword results in an error message. This is supported on the mainframe and should be supported in AMT. Now LENGTH is handled the same, with or without the "OF" keyword being used. The converter checks if "LENGTH" is not followed by "OF", in which case the property length is added to the variable. AMT 43
Migration COBOL AMT LION C1809-067 RadioButtonGroup and ButtonGroup runtime behavior RadioButtonGroup and ButtonGroup runtime behavior was incorrect when individual buttons were disabled. Disabled (radio) buttons are now handled correctly by AmtScreens. AMT 43
Migration DB2 AMT COBOL C1809-079 DB2 ENCRYPT and DECRYPT_CHAR are now supported. ENCRYPT and DECRYPT_CHAR were not supported in EXEC DB2 blocks in AMT COBOL. This is now supported. The ENCRYPT and DECRYPT_CHAR functions are internally converted to SQL function AMT_ENCRYPT and AMT_DECRYPT. These functions are added by the REO (for IBM Cobol with DB2 database). AMT 43
Runtime LionScreens AMT LION 327278 Error downloading listbox file after SWITCHTO. Error downloading listbox file after switchto when using LionScreens and not having write access to the share. Now the listbox is also downloaded to the temp folder after a SWITCHTO like it is also currently done when no SWITCHTO was done. AMT 43
Developer Code Logic AMT COBOL C1810-002 Double click cursor names Double clicking a cursor name in the declaration statement of the cursor would result in a jump to the first usage of that cursor.Double clicking a cursor name in the COBOL source had no effect.  Double clicking a cursor name in the declaration statement of the cursor will  now result in a jump to the first usage of that cursor. Double clicking a cursor name at the location where it is used (OPEN, CLOSE or FETCH) will now result in a jump to the definition of the cursor. AMT 43
Developer Database AMT COBOL C1810-003 NULL keys in an index are now supported for AMT COBOL. This can be enabled by selecting  "Allow index keys being NULL" application option in the AMT IDE. NULL keys in an index were not supported. AMT LION will always set the "Null Values" boolean to false for fields that are part of an index. A new application option has been added for AMT COBOL only,"Allow index keys being NULL", which when selected will not set the "Null Values" fields that are part of an index to false so the "Null Values" value of these fields will remain as intended/defined. AMT 43
Runtime LionScreens AmtScreens C1810-001 Implemented the runtime behavior for the SHAPE and improved WYSIWYG at design time. Runtime and WYSIWYG is now working correctly.  FillColor and Color are now picked up when changed in the runtime and in the developer when the shapes are resized it has been improved to be more dynamic. AMT 43
Runtime LionScreens AMTScreens C1810-006 Groupbox is now available in AMTScreens. AMT 43
Runtime LionScreens AMT Screens C1810-007 AMTScreens scrollbox was implemented AMTScreens scrollbox not previously available. AMTScreens scrollbox now implemented. AMT 43
Runtime LionScreens LionScreens 324719 Properties set at runtime for the shape occurrences were not picked up and reset to default values. Color, FillColor, and Visible values changed at runtime were not picked up and default values were used. Color, FillColor and Visible changes at runtime are now handled correctly. AMT 43
Runtime LionScreens AMT LION C1810-008 SwitchTo is now also supported by AmtScreens SWITCHTO was not supported in AmtScreens. SwitchTo is now working in AmtScreens. After a SwitchTo is performed, the function 'Select Screen' shows a selection of applications you want to choose forms from, as there are now 2 (or more) connections known. AMT 43
Developer Various AMT COBOL C1809-085 Implemented synonyms for tables The AmtDeveloper would not support synonyms for tables. Now in the AmtDeveloper you can add a synonym for tables. A synonym is a different name for a table. The synonym can be used in queries, instead of the original tablename. Synonyms must be unique throughout the application/database. AMT 43
Runtime Various AMT COBOL C1810-010 Cobol statement INITIALIZE VARIABLE Cobol statement INITIALIZE VARIABLE statement, used on a group item containing pointer variables resulted in a "not implemented" exception.  Cobol statement INITIALIZE VARIABLE is now implemented, the pointer will be set to null AMT 43
Runtime Web Client AMT LION C1810-012 NoFramework web site always uses DNS resolve for station resolve. A DNS resolve was always performed by a NoFramework web site which could result in long login delays if resolving is not possible. Options to change this are available in CC but were not used by the client web site. A new setting was added to the web.config   Options are the same as in ControlCenter: Automatic, User, IpAddress, PreDefined where PreDefined will also set the station to UserName because there is no connection to the database yet. The Application server will change the station later on in PreDefined. AMT 43
Runtime Jobs/Batches AMT COBOL | AMT LION | AMT VS 327085 Sorting a large file with short records gives the exception : Array dimensions exceeded supported range Having a lot of available memory (> 8GB), large files, small records the program crashes on sort. Because of internal usage of arrays for the sort, then the maximum size of the array was exceeded. This is solved by limiting the maximum use of the memory for sorting through calculation. AMT 43
Developer Various AMT COBOL C1810-015 For DB2 commands, syntax check all columns and tables/views In the AmtDeveloper, when syntax checking a Cobol source using F7, all EXEC DB2 commands will now be checked if the column, tables, and views exist in the application. AMT 43
Runtime Various AMT COBOL C1810-016  Pointers with arrays did not work. This went wrong in AmtCobol: SET ADDRESS OF TO  (arrayindex). The array was pointing to the wrong memory location. The array is now pointing to the correct memory. AMT 43
AmtTools Reo AMT COBOL | AMT LION | AMT VS C1810-017 MsSql 2016 index key support Support more than 16 index keys for MsSql 2016 and up. From MsSql 2016 there is no longer a limit on 16 index keys. The reo will now allows to use more than 16 index keys if you have MsSql 2016 or higher for the selected Database. AMT 43
Runtime Various AMT LION 327321 System item si-transorigin  has the wrong value for reports. System item si-transorigin  has the wrong value for reports. It can not be accessed in a report but when accessed from a global logic called from a report it had the value 'T'. Now the si-transorigin has the value spaces when accessed in a global logic that is called from a report. AMT 43
Runtime Various AMT LION 327319 Listbox data not refreshed when using REPOSNAME When using a listbox with a REPOSNAME (only possible from LINC migration) and the data is changed, but user stays in same form, the data is not refreshed on the form. Now the data of a listbox with REPOSNAME is also refreshed in the form. AMT 43
Runtime LionScreens AMT LION C1810-023 When regenerating the current active form, Amtscreens would stop with a version mismatch error, ignoring the "Form version mismatch" setting AmtScreens did not continue after generating the form that is currently open. (version mismatch error) When regenerating a form that is currently open AmtScreens should restart when this is defined in the Runtime behavior -> "Form version mismatch" or when running in development mode When regenerating the current active form AmtScreens now respects the "Form version mismatch" setting. AMT 43
Migration DB2 AMT COBOL C1810-024 EXEC DB2 SET command The EXEC DB2 SET command was not supported in AMT COBOL. Using it would cause an error. The EXEC DB2 SET command is now supported in AMT. AMT 43
Runtime LionScreens AMTScreens C1810-021 Alt shortcuts and underline for buttons in AMTScreens now work properly. AMT 43
Developer Various AMT COBOL | AMT LION C1810-019 Moved code for creating new objects to the repository assembly. Moved code for creating new objects like forms|tables|etc to the repository assembly. Code for creating new objects is now moved from the developer to the repository assembly as preparation work for other enhancements and code stream lining. AMT 43
Generator Various AMT COBOL C1810-035 Support . (dot) in database date formats, in the application options of the AMT Developer Studio. The database date formats set in AMT Developer Studio, will now be used in RDMS/DB2 and SQL queries in AmtCobol. This was only done when setting a datetime parameter, but now this is also done when reading from a datetime field. AMT 43
Generator Various AMT COBOL C1810-036 EXEC DB2 WHENEVER statement The EXEC DB2 WHENEVER statement caused an error in the generator when the CONTINUE option was used. This is now fixed in the generator, when the CONTINUE option is used, the delegate of the SQL object for the specified event is set to NULL, so execution will continue. AMT 43
Runtime Web Client AMT LION 327209 White spaces missing in listbox White spaces in 'hello        world' were trimmed to one space so aligning failed. White spaces are now preserved. AMT 43
Generator Various AMT COBOL C1810-042 EXEC DB2 INSERT statement Using the EXEC DB2 INSERT statement without specifying the columns would cause an error. This is corrected and using the EXEC DB2 INSERT statement without specifying the columns now validates and generates correctly.  AMT 43
Migration COBOL AMT COBOL C1810-043 AMT COBOL generator, parsing embedded SQL statements, a parse error occured on a SELECT statement with an ORDER BY and WITH UR clause. When parsing DB2 and RDMS SQL statements the parser was very strict on keywords like FETCH or INTO while parsing the columns in an ORDER BY, GROUP BY or HAVING clause. It did not allow the WITH clause after the ORDER BY. The check on keywords is now removed from the parser making it less strict on parsing these columns. A list of columns is separated by comma's, after that any keyword is allowed as long as it is allowed in a SELECT statement. Example: DECLARE CURSOR FOR SELECT A, B, C FROM TABLE ORDER BY A, B WITH UR. AMT 43
Migration COBOL AMT COBOL C1810-044 Changes for C1810-015 caused parser error on SELECT FROM IBM.SYSDUMMY1. In AMT Developer Studio, checking for columns in an SQL statement caused an error when table was IBM.SYSDUMMY1. The parser now ignores SYSDUMMY1 because the columns should always be function parts or host variables. AMT 43
Migration COBOL AMT COBOL C1810-045 SQL statement with an alias on a case expression was not supported. SQL statement below caused a generation error in AMT COBOL. The alias after AS was not supported.  SELECT COL1,   CASE     WHEN COL2 IS NULL THEN 0     ELSE COL2   END   AS Col2_Alias With this fix the alias is supported and generated correctly into C#. AMT 43
Runtime LionScreens AMTScreens C1810-046 In AmtScreens the alpha fields were not underlined completely when UnderlineWholeField was set to true at form level and not used in code When UnderlineWholeField is set to true the alphafields were only underlined correctly when used in code, but should be aligned correctly when UnderlineWholeField is set. Alpha fields are now correctly underlined and is not dependent on being used in code not. AMT 43
Runtime Web Client AMT LION C1810-067 Large comboboxes of type simple did not show its default value selected in the view, therefore the user needed to scroll down. The default selected will now be visible at the top. AMT 43