Alchemy Solutions
HomeMigrationsProductsServicesInformationNewsPartnerPricingAbout Us
Fujitsu COBOL NetCOBOL .net CICS
quicksearch  
spcer
 
Fujitsu COBOL NetCOBOL .net CICSDownload Fujitsu COBOL NetCOBOL .net CICS SupportFujitsu COBOL NetCOBOL .net CICSFujitsu COBOL NetCOBOL .net CICS
Fujitsu COBOL NetCOBOL .net CICS
Home > Products
Product title  
Windows Products
What COBOL for Me?
NetCOBOL for .NET
NeoKicks
NeoBatch®
NeoSort
NeoData
NetCOBOL for Windows
PowerCOBOL
PowerBSORT
PowerFORM
Data Converter
Data Editor
Unix Products
NetCOBOL for Linux
NetCOBOL for SPARC Arch
Data Converter (SPARC Arch)
Data Editor (SPARC Arch)
NetCOBOL for HPUX
PowerBSORT

 

Fujitsu NetCOBOL for .NET


Contents


Executive Summary
Click image to view

Overview
Fujitsu NetCOBOL for .NET is a COBOL compiler created specifically for Microsoft's .Net Framework. This means that it:

  • Produces Microsoft's Intermediate Language (MSIL) that executes under the Common Language Runtime (CLR). This language-neutral, platform independent environment enables COBOL code to be mixed with any other .NET-supporting language (such as C# and VB .NET) on any .NET-supporting platform.
  • Adapts OO COBOL syntax, and supports .NET-specific extensions, so that COBOL programs can be written to take full advantage of the .NET Framework classes.
  • Media pack includes Microsoft® Visual Studio® 2005 Standard Edition – a value-packed add-on delivering this award-winning development environment for NetCOBOL for .NET developers.

These features allow you to bring COBOL fully into the world of Internet applications including XML Web services and ASP.NET pages, and to integrate that code with code written in other languages. The .NET Framework gives access to the latest technology and NetCOBOL for .NET ensures this is immediately available to COBOL programmers. COBOL-85 code and, with the help of NeoKicks, NeoBatch, and NeoSort, mainframe CICS and batch programs can be compiled and run, enabling you to leverage your current COBOL assets.

NetCOBOL for .NET can be purchased in three different packages: Professional, Developer, and Universal. The Professional package contains the .NET-supporting components and only supports the development of applications that will execute in the .NET environment. The Developer package adds NetCOBOL for Windows Standard Edition and multi-threaded run-time, giving the ability to develop native Windows applications as well as .NET-targeted applications and integrate the two together. The Universal package is a combination of the NetCOBOL for .NET Professional product and the NetCOBOL for Windows Enterprise Edition, giving you our top-of-the-line Windows application development environment along with the leading-edge NetCOBOL for .NET product.

  Highlights
  • COBOL compiler generates standard .NET MSIL (Microsoft Intermediate Language) code with the option to generate verifiable (Web safe) code.
  • Enhances COBOL syntax to allow creation of and integration with .NET Framework objects.
  • COBOL programs can be integrated seamlessly with other languages: inheriting from classes created in other languages, invoking and being invoked by methods written in other languages.
  • Full access to .NET Framework classes, including XML Web service and Windows Communication Foundation (WCF) classes
  • Mixed language applications can be debugged with the one, Visual Studio, debugger
  • Interoperation with COM and existing native code compilers
  • Includes, and integrates with, Microsoft’s Visual Studio 2005
  • Includes COBOL support for Windows Forms Designer, Web Forms Designer, and IntelliSense
  • ANSI Code Page (ACP) and Unicode runtime data modes aid migrating and mixing ACP applications in the .NET Unicode environment.



Detailed Features and Benefits

Fujitsu NetCOBOL for .NET contains the tools and utilities covering the full spectrum of COBOL development. The tables below list key features and benefits for each of these components.

Key Product Features
Fujitsu NetCOBOL for .NET Compiler
Visual Studio 2005 Integration
Utilities
Object-Oriented COBOL
Debugging

Key Product Features

New
in:
 
Feature
Summary
 
Detail of Feature
 
Benefit of Feature
V1   COBOL for .NET   GUI design. (WinForms)

