SlideShare a Scribd company logo
COBOL deployment to .NET or JVM
It’s Your Choice –
COBOL Deployment to .NET
or JVM
 What new in the latest update
 What is managed code and why should you care
 Reusable Frameworks
 Moving to managed code
Agenda
 New capabilities for working with Microsoft Visual Studio 2013 and
Microsoft .NET 4.5
 New platform support for Windows 8.1, Oracle Linux 6.5, Red Hat
Linux 6.5 and AIX 7.1
 Many enhancements to increase runtime performance
 JDBC Connection Sharing
 And more …..
What’s New in 2.2 Update 1
 Managed code = .NET or JVM
 Native code or unmanaged = everything else
Terminology
 Virtual execution environment
• Portable Intermediate Language
• JIT
 Garbage collection
 Object-oriented
 Extensive frameworks/Class Libraries
 COBOL code generated directly to byte code
What is Managed code
1 C
2 Java
3 Objective-C
4 C++
5 C#
6 Visual Basic
7 PHP
8 Python
9 JavaScript
10 Visual Basic .NET
11 Transact-SQL
12 Perl
13 Ruby
14 ActionScript
15 F#
16 Lisp
17 Delphi/Object Pascal
18 Pascal
19 MATLAB
20 Assembler
1 C
2 Java
3 Objective-C
4 C++
5 C#
6 Visual Basic
7 PHP
8 Python
9 JavaScript
10 Visual Basic .NET
11 Transact-SQL
12 Perl
13 Ruby
14 ActionScript
15 F#
16 Lisp
17 Delphi/Object Pascal
18 Pascal
19 MATLAB
20 Assembler
Why managed code
How popular is managed code?
www.tiobe.com
1 C
2 Java
3 Objective-C
4 C++
5 C#
6 Visual Basic
7 PHP
8 Python
9 JavaScript
10 Visual Basic .NET
11 Transact-SQL
12 Perl
13 Ruby
14 ActionScript
15 F#
16 Lisp
17 Delphi/Object Pascal
18 Pascal
19 MATLAB
20 Assembler
Why managed code
reuse what already works
Why managed code
21st century user interfaces
Why managed code
Application Integrity
Micro Focus COBOL runtime error:
114 Attempt to access item beyond bounds of memory (Signal 11)
Application Integrity
Demonstration
Try/Catch Exception handling in COBOL
 Debug C#/Java and COBOL together
 End-to-end testing
 Single IDE for building and testing
 Single debug process
 Same developer
Why managed code
End-to-end debugging
Reusable Frameworks
Demonstration
Date/Time Arithmetic
 What is managed code?
 Different perspectives on why deploy to .NET or JVM?
 Some lessons learned
Moving to managed code
 .NET/JVM are fundamentally built on OO principles
 Procedural semantics still apply
 Visual COBOL extensions
 Samples browser
Object Oriented Programming
Data
 Good to go in .NET and JVM
 Be mindful of performance for IO intensive batch operations
 Significant improvements to file handling operations with Visual
COBOL VC 2.2+
File Handling
COBOL programs can contain embedded SQL
Your choices:
1. Database vendor pre-compiler such as Oracle
Pro*COBOL
a) COBSQL provides single compile-step integrated with the IDE
2. Micro Focus OpenESQL
a) Connect to any ODBC, JDBC, ADO.NET enabled data source
Database access Primer
procedure division.
exec sql
connect to Northwind
end-exec
if sqlcode not = 0
display "Error during CONNECT : " SQLCODE
display mfsqlmessagetext
goback
end-if
 Oracle does not support managed code using Pro*COBOL
 Use OpenESQL for JDBC and ADO.NET
 Use Pro*COBOL directives MODE=ANSI and FIPS to determine non-
standard ANSI syntax
 Some Oracle extensions supported by OpenESQL other extensions
will need to be reworked
 No PL/SQL support
Database access under Managed Code
Demonstration
File Handling and SQL Access
 To do anything “Thin” will involve an app server
 All major Java App Servers supported in Visual COBOL 2.2
• Tomcat
• JBOSS
• Webshere
• WebLogic
 Web Services and JSPs
 Java coding required
 See community.microfocus.com for walkthrus
