Chapter 2. Cobol2AngularJSDotNet

2.1. BLU AGE II 5.2.1 Cobol2AngularJSDotNet Release Note

Global Notes:

  • 5.X products are parts of the “Blu Age II – Legacy to cloud” product family, built on Kepler (Eclipse 4.3);

  • Product documentation is available at http://wikimod.bluage.com/mediawiki/index.php/Main_Page;

    • Starting with version 5.0, a new license management has been introduced, requiring the use of a new License Server (shipped separately – see corresponding documentation for details);

    • 5.X versions rely on the launch configurations mechanism introduced with the 4.X product series in replacement of the previous workflow mechanism. Migrating from the 3.X workflow to the 5.X launch configuration is described in a dedicated guide.

2.1.1. COBOL

2.1.1.1. Fixes

2.1.1.1.1. Grammar
  • String continuation construction now supports inserted comments.

  • Fix behavior for SET statements with multiple source expressions.

2.1.1.1.2. Annotation Editor
  • Navigation from history in COBOL Annotation Editor works again.

  • Fix random exception when opening a file with the annotation editor.

2.1.1.1.3. BMS Map modernization
  • Handle IEBUPDTE syntax on top of BMS maps and associated copybooks.

2.1.1.2. Improvements

2.1.1.2.1. Grammar
  • Handle the ALTER statement.

  • Possibility to use the following keywords as data name.

    • SAVE

    • PRIOR

    • CLEAR

    • AUDITS

  • Handle the POINTER VALUE NULL in segment definition.

  • Handle the EXTERNAL keyword in File Description definition.

  • Handle the CHARACTERS and AFTER keywords in COPY REPLACING BY statement.

2.1.1.2.2. Transmodeling
  • Generated warnings about Integer to String conversion in transtyping have been removed, since they are not relevant for the supported target languages.

2.1.1.2.3. Entities Modernization
  • A Bean/Class creation action was added to the wizard. It enables the user to organize its modernized entities. Consider the following use case :

2.1.2. DOTNET

2.1.2.1. Fixes

2.1.2.1.1. Code Generation
  • Stored procedures which return a list are now correctly generated.

  • When an SQL date parameter is null its value is set to DBNull instead of null.

2.1.2.1.2. UML Modelling
  • SQL queries can now be generated on more than one line.

2.1.2.2. Improvements

2.1.2.2.1. UML Modelling
  • An Entity/Class can now be stereotyped as constant and all its properties will be generated as constant. Entity must be stereotyped “constant”.

  • An Interface/Service property with a default value is now generated as constant.

  • A Service can be tagged to specify application layer.

  • The “TemplateElement” stereotype can be used on operations to generate template code.

2.1.2.2.2. Code Generation
  • Interfaces of services won’t be generated.

  • All protected or public not static methods are generated as virtual.

  • Data access code has been refactored.

  • Entity equality is now based on id. Id property must be stereotyped “Identifier”.

  • All private properties are now prefixed with underscore.

  • NLog can be replaced with another logging library. It must be specified in workflow properties.

  • Common logging methods have been created.

2.2. BLU AGE II 5.2.2 Cobol2AngularJSDotNet Release Note

Global Notes:

  • 5.X products are parts of the “Blu Age II – Legacy to cloud” product family, built on Kepler (Eclipse 4.3);

  • Product documentation is available at http://wikimod.bluage.com/mediawiki/index.php/Main_Page;

    • Starting with version 5.0, a new license management has been introduced, requiring the use of a new License Server (shipped separately – see corresponding documentation for details);

    • 5.X versions rely on the launch configurations mechanism introduced with the 4.X product series in replacement of the previous workflow mechanism. Migrating from the 3.X workflow to the 5.X launch configuration is described in a dedicated guide.

2.2.1. COBOL

2.2.1.1. Fixes

2.2.1.1.1. Grammar
  • String continuation construction now supports inserted comments.

  • Fix behavior for SET statements with multiple source expressions.

2.2.1.1.2. Annotation Editor
  • Navigation from history in COBOL Annotation Editor works again.

  • Fix random exception when opening a file with the annotation editor.

2.2.1.1.3. BMS Map modernization
  • Handle IEBUPDTE syntax on top of BMS maps and associated copybooks.

2.2.1.2. Improvements