Integrates with other languages and tools (as supported within the .NET Framework)
  Lets you use the application-supporting power of COBOL, seamlessly integrated with other Windows and .NET components.

V1       COBOL support for ASP.NET (LANGUAGE="COBOL")   Use existing COBOL skills to create up-to-date interfaces and applications.

V3       Supports .NET Framework 2.0 including generation of code for 64-bit environments   Lets your COBOL applications take advantage of the latest .NET features

V3.1       Supports .NET Framework 3.0 including support for Windows Communication Foundation (WCF)   Lets your COBOL applications take advantage of the latest .NET features.

    Access to data   Access most popular databases such as SQL ServerT, Oracle®, Informix®, Sybase®, and any ODBC compliant database.

  Access your company's data without complex database conversions.
V3       Supports SQL Server 2005 including the ability to write stored procedures, user-defined functions and triggers based on SQL CLR   Use type-safe code in stored procedures to make certain database queries more efficient and have the option of directly migrating mainframe applications that include stored procedures.

V3       Embedded SQL can use ADO.NET   Improves the performance of embedded SQL by as much as 30%.

V2.1
  Flexible data encoding support  

ANSI Code Page (ACP) and Unicode runtime data modes. Programs can be compiled to assume alphanumeric data is stored in ACP or UTF8, with functions supporting conversion between the different encoding forms.

  Greatly eases the COBOL migration of programs/data coming from single byte encoding environments, such as EBCDIC or ACP (usually thought of as ASCII) systems, as the lengths of alphanumeric items can be left as they are when using the ACP mode.

V3
V2



+V1
  Complete development environment  

Includes Visual Studio 2005 Standard (in the media pack) edition that provides:

  • A world-leading program development environment
  • Project management
  • WYSIWYG Windows and Web Forms design
  • Text editing
  • Debugging

Other tools that cover:

  • Data file maintenance
  • ODBC and runtime environment setup

Along with C#, Visual Basic, C++ and J#.

  ALL your critical COBOL development needs are met in a single package. You don't need to mix and match from different suppliers - just install the Fujitsu product package and get going.
 
V1.0a   Designer support  

COBOL code generated and used with the following designers:

  • Windows Forms
  • Web Forms
  Removes complexity of creating and coding .NET GUIs and ASP.NET pages as well as speeding application development.
 

V1.1

 

 

 


+V3.1

  IntelliSense  

Visual Studio 2005 IntelliSense is enabled for COBOL, including the following features:

  • Word completion
  • Method parameter info
  • Quick info on item data type
  • List available members
  • Syntax error marking
  • Code snippets
  Improves the coding experience giving programmers the information they need to create code correctly first time.

V3.1   Website support  

Includes support for:

  • ASP.NET 2.0 AJAX extension
  • Master pages
  • Adding templates
  Able to create the Website features your business needs.
"+Vn" in the "New in:" column indicates a feature that contains new or improved elements as well as existing elements. When "+Vn" is in Italics, it refers to the italicized detail items. The number n indicates the release in which the new feature was introduced.



Fujitsu NetCOBOL for .NET Compiler

New
in:
 
Feature Summary
 
Detail of Feature
 
Benefit of Feature
V1
Syntax support NetCOBOL for .NET supports:

Most of COBOL 85, 89 addendum

Object-Oriented COBOL

.NET-supporting extensions

CBL_ Routines


You can use your existing COBOL code.

You can apply your COBOL skills in the .NET environment.

Provides greater compatibility with Micro Focus COBOL programs.
V2       Ability to define enumerations
Ability to define interfaces
Specify access attributes (PRIVATE, PROTECTED, PUBLIC) on fields
Compare Boolean types

New BINARY- data types (SHORT, LONG and DOUBLE)

Supports nested programs
  NET concepts/objects/ abilities that can be useful to the COBOL programmer.



Provide compatibility with .NET short, long and double types.

Enables use of new or existing code that uses this COBOL 85 feature

V3       Referencing generic types - Allows the types of parameters to be defined at run-time – so a method can be defined and coded using a “generic” type, a type that isn’t precisely defined, and at run time when objects are instantiated the actual types are specified.

  Provides more flexible coding options.
V3       Static constructors can be defined in COBOL   Fills out the functionality of NetCOBOL

V3       TRY-CATCH-FINALLY statement added as new option for exception handling   Provides style of exception handling similar to that provided in C#.

