FUJITSU FS Logo
HomeMigrationsProductsServicesInformationNewsPartnersStudentPricingAbout Us
Quick Search  
DowloadSupport
Home > Products
Product title  
Windows Products
What COBOL for Me?
NetCOBOL for .NET
NeoKicks
NeoBatch®
NeoSort
NeoData
EZ Source™
NetCOBOL for Windows
PowerCOBOL
PowerBSORT
PowerFORM
Data Converter
Data Editor
Training Videos
Unix Products
NetCOBOL for Linux
NetCOBOL for SPARC Arch
Data Converter (SPARC Arch)
Data Editor (SPARC Arch)
NetCOBOL for HPUX
PowerBSORT

 

Fujitsu NetCOBOL for Linux


Contents

Overview

Fujitsu NetCOBOL for Linux Version 7.3, brings the reliability of the NetCOBOL for Windows product to the Linux environment. It is targetted primarily at the creation of server applications or for applications that need the power of COBOL's business logic processing behind user interfaces written in other languages.

  Highlights
  • Highest performance and reliability
  • COBOL compiler generates native code for Linux on Intel architecture machines and supports X64 in compatibility mode
  • Standards Compliant (COBOL 89, 89 addendum)
  • Embedded SQL Preprocessor with ODBC support
  • CGI support subroutines
  • COBOL programs can be integrated easily with other languages
  • Supports Unicode
  • Supports multi-threaded execution
  • Includes, and integrates with, the Eclipse IDE
  • Interactive debugger with powerful set of commands



Detailed Features and Benefits

Fujitsu NetCOBOL for Linux 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.

Fujitsu NetCOBOL for Linux Compiler
Eclipse IDE Integration
Object-Oriented COBOL
Debugging
Data Tools
Web Support


Fujitsu NetCOBOL for Linux Compiler

New
in:
Feature Summary
Detail of Feature
Benefit of Feature
V7.3    

Support added for:

  • SYNCHRONIZED clause on group items
  • DEAD-LOCK statement
  • ADVANCING phrase in WRITE statements for line sequential files
  • SORT-CORE-SIZE special register (limits memory used by PowerBSORT)

  Increases coding options.
Syntax support   NetCOBOL for Linux supports:

COBOL 85, COBOL 89 addendum

Object-Oriented COBOL

Common Micro Focus® and IBM® extensions

  You can use your existing COBOL code.

You can apply your COBOL skills in the Linux environment.

RDBMS access  

You can use embedded SQL to access ODBC-compliant databases (though we recommend you thoroughly test the drivers to ensure satisfactory operation)

  Access your company's data without complex database conversions.

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.
+V7.3     Number of concurrent tasks that can share a single file increased to 1024.    





+V7.3
   

Provides file access subroutines that enable programs written in other languages to access NetCOBOL files.
Routines enhanced to support Unicode.


  COBOL data files can be shared between COBOL and non-COBOL programs/applications.
+V7.3     Supports the External File Handler interface, compatible with the similar interface provided with Micro Focus COBOL   Gives the option of substituting a different file handler for the standard COBOL file handler and makes it easier to migrate Micro Focus COBOL applications that rely on that feature.


V7.3 Unicode   Supports UTF-8 and UCS-2 encoding using PIC X and PIC N data types respectively.  

Makes it easier to create applications that support multiple languages and character sets.


V7.3 COBOL compiler options  

Many options provided to tailor compiler behavior to your preferences.
V7.3 adds:

  • INITVALUE – specify value to which WORKING-STORAGE items are set when no VALUE clause is specified.
  • ASCOMP5 – new parameters added
  • DUPCHAR – selection Unicode encoding of hyphen
  • CHECK – options added for checking internal and external program parameters
  Increases your productivity

V7.3 Environment variables   $ CBR_JOBDATE environment variable added to allow the run date of the program to be configured.   Makes it possible to write programs that will take the run date from an environment variable, so date-sensitive logic will work even if the programs are being run on a different day (for example, if execution has been delayed because of machine failures).
"+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.


Eclipse IDE Integration