2.2.1.2.1. Grammar
  • Handle the ALTER statement.

  • Possibility to use the following keywords as data name.

    • SAVE

    • PRIOR

    • CLEAR

    • AUDITS

  • Handle the POINTER VALUE NULL in segment definition.

  • Handle the EXTERNAL keyword in File Description definition.

  • Handle the CHARACTERS and AFTER keywords in COPY REPLACING BY statement.

2.2.1.2.2. Transmodeling
  • Generated warnings about Integer to String conversion in transtyping have been removed, since they are not relevant for the supported target languages.

2.2.1.2.3. Entities Modernization
  • A Bean/Class creation action was added to the wizard. It enables the user to organize its modernized entities. Consider the following use case :

2.2.2. DOTNET

2.2.2.1. Fixes

2.2.2.1.1. Code Generation
  • Stored procedures which return a list are now correctly generated.

  • When an SQL date parameter is null its value is set to DBNull instead of null.

2.2.2.1.2. UML Modelling
  • SQL queries can now be generated on more than one line.

2.2.2.2. Improvements

2.2.2.2.1. UML Modelling
  • An Entity/Class can now be stereotyped as constant and all its properties will be generated as constant. Entity must be stereotyped “constant”.

  • An Interface/Service property with a default value is now generated as constant.

  • A Service can be tagged to specify application layer.

  • The “TemplateElement” stereotype can be used on operations to generate template code.

2.2.2.2.2. Code Generation
  • Interfaces of services won’t be generated.

  • All protected or public not static methods are generated as virtual.

  • Data access code has been refactored.

  • Entity equality is now based on id. Id property must be stereotyped “Identifier”.

  • All private properties are now prefixed with underscore.

  • NLog can be replaced with another logging library. It must be specified in workflow properties.

  • Common logging methods have been created.

2.3. BluAge II 5.2.3 Cobol2AngularJSDotNet WCB Release Note

Global Notes:

  • 5.X products are parts of the “Blu Age II – Legacy to cloud” product family, built on Kepler (Eclipse 4.3);

  • Product documentation is available at http://wikimod.bluage.com/mediawiki/index.php/Main_Page ;

    • Starting with version 5.0, a new license management has been introduced, requiring the use of a new License Server (shipped separately – see corresponding documentation for details);

    • 5.X versions rely on the launch configurations mechanism introduced with the 4.X product series in replacement of the previous workflow mechanism. Migrating from the 3.X workflow to the 5.X launch configuration is described in a dedicated guide.

2.3.1. Cobol

2.3.1.1. Fixes

2.3.1.1.1. Transmodeling
  • An error involving ON SIZE ERROR statements has been fixed.

  • An error on IF statements containing missing mappings has been fixed.

2.3.1.2. New features

2.3.1.2.1. Append attributes to an existing entity already modernized

Merging modernized attributes to an existing bean is now possible.

A new entry in the bean modernization wizard can be checked in the generation target sub-section. This entry can only be checked if a MagicDraw project is opened and for the following generation options :

  • Value Object

  • Bean

  • PK_MODEL Entity

  • Constant

Once this entry is checked, the merging class selection is available and can be used to choose the target class in the model which will receive the appended attributes.

The target class has to be stereotyped in accordance with the selected generation option, which means that, for instance, the viewer only shows classes stereotyped VO for a "Value Object" generation option.

Attributes are then appended to the selected class when the Finish button is pressed.

[Note]Note
  • If some attributes have the same name as previously generated ones, they will be ignored at merging time, but existing attributes will have their mappings updated to take into account both legacy attributes.

  • If multiple classes have been selected in the bean modernization wizard, all of their combined attributes will be merged in the target class.

2.3.2. AngularJS / DotNet

2.3.2.1. Fixes

2.3.2.1.1. Generation errors
  • Attribute generated twice on screen field input.

  • An internal error occurred during: "Blu Age Generation: .Capitalization-Fwd_launch.workflow".

  • Static read only field String[].

  • DB connection issue with POC libraries.

  • Errors when using persistence type ADO.

2.3.2.2. Improvements

2.3.2.2.1. Generation enhancements
  • Possibility to generate private operations.

  • Possibility to use the import stereotype on interface.

2.4. BluAge II 5.2.4 for WCB Cobol2AngularJSDotNet Release Note