V3       PERFORM VARYING-THRU format provides iteration of code through the members of a collection class object.


  Useful construct for working with collection classes
V3       Ability to define assembly custom attributes in COBOL.   Fills out the functionality of NetCOBOL

V3      

Special subroutines for converting between different formats of included signs in zoned (display) decimal items extended to include Micro Focus formats. New subroutines called

• #DECFJTOMF
• #DECMFTOFJ
• #DEC88TOMF
• #DECMFTO88


  Helps communicate zoned decimal data between different systems, if you have a need to do so.

Helps support a COBOL migration to NetCOBOL.
V3.1       SYNCHRONIZED clause allowed on group items.   Convenience in specifying SYNCHRONIZED for many items.

V3.1       RESUME statement added to support transfer of control from USE AFTER EXCEPTION procedures to specified procedures outside DECLARATIVES.   Greater control when recovering from exceptions.

    RDBMS access   You can use embedded SQL to access the following databases:

SQL Server, Oracle, Informix, Sybase

Any ODBC-compliant database

Extensive setup instructions


  Access your company's data without complex database conversions.

Improves the performance of embedded SQL by as much as 30%.
V3       Supports creation of code for the SQL common language runtime (CLR) enabling the creation of stored procedures, user-defined functions and triggers.   Use type-safe code in stored procedures to make certain database queries more efficient and have the option of directly migrating mainframe applications that include stored procedures.

V3       Embedded SQL can work with ADO.NET


  Improves the performance of embedded SQL by as much as 30%.

V3       Trace output of user-defined messages when using an ADO.NET connection.

  Helps monitor/debug user-defined messages.

V3
     

Retrieve return values of stored procedures.

  Important when using stored procedures in databases.


  COBOL File Handling   Supports all COBOL file types (sequential, line sequential, relative and indexed). Provides fast, reliable file handling.
 
  You can rely on the integrity of your data and give great response times to your users.
V2.1       Provides option to use the Btrieve file handler provided with the Pervasive.SQL product.   Rtrieve can support larger indexed files and can offer transaction support when used with NeoKicks.

V3       Append data to an existing record-sequential file using standard COBOL I/O   Useful additional option when working with record sequential files.
V3
      Concatenate multiple record sequential files to be used as a single input file to COBOL   Useful additional option when working with record sequential files.

V1.1   Pointer items  

Support for USAGE POINTER data items for handling dynamic memory within the NetCOBOL environment.

  Enables migration of code that has extensive use of pointers to NetCOBOL for .NET.

V1.1   Large sequential files   With Fujitsu's BSAM module, allows sequential files to grow to 4GB and higher.   Removes limitation present in earlier releases.


V1.1   External file handler  

Standard COBOL I/O statements (OPEN, READ, WRITE etc) can generate calls to an external file handler (one other than the regular NetCOBOL file handler). The external file handler interface is compatible with that defined for Micro Focus COBOL.

  Of greatest benefit to those emulating other systems where programs other than COBOL programs might access files.

V2   Verifiable code   Option to have compiler generate verifiable (memory safe) code.   For applications that may be downloaded over the Internet having verifiable code can be an important feature.

V2   Print files   Both COBOL “ASSIGN TO PRINTER” and PowerFORM print files supported.   Adds ability to print from .NET applications.


V2   Sort/Merge   COBOL SORT and MERGE statements supported.   Enables execution of sort and merge applications under .NET.

V2
 
 
 
 
 
+V2.1
+V2.1



V3.1


  Unicode and ACP support  

COBOL intrinsic functions to convert between ANSI Code Page (ACP) encoding to Unicode (either UTF-8 or UCS-2 depending on context):
ACP-OF
UNICODE-OF
NATIONAL-OF
DISPLAY-OF
NATIONAL
CAST-ALPHANUMERIC 

NATIONAL function extended to convert between UTF-8 and UCS-2 when executing with COBOL alphanumeric data in the UTF-8 code set.
 

  Provides more coding options for working with ACP applications or data files.
 
 
V2.1       Support provided for compiling programs in ACP or Unicode runtime data modes. Alphanumeric items are stored using ACP or UTF-8 depending on the mode.
 
  Greatly eases the COBOL migration of programs/data coming from single byte encoding environments, such as EBCDIC or ACP (usually thought of as ASCII) systems, as the lengths of alphanumeric items can be left as they are when using the ACP mode.

