Contact Us

Fujitsu NetCOBOL to Java/C# Migration

Modernize Software converts Fujitsu NetCOBOL to Java or C# with DMS, our symbolic AI and enhanced compiler technology. The output is native Java or C# your team can read, test and own. No COBOL compiler or runtime stays behind.

We have done this before. Our NetCOBOL to C# project moved about 500,000 lines to Windows Server in under six months. NetCOBOL V13 also drops PowerCOBOL and the 32-bit editions, so many NetCOBOL estates face rework either way.

30+ yrs
Compiler Engineering
40+
Source Languages
PhD
Average Team Seniority
TRUSTED BY
NASA
Boeing
RTX
Rockwell Automation
Global Shop Solutions
BlackRock
ANZ
Northrop Grumman
Emerson

NetCOBOL to C#, already in production

ERP software suite of applications migrated from NetCOBOL to C#.Net ready for Server and AWS cloud deployment.

01 // VOLUME

Lines of NetCOBOL

Over 7 Million

Total Legacy Source Volume
02 // SPEED

Duration

15 months

Complete Turnkey Delivery
03 // ACCURACY

Translated automatically

99.9%

Deterministic AST Translation
04 // STANDARDS

Code Quality

Significant refactoring to improve code quality

Production-Grade Engineering

Why NetCOBOL needs a NetCOBOL-aware translator

The same NetCOBOL source can give different answers under different compile options. Behavior also lives in COBOL85.CBR runtime settings and in Shift-JIS or Unicode data. A generic COBOL converter reads the source and misses the rest.

Option
What you get
What you still have
OptionMove to NetCOBOL for .NET
What you getCOBOL that runs on the .NET runtime.
What you still haveCOBOL source, COBOL developers and a COBOL compiler license.
OptionGen AI conversion
What you getFast first drafts of Java or C#.
What you still haveOutput that changes from run to run, and no proof each line behaves the same.
OptionDMS translation
What you getDeterministic Java or C# you own outright.
What you still haveYour business rules. Nothing else.

NetCOBOL to Java

Fujitsu Object COBOL classes become ordinary Java classes. PROPERTY items become getters and setters, and packed decimal becomes BigDecimal with the same size and scale.

NetCOBOL (Object COBOL)
01IDENTIFICATION DIVISION.
02CLASS-ID. ACCOUNT INHERITS FJBASE.
03ENVIRONMENT DIVISION.
04CONFIGURATION SECTION.
05REPOSITORY.
06 CLASS FJBASE.
07IDENTIFICATION DIVISION.
08OBJECT.
09DATA DIVISION.
10WORKING-STORAGE SECTION.
1101 BALANCE PIC S9(9)V99 PACKED-DECIMAL PROPERTY.
12PROCEDURE DIVISION.
13IDENTIFICATION DIVISION.
14METHOD-ID. DEPOSIT.
15DATA DIVISION.
16LINKAGE SECTION.
1701 AMT PIC S9(9)V99 PACKED-DECIMAL.
18PROCEDURE DIVISION USING AMT.
19 ADD AMT TO BALANCE.
20END METHOD DEPOSIT.
21END OBJECT.
22END CLASS ACCOUNT.
Generated JavaJava 17+
01public class Account {
02 // PIC S9(9)V99 PACKED-DECIMAL PROPERTY
03 private BigDecimal balance = BigDecimal.ZERO;
04 
05 public BigDecimal getBalance() { return balance; }
06 public void setBalance(BigDecimal value) { balance = value; }
07 
08 public void deposit(BigDecimal amt) {
09 // ADD keeps 9 integer and 2 decimal digits, as NetCOBOL did
10 balance = CobolDecimal.fit(balance.add(amt), 9, 2);
11 }
12}

NetCOBOL to C#

The same class in C# uses a native property and the decimal type. C# is the usual choice for NetCOBOL on Windows Server, and it was the target on our NetCOBOL project.

Generated C#.NET 8
01public class Account
02{
03 // PIC S9(9)V99 PACKED-DECIMAL PROPERTY
04 public decimal Balance { get; set; }
05 
06 public void Deposit(decimal amt)
07 {
08 // ADD keeps 9 integer and 2 decimal digits, as NetCOBOL did
09 Balance = CobolDecimal.Fit(Balance + amt, 9, 2);
10 }
11}

Simplified example. The real output follows your naming and coding standards, and support-library names vary by project.

