FUJITSU FS Logo
HomeMigrationsProductsServicesInformationNewsPartnersStudentPricingAbout Us
Quick Search  
 
DownloadShop Support
Home > Products
Product title  
Windows Products
What COBOL for Me?
NetCOBOL for .NET
NeoKicks
NeoBatch
NeoSort
EZ Source™
NetCOBOL for Windows
PowerCOBOL
Dialect Converters
PowerBSORT
PowerFORM
PowerGEM Plus
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
PowerGEM

 

 

Dialect Converters

Contents

Fujitsu provides Dialect Converters to help you convert source from other COBOL dialects such as those created by IBM®, Micro Focus® and Microsoft®. The Converters parse the sources written in the dialect to create a program tree, transform the tree and output source that is logically the same as the original source but is compatible with NetCOBOL(previously called Fujitsu COBOL).

 

Highlights

  • Highly accurate conversion of your programs.
  • Offers "pretty printed" (neatly formatted) output.
  • Offers SourcePrint® output - a unique feature that maintains as much of the original source formatting as possible.
  • Warns of dialect features that cannot be converted automatically.
  • Fastest way for you to move your programs to NetCOBOL from:
    • IBM COBOL dialects
    • Micro Focus COBOL
    • Microsoft COBOL
    • ICOBOL
  • Fujitsu will consider creating customized converters for other dialects - call our Sales line for quotes (800) 545-6774 or (408) 428-0300.

Data file conversions, usually an element of moving from another COBOL dialect, are performed with the aid of Fujitsu’s Data Converter product that is supplied with the Enterprise Edition of NetCOBOL. The Dialect Converters documentation describes how to do the data file conversions.

Detailed Features and Benefits

The table below lists the key features and benefits of the Dialect Converters.

New: Feature Summary Detail of Feature Benefit of Feature
  Converts IBM COBOL Dialects

The Dialect Converter for IBM COBOL handles a number of IBM dialects including:

  • IBM OSVS COBOL
  • IBM VS COBOL II (revision 2, 3 and 4)
  • IBM SAA COBOL (levels 1 and 2)
  • IBM DOSVS COBOL
 

  Converts Micro Focus COBOL The Dialect Converter for Micro Focus COBOL covers Micro Focus’s non-OO extensions to COBOL.  

  Converts Microsoft COBOL The Dialect Converter for Micro Focus also handles the extensions used in Microsoft COBOL.  

  Built using a generalized COBOL transformation tool. The COBOL Transformer® technology that is used to build the dialect converters, is designed to analyze and transform many COBOL dialects. It creates a complete program tree on which proven logic-preserving transformations are performed. Your applications are being handled by proven technology, assuring you of reliable results.

  Pretty printed code When you select that the converted code should be "pretty printed", the code is generated according to standard layout rules. Pretty-printed code removes the difficulties of interpreting untidy code, or of understanding different programmer’s styles of laying out their code. Consistently formatted code is one of the greatest aids in understanding other people’s code. Improved maintainability can be a useful side-benefit of converting to NetCOBOL.

  SourcePrint code Most people want to know exactly what has been changed in the conversion process. Pretty printed code, output by most converters, makes it difficult to compare before and after sources. Using the SourcePrint feature, changes to the code are minimized, so that comparing before and after sources shows only the changed lines.

You can check the transformations that are being performed, before switching to pretty printed output.

Alternatively, if you want to preserve your current formatting you have that option.


  Rich set of options

The converters have a rich set of options, allowing you to configure details of behavior such as:

  • COPY file locations
  • Output file extension
  • Column 73 to 80 formats
  • Output file indents
  • Use of free format
  • Detailed syntax options
You can configure the converter to fit your environment and preferences.

  Transformations clearly documented The converter manual clearly documents all transformations performed. You know what processes will be performed on your programs - you don’t have to figure out what has happened.

  Warnings for manual intervention There are a few features of some dialects that cannot be converted without some manual intervention. The converters issue warning messages whenever such situations are recognized. These situations are documented with advice on how you can handle them. You have guidance in all parts of the conversion process.

  Customized conversions possible

If, like many others, you are using a dialect that is not in our currently supported list but want to take advantage of the many benefits of NetCOBOL, give us a call. We have a team that is experienced in converting COBOL dialects to NetCOBOL. We may even have partial support for your dialect already!

Customers are finding that the costs of a customized conversion are more than covered by the savings involved in moving to NetCOBOL.

You need not feel trapped because your COBOL vendor is not covered by an off-the-shelf converter package.

An In-Depth Look at Fujitsu’s Dialect Converters
The following sequence of screen captures lets you see some of the Dialect Converter features - of course, most of the power of the converter is under the covers and needs to be seen working with your sources.

Invoking from the Interactive Interface
Invoking from the Command Line
Invoking from Project Manager
Before and After Conversion

Invoking from the Interactive Interface
You can invoke the converters from an interactive interface. This lets you select one or more files or set up different sets of command-line options for use in converting different files.