V2.1       Ability to configure whether the message output file and SYSOUT files are written in ACP or Unicode.
 
  Provides flexibility to choose the appropriate character encodings for these files within your organization.

V2.1       Ability to check for differences in the runtime code set for data or files with the EXTERNAL attribute.
 
See white paper for more details on using Unicode

  Ensures EXTERNAL items are not inadvertently shared by programs using different code sets.

V2   Hexadecimal numeric literals   Supports numeric literals in the form:H”XXXX” where the X’s represent hexadecimal digits.   Convenient format for specifying numeric values when those values are most meaningfully expressed in hexadecimal.

V2   CONSTANT SECTION   Fujitsu extension used for defining constant values.   Useful extension for giving names to constants.


V2   Source code   Sources files can be encoded in UTF-8 as well as ACP.   Provides a Unicode-compatible source file encoding.


V2   Compiler options  

AUTO option added to ALPHAL to provide better case-insensitive coding support.

FLAGSW, SHREXT and XREF directives (available in NetCOBOL for Windows and other products) implemented.

  Removes the need to be aware of case-sensitivity issues in most situations.
V2.0       CHECK option provides ability to check for runtime data errors and subscripts going out of range.   Useful option during testing to alert you to errors that might otherwise go unnoticed.

V3      

/platform option indicates the target processor for which the code should be generated:

  • anycpu - for any processor
  • x86 – for 32-bit and WOW64
  • x64 – for AMD64 or EM64T
  • Itanium – for 64-bit Itanium
  Allows users to specify the platform on which their application may run
V3       DECIMAL option provides the ability to choose the convention used for storing included signs in zoned (display) decimal items:
• FJ – Fujitsu convention
• MF – Micro Focus convention
• 88 – 88 Consortium convention (values resulting from EBCDIC to ASCII conversion)

  Provides easier COBOL migration options for those coming to NetCOBOL from the mainframe or Micro Focus COBOL.
V3      

INITONLY, SQLSCOPE options support SQL CLR requirements

  Make it possible to write COBOL code for SQL Server 2005’s SQL CLR.

V3   Runtime options   Ability to configure a runtime date that is different from the system date using the @CBR_JOBDATE environment variable   Allows code to be written so that operators can specify the effective run date.

V3.1   Application execution   Support for side-by-side execution of multiple versions of applications or components on the same computer   Gives greater flexibility in upgrading groups or individuals to new versions of applications.

V3.1       Prototypes provided for the special subroutines, JMPCINT2, JMPCINT3, used for calling NetCOBOL for Windows programs from .NET languages.   Eases the process of calling NetCOBOL for Windows programs.

V2.1   Application configuration file   All runtime environment settings can be specified in the application's ".config" file and can be entered and edited using the Runtime Environment Setup Utility.
 
  Simplifies deployment with all runtime settings stored in the standard .NET, XML application configuration file that is given the appropriate name and copied to the output folder at build time.

"+Vn" in the "New in:" column indicates a feature that contains new or improved elements as well as existing elements. When "+Vn" is in Italics, it refers to the italicized detail items. The number n indicates the release in which the new feature was introduced.


Visual Studio 2005 Integration

New
in:
 
Feature
Summary
 
Detail of Feature
 
Benefit of Feature
V1
+V1
Project Manager Full Integration with Visual Studio 2005 Project Manager. After defining your project structure (how programs and source files are related), Project Manager takes care of dependencies - for example which programs need to be recompiled when you change a particular source file. You can focus on programming.


Visual Source Safe helps you control developments across your team.
V2       Custom build steps provided (ability to invoke commands before and/or after the normal build operation)
V2       Supports the Navigate Backward and Navigate Forward functions for easy movement between document locations.
+V1
     

Tree view of project (application) structure.

COBOL sensitive editor.

Integrated with Visual Source Safe configuration management.

Compile, debug, build, execute, sensitive to any changes to sources or objects.

V1
     

Includes easy movement of projects from folder to folder.

Run-time Environment Setup tool incorporated for COBOL specific items.
 

V2.1       COBOL Runtime Environment Setup Utility integrated in Tools and context menus. COBOL File Utility available from Tools menu.
 
  Gives ready access to commonly used tools.