New
in:
Feature Summary
Detail of Feature
Benefit of Feature
  IDE   NetCOBOL for Linux is based on the Open Source IDE produced by the eclipse.org consortium.

  Developers using different languages or products will feel comfortable using an IDE with common features and a familiar interface.

  Project management  

The IDE provides various views on project related structures and common project management tasks including:

  • Hierarchy view
  • Dependency view
  • Template view
  • Outline view
  • Resource view
  • Builder View
  • Building multiple target files
  • Building specified target files
  • Execution support
  • Setting compiler options
  • Setting linker options
  • Repository support
  • Pre-compiler support
  Being able to see different views of your project and perform common functions easily makes for effective management of your COBOL projects.

  Editor  

Editor features include:

  • Syntax coloring
  • Reference format
  • Syntax templates.
  Faster coding of common operations and programming structures by using the syntax templates.

  Debugger   The integrated debugger lets you see your source code and do common debugging operations such as setting breakpoints, monitoring variables and checking the call stack.

  Quick tracking of programming errors.
       


Object-Oriented COBOL

New
in:
Feature Summary
Detail of Feature
Benefit of Feature
OO programming
  • OO COBOL syntax, and run-time support, are built into Fujitsu NetCOBOL for Linux. The support includes:
  • Class/Object models
  • Information hiding (data encapsulation, object properties)
  • Modularization (methods, including prototype methods)
  • Single and multiple inheritance
  • Context-dependent functions (polymorphism)
  • Conformance checking
  • Static and dynamic binding
  • Garbage collection
  • Exception handling
  • Indirect reference classes
  • Cross reference classes
  • ANY LENGTH - variable length parameters can be used in the linkage section of Method definitions
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.


Debugging

New
in:
Feature Summary
Detail of Feature
Benefit of Feature
Full execution control   The NetCOBOL for Linux debugger provides:
  • Simple breakpoints
  • Conditional breakpoints
  • Break after n executions
  • Break on change of data items
  • Step statements - over subroutines
  • Step into subroutines
  • Change current execution location
  • Execute specified number of statements
  • Execute until a specified statement or file is encountered
  • Execute until a given program is entered or exited
  Fast resolution of bugs requires that you have many options on controlling program execution.

For example, if a problem occurs at the 1000th record in a file, you need a way to break execution at the 1000th iteration - Fujitsu's debugger gives you this degree of control.

Data query and update   View data values

Update data values

Watch data values while programs execute

  Checking and monitoring data values is an essential part of debugging.

Program status   Call stack
  Helps you maintain the context of your debugging focus

Code Coverage  

Functions give statistics on:

  • % of code tested
  • Number of test runs and compiles (including ability to merge information about tests by different group members)
  • Lines not executed
  • Number of times each line has been executed.
  Helps you focus on the critical aspects for your debugging session.

Automated debugging   Record, store and execute sequences of frequently used debug commands, as macros or as complete command-driven testing sessions with results viewable in a log file.  

For bugs that are deep in the logic or execution sequence, automated debugging gets you to the point of interest with the minimum of effort.

Storing frequently used sequences of commands helps you become more productive.

Batch testing can be useful for running regression tests and confirming satisfactory results.


  Back trace   Debugger can record and display up to the previous 1000 statements executed.   This is particularly useful in situations where you break into execution after an error has occurred and want to see how execution arrived at this point.













+V7.3
Runtime data and parameter checking  

Programs can be compiled with the CHECK option which turns on checks for the following:

  • Subscripts, indexes and reference modifiers out of range
  • Numeric data exceptions
  • Division by zero
  • Method parameters
  • Internal program call parameters
  • External program call parameters
  Provides a means of trapping errors that might otherwise be difficult to identify or might cause serious problems if left undetected.
"+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.


Data Tools

New
in:
Feature Summary
Detail of Feature
Benefit of Feature
COBOL File Utility  

File maintenance utility providing command line driven functions including:

  • Conversion between text and sequential file formats.
  • Loading of all file formats from variable length record sequential files.
  • Unloading of all file formats to variable length record sequential files.
  • Browsing of all file formats.
  • Adding records to all file formats.
  • Sorting all file formats.
  • Displaying indexed file record and key information.
  • Recovery of indexed files.
  • Reorganization of indexed files.
  Helps you perform the various file maintenance functions without having to write special programs.