NetCOBOL constructs DMS handles

These are the NetCOBOL features generic converters get wrong. Each one has a named translation rule.

Construct
What goes wrong
What DMS generates
ConstructBINARY, TRUNC, SDS and ZWB compile options
What goes wrongThe same line gives different results under different options.
What DMS generatesTypes and truncation chosen from the options each program was built with.
ConstructPIC N and the ENCODING clause (SJIS, UTF-8, UTF-16)
What goes wrongByte length and character length differ, so text gets cut or padded wrongly.
What DMS generatesStrings with explicit encodings at file and database boundaries, keeping byte-length rules.
ConstructPACKED-DECIMAL and COMP-3
What goes wrongFloating-point types lose cents.
What DMS generatesBigDecimal in Java, decimal in C#, or ScaledLongs where speed matters.
ConstructObject COBOL: FJBASE, PROPERTY, INVOKE, RAISE
What goes wrongNo direct match in most converters.
What DMS generatesClasses, properties, method calls and native exceptions.
ConstructCOBOL85.CBR and @CBR_ settings
What goes wrongBehavior is set outside the source code.
What DMS generatesPlain application configuration.
ConstructCOB_ subroutines
What goes wrongNo Java or .NET equivalent exists.
What DMS generatesMethods in a small support library you own.
ConstructBTRV and RDM file assignments
What goes wrongData sits in Btrieve or PowerRDBconnector files.
What DMS generatesA data access layer against the same data.
ConstructEXEC SQL through ODBC
What goes wrongCursors and SQLSTATE handling drift.
What DMS generatesJDBC or ADO.NET with the same cursors and status handling.

What we scope before quoting

Screens and forms

Screens and forms. PowerCOBOL forms, FORM and PowerFORM screen files and print forms are listed in the assessment. The logic behind each screen translates with the program. How the user interface is rebuilt is agreed with you before the fixed price.

Middleware

Middleware. Interstage, J Adapter, COBOL Invoker and COM calls are listed the same way, so the quote covers what your application really uses.

How a NetCOBOL migration runs

01Assess
02Configure
03Convert
04Verify
Assess

1. Assess

We inventory programs, copybooks, compile options, COBOL85.CBR settings, encodings, files, SQL and screens, and size the translator configuration against your real code. You get a fixed-price quote.

Configure

2. Configure

We tune the translation rules on a copy of your code. Your team keeps working. You review sample output.

Convert

3. Convert

A fresh snapshot converts in one automated pass, so every change made during the project comes across. No code freeze.

Verify

4. Verify

NetCOBOL and the new system run the same inputs side by side. Outputs, files and status codes are compared until there are no unexplained differences.

FAQ

The questions our engineers get asked the most

General questions

Yes. DMS converts NetCOBOL programs, copybooks and Object COBOL classes to Java, typically Spring Boot with JPA or JDBC. Packed decimal becomes BigDecimal with the same precision.

Yes. We have moved about 500,000 lines of NetCOBOL to C# on Windows Server, with 99.9% of the code translated automatically and 3,000 unit tests.

Usually, yes. That code already uses .NET types, so less translation is needed. But it is still COBOL, and it still needs COBOL developers and a COBOL compiler until it is translated.

They are listed in the assessment, and the logic behind each form translates with the program. How the user interface is rebuilt is agreed before the fixed price. NetCOBOL V13 no longer runs PowerCOBOL applications, so those screens need a new home either way.

Each program's encoding comes from its compile options and runtime settings. Conversions become explicit at file and database boundaries, and byte-length truncation and padding stay the same.

Yes. Packed decimal maps to BigDecimal or C# decimal, and the BINARY, TRUNC and SDS options each program used are applied. Results are compared side by side before cutover.

Indexed files move to relational tables with the same keys and file status codes. Btrieve and PowerRDBconnector data is reached directly from the new code. Data migration scripts ship with the code.

Choose the language your team will maintain. C# fits NetCOBOL on Windows Server. Java fits NetCOBOL on Linux or Solaris, and teams standardizing on the JVM. The process and testing are the same.

No. DMS translates with explicit rules, so the same input always gives the same output, and every difference traces to a rule. Gen AI is used only around the edges, for documentation and test generation.

With a free assessment under NDA. Send rough line counts, your NetCOBOL version and your target language. You get a complexity report, an automation estimate and a fixed-price quote.