Raincode COBOL compiler

The Raincode COBOL compiler for Windows

The Raincode COBOL compiler supports precisely the mainframe COBOL syntax, data types and behavior.

Free COBOL compiler .NET COBOL Compiler Mainframe Compatible COBOL Compiler

Applications can be migrated seamlessly and the Visual Studio® plug-in provides a comfortable and productive development environment.

Freely available

The Raincode COBOL compiler is available for free. Not just a limited version of it, not for a limited time, nor is it limited to development or runtime licenses only. It’s just free! Even if you use it for your package of which you sell thousands of copies. Even if you have hundreds of developers in house.

What’s the catch? There is none.

You only pay for support.

Download the Raincode COBOL Compiler

Facts on the COBOL compiler

  • Generates thread-safe, 100% managed code for .NET 4.5.1 and beyond in 32 or 64-bit mode
  • Native support for SQL, CICS®. The source code that is debugged is exactly the source which is being maintained rather than the output of some preprocessor.
  • Visual Studio® plugin (Debugger, compiler configuration, color coding, code folding and project management)
  • Support for all COBOL data types, with the mainframe memory representation
  • Azure-ready
  • The interface manager maps symbols accessed from within COBOL programs (assembler routines, system calls) to .NET symbols, with type conversions and marshaling if needed
  • Populates a repository for call graphs, statistics and more portfolio analysis tasks
  • Support static or dynamic SQL, targeting DB2® (through Microsoft’s HIS®) or SQL Server®
  • Support EBCDIC

Raincode COBOL's Facts


Exclusive: Run unmodified DB2 code on SQL Server

In theory, the DB2 SQL statements included in your COBOL programs should be usable as is on SQL Server.

But that’s in theory only.

Even though SQL is a standard, there are so many discrepancies between SQL dialects that it is common to see portfolios where as much as 60% of the SQL statements require some level of transformation when going from one database to another. Differences include built-in functions, operators, implicit type conversion, controlling locking, the number of records to fetch and more.

Migrating an application from one database used to be a migration project in its own right. Not anymore. Raincode COBOL compiler transforms DB2 SQL statements into equivalent SQL Server statements at compile time. The existing code can then run on the target database without any change whatsoever.

Compiled programs can even target either of the databases based on a runtime flag. And since it all happens at compile time, there is no performance penalty involved. The statement runs as fast as if it had been coded for SQL Server in the first place.

Raincode COBOL compiler- DB2 to SQL Server

How to port DB2 stored procedures to SQL Server? More information


CICS Emulator: Ultimate flexibility

Raincode COBOL compiler does not come as a black box. It can be tweaked and adapted to environment-specific constraints. Events can be intercepted, overridden or extended.

User-defined code can be used to alter the behavior of memory allocations, file I/O, module loading, SQL commands, tracing, transaction processing, etc.

More specifically, one can connect to a CICS emulator without requiring a precompiler, by taking advantage of Raincode COBOL compiler built-in CICS recognition ability.

Raincode COBOL compiler - CICS emulator

See the Raincode QIX, the CICS emulator, in action: QIX

Raincode COBOL compiler offers a full support for legacy code. Read more…
Sign in
Forgot password?
Sign up

(*) Required fields

I agree with Raincode Terms & Privacy Policy