AMT Release Notes

AMT 53

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

Special attention items:

AMT 53

Product Cat Subcat Description Type Version Priority
AMT LION | AMT COBOL Developer Forms 327352 Displayed name of Edit box on the screen layout improved. When changing the name of an Edit box in the Object Inspector, it did not change the name that the Edit box displayed on the screen layout. Now when changing the name of the Edit box in the Object Inspector the name in the Edit box itself, on the screen layout, will also change when the change is confirmed. FIX AMT 53
AMT LION | AMT COBOL Developer Forms 326680 Duplicate names in form and insertable form An error only appeared in AMTScreens and LionScreens when a form and the insertable that was used within the form both had an item in the layout with the same name at validation. Now an error is given when first trying to add the insertable, and at validation when performing a syntax check on the form if both the from and one of its insertable forms contain an item with the same name. FIX AMT 53
AMT LION Runtime AmtScreens C1901-120 Delete and Backspace are now also recorded and played back in the macro editor Delete and backspace were not supported yet in the macro editor. Support is now added for delete and backspace. NEW AMT 53
AMT LION | AMT COBOL Developer Revision Control C1904-029 Items were missing in the Relations page of an object Items were missing in the Relations page of an object (program/subprogram/copies etc). During generation a number of relations of the objects generated were not stored in the database. All relations of the generated object are now stored in the database. FIX AMT 53
AMT LION Runtime AmtScreens C1904-059 Issues with duplicate names fixed When there is a Macro with the same name and there are already roles selected, the roles should have been disabled, so, they could not be selected. Fixes made to make sure that roles are not accidentally overwritten when Macros have the same name. FIX AMT 53
AMT LION | AMT COBOL AmtTools Reo C1810-152 AMT Reorganize Implementation Identity triggers for new Reorganize. The new AMT Reorganize is still in preview and currently, functions are being added in a phased approach. It will be necessary for the new AMT Reorganize to create and drop triggers for Identity columns. New functionality has been implemented for the new AMT Reorganize to create or drop the Identity triggers, needed for Identity columns. FIX AMT 53
AMT COBOL (IBM z/OS only) Developer Code logic C1904-071 CICS QUERY SECURITY statement not supported in AMT COBOL. The usage of the CICS QUERY SECURITY statement was not supported in AMT COBOL. The CICS QUERY SECURITY statement (TRANSATTACH option only) has now been implemented. FIX AMT 53
AMT LION | AMT COBOL AmtTools Reo C1904-079 The new Amt Reorganize would recreate some stored procedures when it was not needed The check for stored procedures or functions was incorrect, leading to AMT Reorganize to recreate some stored procedures and/or functions. Stored procedures or functions are now correctly checked. FIX AMT 53
AMT LION Developer Forms C1904-085 Lion Highlighting. A couple of incorrectly highlighted keywords where found: BLANK-WHEN-ZERO, LEADING-SIGN  The keywords are now highlighted correctly. FIX AMT 53
AMT COBOL Developer Code logic C1904-086 CICS INQUIRE TRANSACTION statement not supported. For migrated IBM z/OS customers only. The usage of the CICS INQUIRE TRANSACTION statement was not supported in AMT COBOL. The CICS INQUIRE TRANSACTION statement has now been implemented. FIX AMT 53
AMT LION Runtime AmtScreens C1904-089 Macro movement in Memo Navigation movement when replaying Macro's was not implemented. Implemented movement with cursor keys within the memo are now replayed correctly when playing Macros. NEW AMT 53
AMT COBOL Generator Various C1904-095 Runtime exception when DB2 SELECT into/where had the same host variable name. When the INTO host variable and the WHERE host variable are the same name, no prepare parameter is set causing an exception at runtime. The generator now keeps track of where a host variable is used and generated, now the correct prepare parameters is set when using the same name in the INTO and WHERE parts. FIX AMT 53
AMT COBOL Developer Forms C1905-001 Cobol CICS BMS needs support for extended attributes. In the COBOL forms when selecting an online system "CICS BMS" then the attribute map appears and you are able to select which attributes need to be generated in the map file. Currently, only Color has a visual impact in the runtime. The others attributes impact the buffer positions of the fields and attributes in the screen buffer, in the same way they did on the mainframe. FIX AMT 53
AMT COBOL Developer Code Logic C1905-002 Data qualification CICS SEND (FROM) statement not supported. For migrated IBM z/OS customers only. Qualifying the FROM data-area option of the CICS SEND statement was not supported in AMT COBOL. Data qualification of the FROM data-area has now been implemented. FIX AMT 53
AMT COBOL Developer Code logic C1905-003 WAIT option CICS SEND statement not implemented. For migrated IBM z/OS customers only. The WAIT option of the CICS SEND statement was not supported in AMT COBOL. The WAIT option is now being parsed but ignored as well, because this option is obsolete in AMT. FIX AMT 53
AMT COBOL Runtime Various C1905-004 For EXEC DB2 the SQLCODE was not always set in a sub program. For EXEC DB2 the SQLCODE was not always set in a sub program when the program was called multiple times, with a parameter indicating to execute an open/fetch or close or when having the declare cursor defined in the working storage. Now all paths in the cursor close are setting the sqlcode and the  "EXEC DB2" statements inside the working storage and are now executed only the first time and not at each time the sub program is called.  FIX AMT 53
AMT COBOL Generator Various C1905-005 Working storage item in the wrong location. In a specific scenario, the working storage item was in the wrong location when a sub-item in a structure and the previous sub-item had a picture with a decimal/1000-separator picture (eg. 99.99) and that previous item was also tested on low-values. Now the item has the right position calculated. FIX AMT 53
AMT COBOL Runtime Various C1905-006 Could not store value with decimals into Binary Integer array Could not store value with decimals into Binary Integer array when the value got rounded.  So COMPUTE X(1) ROUNDED = 2.0 / 3.0.   The decimals were chopped of if X is defined as an array. The decimals are not chopped of anymore and the value is correctly stored into the variable. FIX AMT 53
AMT COBOL Runtime Various C1905-007 Fix VSAM CICS WRITE with RBA so the records will be added to the end of the file. Fix VSAM WRITE with RBA so the records will be added to the end of the file and the RBA (Relative Byte Address) will be returned in the ridFld variable. The previous implemention of a CICS WRITE with option RBA specified would calculate the record number by using the RBA value and insert or update the record. According to IBM documentation a WRITE with the RBA option specified should add the record to the end of the file and set the value of the ridFld parameter to the RBA of the newly added record. The implementation of the CICS WRITE with RBA has been changed according to the IBM documentation. FIX AMT 53
AMT COBOL Runtime Jobs/Batches C1905-009  Add IBM DB2 specific SQL codes For COBOL customers it is possible to check for SQL return codes after an SQL query has been executed. However, we returned only the OS2200 RDMS codes. For our IBM customers we have added also the equivalent IBM DB2 SQL return codes. NEW AMT 53
AMT COBOL Runtime Various C1905-010 CICS VSAM DELETE with GENERIC option not correctly implemented. CICS VSAM DELETE with GENERIC option was not correctly implemented. All records matching the key should be deleted but only one record (the first matching record) was deleted. This is fixed now, all records matching the key will now be deleted (if the GENERIC option is specified). FIX AMT 53
AMT LION Developer Web Services 328095 The WSDL generating a https link in the WSDL provided by the webservice The generated web.config was not configuring the service to use HTTPS, resulting in a normal HTTP address. Extended the generating of the web.config to generate settings needed to run as HTTPS. Please note: If attempting to upgrade an already existing web service, the web.config file will need to be edited to remove the entry for the webservice. After generation, an updated entry with the correct information will be added. NEW AMT 53
AMT LION | AMT COBOL AmtTools Reo C1904-094 New Reorganize detects differences in stored procedures / view and indexes The New Amt Reorganize did not correctly detect changes regarding stored procedures / view and indexes with an extensive test database.  Also, max keycolumns of 16 for indexes were not handled correctly. The new Amt Reorganize now correctly analyzes stored procedures/functions and views.  When you have an index with more than 16 columns in an MSSQL version before 2016, only the first 16 columns are placed within the index and a warning is now given. FIX AMT 53
AMT COBOL Developer Code logic C1905-012 Numeric array field was not displaying correct value in Micro Focus Windows mode. For a COBOL definition like: 05  S-OPT-AGES.          10  S-OPT-AGE           PIC 99            OCCURS 8. When data was moved in the structure and the numeric was read, only the last digit of the numeric was right, e.g. 25 was read as 05. This happened only in a Micro Focus Windows AMT COBOL application. Problem is fixed with this change, overpunched numeric fields were not handled correct in Micro Focus Windows mode, all other modes including Micro Focus Unix work correctly.  Existing customers should not see any differences in behavior. FIX AMT 53
AMT COBOL Developer Code logic C1905-013 FORM-KEY function (SDF Program Interface) not supported in AMT COBOL. For migrated A-Series customers only. The FORM-KEY function (SDF Program Interface) was not supported in AMT COBOL. The FORM-KEY function has now been implemented. FIX AMT 53
AMT LION | AMT COBOL Developer Database C1905-015 Maximum size of alpha database fields enlarged from 9999 to 2^30 - 1 in AMT Developer. Maximum size of many fields, including table and view fields in AMT is 9999. For a migration project we needed bigger fields and modern databases support this with types like text and varchar(max) (MSSQL) or CLOB (Oracle).  AMT Developer now allows database field sizes up to 2^30 -1 (1.073.741.823), the maximum size of a ntext field in MSSQL. CHANGE AMT 53
AMT LION Runtime Various 328114 Sort crashes on files with only linefeeds. Sort crashes on files with only linefeeds while the application option was set to carriage return linefeeds. Now, sort can handle the difference between the file-id option and application option. FIX AMT 53
AMT COBOL Control Center Configuration C1905-018 Tab "Cobol Properties" not available in Control Center for migrated CobolMiFoWindows applications. Tab "Cobol Properties" not available in Control Center for migrated Micro Focus applications set to "CobolMiFoWindows". This has been fixed, the tab "Cobol Properties" is now available for migrated "CobolMiFoWindows" applications. To access: "System Configuration" -> "Architecture" -> "Applications" -> select an application to see the "Detail information of Application" popup form. This form will now contain the "Cobol Properties" tab for Cobol MiFo/Windows applications. FIX AMT 53
AMT COBOL Generator Various C1905-019 When calling on IBM function CEE3AB2 it should abend. In former IBM COBOL, CEE3AB2 requests to terminate the enclave with an abend and user-defined reason code, so, when calling on IBM function CEE3AB2 it should then abend, but instead, it crashed with a 'library not found' error. Now, an abend is executed by the program. This only occurs with former IBM COBOL Applications that were set to application kind: IBM COBOL. FIX AMT 53
AMT LION Runtime Web Client 328110 Current language is not selected. Current language is not selected in the Application Center, the first language is always selected. The language was not selected, nevertheless the dropdown items are added. Now the current language is also selected. FIX AMT 53
AMT COBOL Runtime Various C1905-024 Give meaningful exception when CWA size not set. When the CWA size(common work area size) is not set, the transaction agent would generate a generic Null reference exception (which can be found in the Event Viewer or the debug log file). This is changed to message "CwaSyncData (CWA) is null", which is more meaningful. NEW AMT 53
AMT LION Generator Various C1905-025 A provided webservice with a routine that only returns a result would throw an out-of-bounds exception Indexes for parameters need to be corrected internally, this is not correctly done when there are no parameters. Now the index for the result is correctly set. FIX AMT 53
AMT COBOL Runtime Various C1905-028 Starting environment variable names with "dd_" is not necessary for migrated Micro Focus Windows applications. Micro Focus (MiFo) Unix applications prefix variables stored as environment variable with "dd_". This is not done in migrated Micro focus application(MiFo) that were set to "CobolMiFoWindows". This is now reflected in our runtime when searching for environment variables. In the case of a  migrated MiFo Windows application the "dd_" is never added to the variable names so when searching for a variable, it does not try to search with "dd_" in front of the name. CHANGE AMT 53
AMT LION | AMT COBOL Runtime Various 328120 The TRANSACTIONID exceeded the maximum allowed number.  The Transaction database did not store the records anymore, because of exceeding the maximum allowed value of the identity field. The field TRANSACTIONID has been enlarged to NUMERIC (18,0). CHANGE AMT 53
AMT COBOL Runtime Scripts C1905-030 A DeleteFile using the ComScript was not returning an error when the file was in use. Calling the DeleteFile method on an object creating using CreateFileObject (from ComScript) was not returning an error when the file was in use. Now an error is returned that the access is denied. FIX AMT 53
AMT LION | AMT COBOL Runtime Jobs/Batches C1905-031  JCL extend output files does not work correctly. When a JCL script opened a file for append in runtime, the next program that uses that file should also open it for append. Instead the file was being overwritten. When a JCL script opens a file for append, the next program that uses that file also opens it for append. CHANGE AMT 53
AMT LION | AMT COBOL Developer Various 327534  The content of the default_lion.ini is incorrect The content contains invalid values. At initial setup it could point you in the wrong direction. The content is corrected and the file will be updated in the Lion directory. FIX AMT 53
AMT LION Runtime Web Client C1905-036 In the web client special characters like < or > did not show properly in the combobox and listbox. This happened because these HTML entities were not properly decoded after being appointed/sent back. All combobox and listbox values will now be properly decoded.  FIX AMT 53
AMT LION | AMT COBOL Developer Various C1905-037 "Name" column in "Current locks" screen is too small "Name" column in "Current locks" screen is too small, most item names are truncated. This column is now enlarged to 200 pixels. The width of the "Application" combobox is also enlarged to 200 pixels.  FIX AMT 53
AMT COBOL Runtime Various C1905-039 Fixed some checks on platform in the runtime libraries. In the runtime library there are some checks for mainframe platform Unix. 2 of these checks were for the behavior off Former Micro Focus COBOL applications and should also work for Micro Focus Windows systems: - Opening a non existing file for reading should return an error instead of wait for the file. - Accessing WHEN-COMPILED register should return a date. Changed the checks so Micro Focus Windows and Unix behave similar. This was done for a new Micro Focus Windows project. Existing customers have different platform settings and should not see changed behavior. FIX AMT 53
AMT LION | AMT COBOL Generator Various C1905-041 For generation set Development, it is useful not to have the website compiled in batch mode. The compilation of websites can take a long time. The genset option BATCHCOMPILE=FALSE will put the batch mode compilation mode to false. Note: Check the file compilation_Default.config for more information after generation. NEW AMT 53
AMT LION Runtime Various 328128 Application Manager Crash When a Lion Environment with an AppManager and backup AppManager came under stress there was small chance that the AppManager did have a crash during a failover or returning to the original AppManager. The application crash of the manager is prevented by improving the detection of no actions (heart beat) from application servers and better error handling when a connection needs to be closed. FIX AMT 53
AMT COBOL Generator Various C1905-047 EVALUATE TRUE and EVALUATE FALSE are generated identical. EVALUATE TRUE and EVALUATE FALSE were generated identical. This is now fixed, when an EVALUATE FALSE is used the conditions used (in the WHEN statements) are inverted. FIX AMT 53
AMT LION | AMT COBOL Developer Code Logic C1905-049 The GOBACK command should not be supported in OS2200 COBOL applications. The GOBACK command should not be supported in OS2200 COBOL applications. GOBACK is now only supported for applications that are migrated from IBM or MicroFocus COBOL. Using the GOBACK command in an other type of application will result in an error being reported: Invalid Expression [GOBACK] encountered. FIX AMT 53
AMT LION Runtime Various 328128 Application manager crash (ActiveAmt / ActiveAmtCE handling) When an application manager fails and is coming back back after a spare manager has taken over, the spare manager is not returning back to spare state. The way ActiveAmt /ActiveAmtCE is connecting to a spare manager has been improved, so that a spare manager can return to spare when the primary manager becomes available again. FIX AMT 53
AMT LION Runtime Web Client 328139 When specifying the form name in a fillbox the combobox is not filled correctly in the web. Downloading of list and combobox does not work correctly when the formname is used with fillbox. Downloading of list and combobox has been corrected to download the file when formname is used. FIX AMT 53
AMT LION | AMT COBOL Developer Various C1905-052 Exporting objects with the command line could cause the export to hang. Exporting objects with the command line could cause the export to hang when using the /NOGUI option and specifying an invalid file name. The export no longer hangs in the above scenario. FIX AMT 53
AMT LION | AMT COBOL Developer Various C1905-054 The HasGroup on a ILionReposSecurityUser did not load the groups. The HasGroup on a ILionReposSecurityUser did not load the groups. Also, ILionReposSecurity didn't handle correctly a new repository object when creating and disposing the repository objects multiple times in a script. Now the HasGroup methods checks if the groups are loaded and if not loads them. And the security interface now handle the repository object correctly. FIX AMT 53
AMT COBOL Developer Various C1905-055 Export options "SP" and "VI" did not work for migrated COBOL applications. Export options "SP" and "VI" did not work for migrated COBOL applications when using the command line and file export options of the developer. Export options "SP" and "VI" now also work for migrated COBOL applications as they already did for LION application ones. FIX AMT 53
AMT COBOL Generator Various C1905-057 Support ASSIGN TO EXTERNAL in FILE-CONTROL section. The use of keyword EXTERNAL in the ASSIGN TO statement in the FILE-CONTROL section was not supported. This caused filename "EXTERNAL" to be assigned to the file Id. This is fixed, keyword EXTERNAL is recognized when validating/generating and won't be used as the filename. FIX AMT 53
AMT LION | AMT COBOL AmtTools Reo C1901-021 Amt Reorganize identity field changes The new Amt Reorganize did not handle changes of identity fields correctly. Identity fields changes (for example numeric 9 to numeric 18) are now correctly handle by the new Amt Reorganize without a total rebuild of the table. FIX AMT 53
AMT LION | AMT COBOL Runtime Jobs/Batches C1905-058 ASA controls support for printfile in AMT No ASA controls support for printfile in AMT On the mainframe we often receive printfiles from customers to compare these files with the ones that come out of AMT after migration.  Every time we see that those file contains a control-character at column 0 that dictates how many lines should be shifted. This is called: ASA carriage control characters. See  https://en.wikipedia.org/wiki/ASA_carriage_control_characters  At SFBLI there are Cobol and Easytrieve processes that read these file back for further processing. Those programs expect an ASA character at column zero. Also comparing printfiles from the mainframe to Amt-printfiles is difficult. Therefore, we decided to build support to create ASA-prinfiles in AMT as well. In the ControlCenter under printers, there is a now setting now called: "ASA carriage control characters" If this setting is set, then the printfile will be created with ASA controls. But if the file is printed by the PrintController and sent to a printer or file, the PrintController will translate the ASA controls to "readable" characters for the printer. CHANGE AMT 53
AMT COBOL Runtime Jobs/Batches C1905-061 Support file assigned to NUL in MicroFocus applications Assigning a file to NUL caused error because the runtime was trying to open a file named NUL.DAT which didn't exist. Assiging NUL to a file is supported now, this is a special case. When the runtime detects a file being assigned to NUL, it will set the EOF flag to true and will not try to open it.  FIX AMT 53
AMT COBOL Developer Code logic C1905-065 improvement of CMD REN statement The rename-instruction CMD REN was wrongly converted to an Amt-Move call. The statement REN is used in CMD jobs to do a rename of a file. The file name to rename to, only specifies the filename, not the entire path. The path of the file to rename is contained in the source filename. This is now converted to an Amt-Rename call which handles the files and paths correctly. This function has been added to the PowerShell library. FIX AMT 53
AMT COBOL Generator Various C1905-063  Some unneeded/unused components were generated for AMT COBOL. Some unneeded/unused components where generated for AMT COBOL as the BL layer was phased out before. The "web.config", "UserSettingService.svc", "FormDefinitionsService.svc" and "ApplicationService.svc" in the server folder are now removed as well as all the svc for the forms.  FIX AMT 53
AMT LION | AMT COBOL AmtTools Reo54 C1905-059 The new Amt Reorganize created Amt system functions together with normal functions. Amt Reorganize did give errors because the order of creation was incorrect, Amt system functions were created too late, so these couldn't be used as default values. The new Amt Reorganize creates the Amt System functions first before the normal user objects. FIX AMT 53