Java App Servers
COBOL JVM Roadmap
R3/4
JVM COBOL
Preview
JVM COBOL
Launch
2.0
JDBC support
Pure JVM
2.1
Web Container
support under
Tomcat
Web services, JSP
and Servlet
deployment
2.2
Web container
support
WebLogic
Websphere
JBOSS
2.3
EJB container
deployment
From desktop to J2EE EJB deployment…
…re-use core COBOL applications directly within
the Java Virtual Machine
• COBOL, Java or C#, VB…Presentation
• OO COBOL Wrapper
• Run unit
Business Access
• Existing Procedural COBOLBusiness logic
• Isolated data IO modulesData Access
• RDBMS
• Data filesData
Modernizing your architecture
 Dialog System
 3rd Party support
 Win32APIs
 CBL_ routines
 Pointers
 Native code
Other considerations
 Micro Focus Product Documentation
 Visual COBOL Forum at the Micro Focus Community Site
 http://community.microfocus.com – Our community Site
 Managed Code Tutorial in the Product Documentation
 Web Based Training Resource
Resources to get you started
27
 Managed code is a fantastic way to modernize your application
• Get more done using Java and .NET frameworks
• Create new user interfaces and services based deployments
 Be prepared
• New skills – OO, Java, .NET, frameworks
• Check for unsupported options such as APIs and database pre-
compilers
 Speak to Micro Focus before you start or at least, let us know once
you’ve deployed!
Summary
Questions

More Related Content

PPTX
Visual COBOL Development for Unix and Java
PPT
Evolution Of Java
PPTX
History of java'
PPTX
Core java environment setup and details
PPT
The Evolution of Java
PDF
Lec 3 01_aug13
PDF
itft-Java evolution
PPTX
JAVA ENVIRONMENT
Visual COBOL Development for Unix and Java
Evolution Of Java
History of java'
Core java environment setup and details
The Evolution of Java
Lec 3 01_aug13
itft-Java evolution
JAVA ENVIRONMENT

What's hot (20)

PPTX
Presentation on Java Basic
DOCX
PPTX
The Java Story
PPTX
Java Presentation
PPTX
PDF
JVM, JRE and Javac are the main part for the java program
PPTX
Java byte code presentation
PPTX
Java History
KEY
Single Sourcing RCP and RAP
PPTX
Features of java
PDF
Learn Java Part 1
PPT
Byte code jvm
PDF
Esigate dev meeting 25 03_2013
PPTX
Features of java 02
PPTX
A Comparison of .NET Framework vs. Java Virtual Machine
PDF
Single Sourcing RAP and RCP - Desktop and web clients from a single code base
PPTX
JRE , JDK and platform independent nature of JAVA
PDF
Java introduction
PPTX
Java Virtual Machine
PDF
Bn1005 demo ppt core java
Presentation on Java Basic
The Java Story
Java Presentation
JVM, JRE and Javac are the main part for the java program
Java byte code presentation
Java History
Single Sourcing RCP and RAP
Features of java
Learn Java Part 1
Byte code jvm
Esigate dev meeting 25 03_2013
Features of java 02
A Comparison of .NET Framework vs. Java Virtual Machine
Single Sourcing RAP and RCP - Desktop and web clients from a single code base
JRE , JDK and platform independent nature of JAVA
Java introduction
Java Virtual Machine
Bn1005 demo ppt core java
Ad

Viewers also liked (20)