V3       Supports creation of database projects for creating SQL CLR programs.
  Easier creation/maintenance of programs intended to run in SQL CLR.

V3       Supports MS Build   Allows extensibility of the build process

V1.0a   Designer support  

COBOL code generated and used with the following designers:

  • Windows Forms
  • Web Forms
  Removes complexity of creating and coding .NET GUIs and ASP.NET pages as well as speeding application development.
 

V1.1

 

 

 


+V3.1

  IntelliSense  

Visual Studio 2005 IntelliSense is enabled for COBOL, including the following features:

  • Word completion
  • Method parameter info
  • Quick info on item data type
  • List available members
  • Syntax error marking
  • Insert code snippets (small pieces of reusable code)

  Improves the coding experience giving programmers the information they need to create code correctly first time.
 
V1.1   Outlining   Information is provided to the Visual Studio 2005 Editor so that it can "outline" COBOL programs. I.e. structures such as divisions and sections can be collapsed and expanded using the outlining feature's -/+ handles.
  Helps programmers focus on the code of interest.
 
V1.0   Online documentation   The NetCOBOL for .NET User Guide integrates with the Visual Studio 2005 combined documentation collection so that it is available when you invoke Help or Visual Studio 2005 documentation. It is presented in the standard Microsoft .NET Help format and, where appropriate, provides links to associated Microsoft help topics.


  Provides fast, convenient access to product documentation in a manner consistent with other Visual Studio 2005 information.
V2.1       Descriptions of all new features plus detailed information on ANSI Code Page (ACP) and Unicode coding considerations.
 
  Quickly learn how to take advantage of the features of the latest release.
"+Vn" in the "New in:" column indicates a feature that contains new or improved elements as well as existing elements. When "+Vn" is in Italics, it refers to the italicized detail items. The number n indicates the release in which the new feature was introduced.



Utilities

New
in:
 
Feature
Summary
 
Detail of Feature
 
Benefit of Feature
V2.1   Runtime Environment Setup Utility   Utility provides an easy-to-use interface for creating and maintaining the NetCOBOL sections of the XML application configuration file as well as the ability to import settings from the runtime settings files used with earlier releases of NetCOBOL.

  Provides single point for configuring all NetCOBOL related runtime information including environment variables, SQL information, and program entry information.
V3       Extended to support new variables such as those required for ADO.NET and SQL CLR support.

  Setup Utility continues to make it easy to set up and maintain runtime environment variables.


V2.1   Program Prototype Definition Wizard   Uses Source Analysis Information (SAI) files output in NetCOBOL for Windows to create program prototype definitions for invoking programs created in NetCOBOL for Windows.
  Saves the effort, and possible errors, involved in hand coding program prototypes.

V2.1   .NET Remoting Proxy Generator   Tool designed for situations in which you need a non-COBOL client to call a COBOL program over .NET Remoting.
 
  Simplifies the process of creating a .NET Remoting proxy.
"+Vn" in the "New in:" column indicates a feature that contains new or improved elements as well as existing elements. When "+Vn" is in Italics, it refers to the italicized detail items. The number n indicates the release in which the new feature was introduced.



Object-Oriented COBOL

New
in:
 
Feature Summary
 
Detail of Feature
 
Benefit of Feature
+V1
OO programming

OO COBOL syntax, and run-time support, are built into Fujitsu NetCOBOL for .NET and are tailored specifically for the .NET environment. Consequently not all standard OO COBOL features are supported, some features have different behaviors than standard OO COBOL, and some additional features have been added. OO features supported:

  • Class/Object models
  • Information hiding (data encapsulation, object properties)
  • Modularization (methods, including prototype methods)
  • Single inheritance
  • Context-dependent functions (polymorphism)
  • Conformance checking
  • Static and dynamic binding
  • Garbage collection
  • Exception handling
If you are using OO design techniques, OO COBOL gives you a viable means of implementing those designs.

Continue to use your COBOL expertise while transitioning to the latest OO design techniques.
"+Vn" in the "New in:" column indicates a feature that contains new or improved elements as well as existing elements. When "+Vn" is in Italics, it refers to the italicized detail items. The number n indicates the release in which the new feature was introduced.



Debugging

New