Invoking from the Command Line
You can invoke the converters from the command line. As most conversions involve large numbers of source files, this enables you to set up batch command files to drive the conversions.



Invoking from the COBOL Project Manager
By setting up a simple batch command file, you can invoke the converters from the COBOL Project Manager by customizing the Tools menu. This allows you to set up projects to manage your conversions, and drive the conversions from the COBOL Project Manager.



Before and After Conversion
The screen capture below shows some simple conversions of Micro Focus Screen Section items.

Note how the Pretty Print format uses a definite order for the items - which will be the same for all items output, giving a useful consistency. It also aligns level numbers, picture clauses etc. on predetermined columns - again providing consistent and tidy output.

In contrast, the SourcePrint format follows the original source layout as much as possible. Notice that the unchanged "PIC" string, the "03", and the periods are in the same locations as in the original source. Also notice how converted attributes are in the same order as the original source - so there is no guaranteed consistency of format, but comparing before and after images is much easier.




Platforms Supported

  • Microsoft® Windows® 98
  • Microsoft® Windows® Me
  • Microsoft® Windows® 2000
  • Microsoft® Windows NT® 4.x
  • Microsoft® Windows® 2003


Frequently Asked Questions

1. What are the pros and cons of using a Dialect Converter or a Dialect Processor?

Answer: Dialect Converters are designed for one-time conversions to NetCOBOL. Dialect Processors are designed to let you continue working in the other dialect possibly executing applications in another environment as well as the NetCOBOL environment. The advantages of using a Dialect Converter are:

  • Once the conversion is performed you have NetCOBOL sources that you are free to develop using the full range of NetCOBOL features.
  • Incompatibilities between dialects are dealt with at one time and do not become long-term constraints to your projects.
  • You quickly realize the cost benefits of moving to NetCOBOL.

The disadvantages of using a Dialect Converter are:

  • You may have too much code to convert in a short time. If you convert your code using a Dialect Converter you will need to maintain two source streams until you are able to phase out your current COBOL dialect. In this situation it may be better to adopt the Dialect Processor approach and do the one-time conversion of your source when you have all your applications running under NetCOBOL.
  • Dialect Converters are more expensive than Dialect Processors. Usually this is more than offset by the convenience of working with a single COBOL compiler.

2. How reliable is the conversion?

Answer: The technology on which the converters are built uses well-proven compiler principles, has processed millions of lines of COBOL code and undergoes regular regression testing. It is not possible to give 100% guarantees, but we believe we are providing one of the best conversion products available.

3. Do the Dialect Converters handle 100% of my code?

Answer: That depends on your code! The converters aim to handle all dialect features that can be mapped automatically to NetCOBOL features. Some dialect features cannot be mapped automatically and therefore require manual changes. Some customers’ programs have none of the manual features so are fully converted by the Dialect Converters; other customers have made extensive use of particular non-standard features and so require much more manual intervention. Ask us about evaluations to help you assess where your code lies.

4. What sort of support do you provide for the Dialect Converters?

Answer: We are eager to ensure that your move to NetCOBOL is a positive and smooth experience. We provide close support to companies during their conversion projects - if you ever find a problem with one of our Dialect Converters we will fix it quickly, or suggest alternative solutions if the problem is one for which no automatic transformation is available. If necessary we can provide solutions tailored to a particular conversion project.

5. Does Fujitsu provide solutions for converting data?

Answer: The NetCOBOL Dialect Converter User’s Guide gives complete guidelines for converting data files. The Data Converter product provided with the Enterprise Edition of NetCOBOL can often play an important part in automating data conversions.

6. Does Fujitsu provide a conversion and testing service? (i.e. can I send you my code and receive fully converted code)

Answer: Fujitsu Software Corporation has consulting partners who will quote for performing either a conversion that will return code that compiles successfully with NetCOBOL or a conversion that includes testing the converted code. Obviously the latter involves much more coordination with your company, and likely involves an on-site team working with your application experts.

7. How easy is it for me to check what parts of my code have been changed?

Answer: We understand that it is important to most people performing conversions to know exactly what is happening to their code. Because most source converters output code by reading syntax trees the format of the output code may be very different from the format of the input code. This can make it difficult or impossible to identify the changes made by the converter - a few character differences in alignment or the presence or absence of optional words will cause file compare tools, or visual inspections, to flag differences. This is why Fujitsu’s Dialect Converters offer the SourcePrint option - it outputs code with the minimum of changes, preserving as much of the original formatting as possible. This makes it easy for you to identify the changes by using text file comparison tools or utilities.

8. Is the converted code ANSI standard?

Answer: Most dialect-specific syntax has been added to provide functions that are not defined by the ANSI standards. Therefore most conversions result in non-ANSI-standard code.


Trademarks

COBOL Transformer, and SourcePrint are registered trademarks of Siber Systems Inc.
IBM is a registered trademark of International Business Machines Corporation.
Micro Focus is a registered trademark of Merant, Inc.
Microsoft, Windows and Windows NT are trademarks or registered trademarks of Microsoft Corporation.


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