Global Notes:

  • 5.X products are parts of the “Blu Age II – Legacy to cloud” product family, built on Kepler (Eclipse 4.3);

  • Product documentation is available at http://wikimod.bluage.com/mediawiki/index.php/Main_Page ;

    • Starting with version 5.0, a new license management has been introduced, requiring the use of a new License Server (shipped separately – see corresponding documentation for details);

    • 5.X versions rely on the launch configurations mechanism introduced with the 4.X product series in replacement of the previous workflow mechanism. Migrating from the 3.X workflow to the 5.X launch configuration is described in a dedicated guide.

2.4.1. AngularJS / DotNet

2.4.1.1. Fixes

The following issues have been fixed in this version:

  • PLTC-3506 : Service instantiations in Bootstrapper.cs file has been corrected.

  • PLTC-3507 : Some generation errors were fixed.

  • PLTC-3508 : Visibility of Level 88 functions has been fixed.

  • PLTC-3510 : DbType of String and Int32 have been corrected.

  • PLTC-3513 : Some generation errors were fixed.

  • PLTC-3515 : Dots have been replaced by underscores in SQL parameter names.

  • PLTC-3516 : Fully qualified names are now used in Bootstrapper.cs file.

  • PLTC-3526 : Transaction isolation level is now used with fully qualified name.

  • PLTC-3531 : Comments on interfaces are now correctly generated.

  • PLTC-3550 : keyPressed event is now correctly generated.

  • PLTC-3612 : Sql rollback has been corrected.

  • PLTC-3622 : Visibility property is now correctly generated.

  • PLTC-3795 : Sql query whose result is empty and result type is a scalar now returns null if result type is nullable.

  • PLTC-3804 : Log has been cleaned of unwanted messages.

2.4.1.2. Improvements

The following improvements have been added in this version:

  • PLTC-3502 : A parameter was added to specify queries with a unique result.

  • PLTC-3519 : toGenerate property was added to specify that a ProjectDefinition must be generated or not.

  • PLTC-3533 : Client-side pagination is now available.

  • PLTC-3582 : Services can now have attributes.

  • PLTC-3588 : Collections can now be used in Sql Query parameters.

  • PLTC-3593 : Operations with <<template_element>> stereotype can now be used to supply custom implementation.

  • PLTC-3595 : Constants can now be used in Sql Query parameters.

  • PLTC-3620 : IList type has been replaced with List.

2.5. BluAge II 5.2.5 for WCB Cobol2AngularJSDotNet Release Note

Global Notes:

  • 5.X products are parts of the “Blu Age II – Legacy to cloud” product family, built on Kepler (Eclipse 4.3);

  • Product documentation is available at http://wikimod.bluage.com/mediawiki/index.php/Main_Page ;

    • Starting with version 5.0, a new license management has been introduced, requiring the use of a new License Server (shipped separately – see corresponding documentation for details);

    • 5.X versions rely on the launch configurations mechanism introduced with the 4.X product series in replacement of the previous workflow mechanism. Migrating from the 3.X workflow to the 5.X launch configuration is described in a dedicated guide.

2.5.1. AngularJS / DotNet

2.5.1.1. Fixes

The following issue has been fixed in this version:

  • PLTC-3879 : A bug which prevented constant datatypes from being generated was fixed.

2.5.2. COBOL reverse

2.5.2.1. Fixes

The following issue has been fixed in this version:

  • PLTC-3899: NullPointerExceptions while transmodeling some files were fixed.

2.6. BluAge II 5.2.6 for WCB Cobol2AngularJSDotNet Release Note

Global Notes:

  • 5.X products are parts of the “Blu Age II – Legacy to cloud” product family, built on Kepler (Eclipse 4.3);

  • Product documentation is available at http://wikimod.bluage.com/mediawiki/index.php/Main_Page ;

    • Starting with version 5.0, a new license management has been introduced, requiring the use of a new License Server (shipped separately – see corresponding documentation for details);

    • 5.X versions rely on the launch configurations mechanism introduced with the 4.X product series in replacement of the previous workflow mechanism. Migrating from the 3.X workflow to the 5.X launch configuration is described in a dedicated guide.

2.6.1. AngularJS / DotNet

2.6.1.1. Fixes

The following issue has been fixed in this version:

  • PLTC-4421 : Char fields are now generated as DbType.AnsiStringFixedLength.

  • PLTC-4527 : In web pages, data-ng-disabled property is now correctly generated.

2.6.1.2. Improvements

The following improvements have been added in this version:

  • PLTC-4492 : Value Objects are now generated with [Serializable].