PPTX
Micro Focus COBOL Product Strategy & Roadmap
PPT
Projeto Integrado de Aprendizagem
PPTX
1-APELL Introduction- Gablehouse
PDF
Live proud
DOCX
Dear Mr. Kilmer
PPT
Fauvism finale
PDF
PwC's - Redefining finance's role in the digital-age
PDF
[data security showcase Sapporo 2015] D27:運用担当者のための OpenSSL 入門 by ユーザーサイド株式会社...
PPT
Новогодний шар из текстиля
PPTX
Ulasalle
PDF
PPT
bahan kimia
PDF
Cardiac tamponade sample paper for neet pg, usmle, plab, fmge (mci screening ...
PPT
Model discovery learning
PPT
Ciberassetjament
PPT
Pertumbuhan dan perkembangan awal
PDF
журнал злокачественные опухоли № 3 (2014)
PPS
Lorenzoysucazo
PPTX
Excelentes dibujos de julian beever
PPTX
Fault presentation by muneeb
Micro Focus COBOL Product Strategy & Roadmap
Projeto Integrado de Aprendizagem
1-APELL Introduction- Gablehouse
Live proud
Dear Mr. Kilmer
Fauvism finale
PwC's - Redefining finance's role in the digital-age
[data security showcase Sapporo 2015] D27:運用担当者のための OpenSSL 入門 by ユーザーサイド株式会社...
Новогодний шар из текстиля
Ulasalle
bahan kimia
Cardiac tamponade sample paper for neet pg, usmle, plab, fmge (mci screening ...
Model discovery learning
Ciberassetjament
Pertumbuhan dan perkembangan awal
журнал злокачественные опухоли № 3 (2014)
Lorenzoysucazo
Excelentes dibujos de julian beever
Fault presentation by muneeb
Ad

Similar to COBOL deployment to .NET or JVM (20)

PPTX
COBOL deployment to .Net or JVM - Developer Day
PPTX
Flexible delivery options
PDF
NA Developer Day - Taking your COBOL apps to Net & JVM
PDF
2.3 (Architecture) Moving to Managed Code
PPTX
Under the hood with Micro Focus' Developer Technology
PPTX
How it works under the hood with visual cobol
PPTX
How it works under the hood with Visual COBOL - developer day
PPTX
Visual COBOL Development for Windows & .Net
PPTX
A history of COBOL - Slideshare Edition.pptx
PPTX
Getting started with Visual COBOL - COBOL Developer Day
ODP
3978 Why is Java so different... A Session for Cobol/PLI/Assembler Developers
PDF
Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing yo...
PPTX
When applications mean business - developer day
PDF
Why COBOL is Still Relevant Today - cobol programmer.pdf
PPTX
Transforming your COBOL UI - COBOL Developer Day
PDF
COBOL Programmers Swing with Java Second edition E. Reed Doke
PPTX
COBOL at 65 - Can we still make a case for COBOL?
PPTX
When applications mean business
PDF
NA Developer Day - Getting started with Visual COBOL
PDF
COBOL Programmers Swing with Java Second edition E. Reed Doke
COBOL deployment to .Net or JVM - Developer Day
Flexible delivery options
NA Developer Day - Taking your COBOL apps to Net & JVM
2.3 (Architecture) Moving to Managed Code
Under the hood with Micro Focus' Developer Technology
How it works under the hood with visual cobol
How it works under the hood with Visual COBOL - developer day
Visual COBOL Development for Windows & .Net
A history of COBOL - Slideshare Edition.pptx
Getting started with Visual COBOL - COBOL Developer Day
3978 Why is Java so different... A Session for Cobol/PLI/Assembler Developers
Developer Conference 2.6 - (Skills and Development Efficiency) Modernizing yo...
When applications mean business - developer day
Why COBOL is Still Relevant Today - cobol programmer.pdf
Transforming your COBOL UI - COBOL Developer Day
COBOL Programmers Swing with Java Second edition E. Reed Doke
COBOL at 65 - Can we still make a case for COBOL?
When applications mean business
NA Developer Day - Getting started with Visual COBOL
COBOL Programmers Swing with Java Second edition E. Reed Doke

More from Micro Focus (20)

PPTX
North America Strategic Modernization Exec Forum
PDF
Tech Channel COBOL ebook
PDF
Unlocking COBOL Business Value
PDF
Quietly confident, enduringly competent - COBOL.
PDF
5 key capabilitie for a smart service desk solution infographic
PDF
SAP Fortify by Micro Focus.
PDF
Digital Transformation pillars 2020
PDF
Whats new in Enterprise 5.0 Product Suite
PPTX
Micro Focus Corporate Overview
PPTX
Why attend the application modernization & connectivity track at Micro Focus ...
PDF
Micro Focus #DevDay50 - Atlanta
PDF
Growth of Internet Data - 2017
PPTX
Easily Create Scalable Automation using Selenium
PDF
The Journey to Mainframe DevOps
PDF
Micro Focus extend 10 and 10.1 with AcuToWeb
PDF
The COBOL Story by Wim Ebbinkhuijsen
PPTX
DevDay Copenhagen - Micro Focus overview and introduction
PPTX
The DevOps Journey
PPTX
ACUCOBOL - Product Strategy and Roadmap
PDF
#DevDay Copenhagen - Bluegarden Presentation
North America Strategic Modernization Exec Forum
Tech Channel COBOL ebook
Unlocking COBOL Business Value
Quietly confident, enduringly competent - COBOL.
5 key capabilitie for a smart service desk solution infographic
SAP Fortify by Micro Focus.
Digital Transformation pillars 2020
Whats new in Enterprise 5.0 Product Suite
Micro Focus Corporate Overview
Why attend the application modernization & connectivity track at Micro Focus ...
Micro Focus #DevDay50 - Atlanta
Growth of Internet Data - 2017
Easily Create Scalable Automation using Selenium
The Journey to Mainframe DevOps
Micro Focus extend 10 and 10.1 with AcuToWeb
The COBOL Story by Wim Ebbinkhuijsen
DevDay Copenhagen - Micro Focus overview and introduction
The DevOps Journey
ACUCOBOL - Product Strategy and Roadmap
#DevDay Copenhagen - Bluegarden Presentation

Recently uploaded (20)

PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
A Presentation on Artificial Intelligence
PPTX
Spectroscopy.pptx food analysis technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Machine learning based COVID-19 study performance prediction
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Assigned Numbers - 2025 - Bluetooth® Document
Unlocking AI with Model Context Protocol (MCP)
A Presentation on Artificial Intelligence
Spectroscopy.pptx food analysis technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
The AUB Centre for AI in Media Proposal.docx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Network Security Unit 5.pdf for BCA BBA.
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Electronic commerce courselecture one. Pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Machine learning based COVID-19 study performance prediction
Chapter 3 Spatial Domain Image Processing.pdf
MIND Revenue Release Quarter 2 2025 Press Release
20250228 LYD VKU AI Blended-Learning.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

COBOL deployment to .NET or JVM

  • 2. It’s Your Choice – COBOL Deployment to .NET or JVM
  • 3.  What new in the latest update  What is managed code and why should you care  Reusable Frameworks  Moving to managed code Agenda
  • 4.  New capabilities for working with Microsoft Visual Studio 2013 and Microsoft .NET 4.5  New platform support for Windows 8.1, Oracle Linux 6.5, Red Hat Linux 6.5 and AIX 7.1  Many enhancements to increase runtime performance  JDBC Connection Sharing  And more ….. What’s New in 2.2 Update 1
  • 5.  Managed code = .NET or JVM  Native code or unmanaged = everything else Terminology
  • 6.  Virtual execution environment • Portable Intermediate Language • JIT  Garbage collection  Object-oriented  Extensive frameworks/Class Libraries  COBOL code generated directly to byte code What is Managed code
  • 7. 1 C 2 Java 3 Objective-C 4 C++ 5 C# 6 Visual Basic 7 PHP 8 Python 9 JavaScript 10 Visual Basic .NET 11 Transact-SQL 12 Perl 13 Ruby 14 ActionScript 15 F# 16 Lisp 17 Delphi/Object Pascal 18 Pascal 19 MATLAB 20 Assembler 1 C 2 Java 3 Objective-C 4 C++ 5 C# 6 Visual Basic 7 PHP 8 Python 9 JavaScript 10 Visual Basic .NET 11 Transact-SQL 12 Perl 13 Ruby 14 ActionScript 15 F# 16 Lisp 17 Delphi/Object Pascal 18 Pascal 19 MATLAB 20 Assembler Why managed code How popular is managed code? www.tiobe.com 1 C 2 Java 3 Objective-C 4 C++ 5 C# 6 Visual Basic 7 PHP 8 Python 9 JavaScript 10 Visual Basic .NET 11 Transact-SQL 12 Perl 13 Ruby 14 ActionScript 15 F# 16 Lisp 17 Delphi/Object Pascal 18 Pascal 19 MATLAB 20 Assembler
  • 8. Why managed code reuse what already works
  • 9. Why managed code 21st century user interfaces
  • 10. Why managed code Application Integrity Micro Focus COBOL runtime error: 114 Attempt to access item beyond bounds of memory (Signal 11)
  • 12.  Debug C#/Java and COBOL together  End-to-end testing  Single IDE for building and testing  Single debug process  Same developer Why managed code End-to-end debugging
  • 14.  What is managed code?  Different perspectives on why deploy to .NET or JVM?  Some lessons learned Moving to managed code
  • 15.  .NET/JVM are fundamentally built on OO principles  Procedural semantics still apply  Visual COBOL extensions  Samples browser Object Oriented Programming
  • 16. Data
  • 17.  Good to go in .NET and JVM  Be mindful of performance for IO intensive batch operations  Significant improvements to file handling operations with Visual COBOL VC 2.2+ File Handling
  • 18. COBOL programs can contain embedded SQL Your choices: 1. Database vendor pre-compiler such as Oracle Pro*COBOL a) COBSQL provides single compile-step integrated with the IDE 2. Micro Focus OpenESQL a) Connect to any ODBC, JDBC, ADO.NET enabled data source Database access Primer procedure division. exec sql connect to Northwind end-exec if sqlcode not = 0 display "Error during CONNECT : " SQLCODE display mfsqlmessagetext goback end-if
  • 19.  Oracle does not support managed code using Pro*COBOL  Use OpenESQL for JDBC and ADO.NET  Use Pro*COBOL directives MODE=ANSI and FIPS to determine non- standard ANSI syntax  Some Oracle extensions supported by OpenESQL other extensions will need to be reworked  No PL/SQL support Database access under Managed Code
  • 21.  To do anything “Thin” will involve an app server  All major Java App Servers supported in Visual COBOL 2.2 • Tomcat • JBOSS • Webshere • WebLogic  Web Services and JSPs  Java coding required  See community.microfocus.com for walkthrus Java App Servers
  • 22. COBOL JVM Roadmap R3/4 JVM COBOL Preview JVM COBOL Launch 2.0 JDBC support Pure JVM 2.1 Web Container support under Tomcat Web services, JSP and Servlet deployment 2.2 Web container support WebLogic Websphere JBOSS 2.3 EJB container deployment From desktop to J2EE EJB deployment… …re-use core COBOL applications directly within the Java Virtual Machine
  • 23. • COBOL, Java or C#, VB…Presentation • OO COBOL Wrapper • Run unit Business Access • Existing Procedural COBOLBusiness logic • Isolated data IO modulesData Access • RDBMS • Data filesData Modernizing your architecture
  • 24.  Dialog System  3rd Party support  Win32APIs  CBL_ routines  Pointers  Native code Other considerations
  • 25.  Micro Focus Product Documentation  Visual COBOL Forum at the Micro Focus Community Site  http://community.microfocus.com – Our community Site  Managed Code Tutorial in the Product Documentation  Web Based Training Resource Resources to get you started 27
  • 26.  Managed code is a fantastic way to modernize your application • Get more done using Java and .NET frameworks • Create new user interfaces and services based deployments  Be prepared • New skills – OO, Java, .NET, frameworks • Check for unsupported options such as APIs and database pre- compilers  Speak to Micro Focus before you start or at least, let us know once you’ve deployed! Summary

Editor's Notes

  • #5: • CALL statements are on average 30% faster • Generation of very large programs is now maximized enabling the JVM to generate code for faster execution. The speed of this is often many times faster than previously seen. • Packed decimal operations are now 200-300% faster • File and directory searching in .Net is now over 600% faster • File handling operations are up to 15% faster. Deploying COBOL applications within the JVM often means COBOL applications will provide backend functionality to Java modules. To help applications share resources across COBOL and Java, COBOL applications can now access existing database connections created in Java, ensuring efficient use of database resources and consistency of transactional operations
  • #7: We provide the tools to deploy COBOL and take advantage of the platform Documented IL means everything can just about integrate with everything else
  • #9: If we spent our time writing new apps all the time just to take advantage of the latest innovation, we’d always be out of date
  • #11: Exception handling Existing native/managed integration
  • #13: We asked what other languages are you using. You said, everything
  • #15: Roadmap What we support User Interfaces Multi-user applications Object Oriented programming Performance
  • #22: Data Source Object leverages JNDI within an App Server, JDBC used outside of an app server