Web Support

New
in:
Feature Summary
Detail of Feature
Benefit of Feature
CGI support

Fujitsu COBOL CGI (Common Gateway Interface) is a set of subroutines that support the creation of CGI scripts in COBOL.

Makes it possible to provide web interfaces to existing COBOL server applications.

Use COBOL expertise to create Web applications.

 

 

Platforms Supported

The table below lists the platforms supported.

Distribution Locale
Red Hat Enterprise Linux (v.4 for x86) C , en_US.UTF-8
Red Hat Enterprise Linux (v.4 for EM64T) 32-bit mode C , en_US.UTF-8
Red Hat Enterprise Linux (v.5 for x86) C , en_US.UTF-8
Red Hat Enterprise Linux (v.5 for Intel64) 32-bit mode C , en_US.UTF-8



Frequently Asked Questions

1. Q: Fujitsu has just released NetCOBOL for .NET. Why has a Linux version of NetCOBOL also been produced?

A: This is a good question to ask as Fujitsu's strategy is to create high quality, high performance COBOL compilers on only a few selected platforms. We see a strong future for COBOL in the (Web) server environment and both .NET and Linux are significant players in that arena. In recent years we have seen Linux establish itself as a serious player so it made sense to add Linux to the selected list of platforms for NetCOBOL.

2. Q: What are the main benefits of NetCOBOL for Linux over other COBOL offerings on Linux?

A: NetCOBOL for Linux has been created using well-proven technology, both in the front-end with the NetCOBOL syntax processing and the back-end with many parts of the Intel architecture code generator applying to the Linux product. The main benefits this technology brings are:

  • Proven reliability
  • Highly optimized object code

In addition to these technical benefits, NetCOBOL for Linux also offers a significant business benefit:

  • No run-time license fees.

3. Q: How do I obtain the license file to enable my NetCOBOL for Linux product?

A: Provide the information requested on the NetCOBOL for Linux Product Registration page

4. Q: How easy is it to port applications to NetCOBOL for Linux from other environments?

A: The answer to this question really depends on two factors in the application code:

  1. Whether the syntax used is standard ANSI COBOL or includes only those IBM, Micro Focus or NetCOBOL (previously called Fujitsu COBOL) syntax extensions that are supported by NetCOBOL for Linux.
  2. Whether the applications have extensive screen interactions.

Applications that use NetCOBOL supported syntax and have no or little screen interaction should port very easily to NetCOBOL for Linux.

Applications that make extensive use of unsupported IBM or Micro Focus extensions may be able to use the IBM or Micro Focus syntax converters.

Applications that have extensive screen interactions may take more effort to port. Depending on the design and purpose of the applications, they may be able to transition to becoming Web-based applications using CGI, or take on new graphical user interfaces using a more GUI focused language while preserving the main business logic in COBOL.

5. Q: Are there any significant limitations in the NetCOBOL for Linux product?

A: There are some restrictions in NetCOBOL for Linux Version 7. Whether they are significant or not will depend on the application. The key restrictions are:

  • SCREEN SECTION is not supported
  • Unicode is not supported
  • National Language items and literals are not supported
  • COBOL files cannot be larger than 2 GB.

6. Q: Is NetCOBOL for Linux an Open Source product?

A: As desribed above NetCOBOL for Linux has been created using proprietary Fujitsu technology that has been proven and sold for many years on other platforms. It therefore does not make sense to make NetCOBOL for Linux an Open Source product. However, Fujitsu recognizes the success and potential of the Open Source movement so has chosen to base the IDE for NetCOBOL for Linux on the open source IDE created by the eclipse.org consortium.

7. Q: What is Fujitsu's involvement with eclipse.org?

Fujitsu is part of the Eclipse consortium and is a voting member on the Board of Stewards. Fujitsu believes that Eclipse will become the IDE platform for a diverse range of products providing a standard development environment. Fujitsu is already planning to incorporate Eclipse into serveral of its own products.



 © 2003 - 2008 Fujitsu Computer Systems Corporation. All Rights Reserved.