473,322 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

cobol.net

I work at a small company that has custom software written in cobol.
This software performs financial payment processing.
There are about 300 programs with I’m guessing 1M+ lines of code.
The current platform is Liant RM cobol (16bit dos)
We are interested in possibly porting this code base into “cobol.net”
It looks like there are two major players in this market
- Fujitsu NetCOBOL
- Micro Focus Net Express

Do you know of any resources for more information?
Has anyone had any success porting such legacy apps?
What tools did you use?
What would you do different?
Was it worth it?

Jul 21 '05 #1
3 2422

I use Micro Focus Net Express for .Net. It has syntax compatability with RM
COBOL so you should be able to take your codebase across and build OK.

Generally COBOL is highly portable so you shouldn't have much problems. You
might want to be wary of any 16bit specifics you might have done such as DOS
interupts /api calls etc. These will never go to the 32bit environment never
mind the .Net platform. Its usually quite easy to replace with the relevant
replacement calls.

If your opening up your business logic to the .Net world then you need to
consider how to expose your interface (linkage section).

For example if the linkage for a program you want to expose to the .Net
world of VB or C# is a 01 level with lots of comp-3 , PIC X(n) COMP-1 then
its exposed as a big array to the outside world. In thise case yoy may want
to change the linkage or put a COBOL wrapper that exposes it as nice .Net
language types such as int boolean , float , string objects etc. This makes
it far easier to communicate to the .Net world unless MS add support for
COMP-3 to C# :-).

If your code is COBOL File IO based then that should be OK. I don't know
anything about RM SQL and how compatable with Net Express it is but you can
use EXEC SQL Syntax to either ODBC or ADO.Net. I have tended to use MS SQL
Server as the back end.

Net Express .Net comes with Visual Studio if you don't have that (or it adds
into your existing install) and also has the standard Win32 development
platform. This give you the options of building standard Win32 DLLs or COM
objects to you want to use the logic in C++ or VB type apps. In .Net you
build assemblied as per other .Net languages.

There are some presentations from the recent MF Developer Forum at:-

http://supportline.microfocus.com/ex...rum.asp#Extend

That go into some aspects of COBOL on .Net and there is plently of other
info (more marketing type) on their website.

The sales people at Micro Focus if you contact them should be able to supply
an eval copy for you.

Hope this helps.

Best of luck with your migration.

David.

"KLomax" wrote:
I work at a small company that has custom software written in cobol.
This software performs financial payment processing.
There are about 300 programs with I’m guessing 1M+ lines of code.
The current platform is Liant RM cobol (16bit dos)
We are interested in possibly porting this code base into “cobol.net”
It looks like there are two major players in this market
- Fujitsu NetCOBOL
- Micro Focus Net Express

Do you know of any resources for more information?
Has anyone had any success porting such legacy apps?
What tools did you use?
What would you do different?
Was it worth it?

Jul 21 '05 #2

I use Micro Focus Net Express for .Net. It has syntax compatability with RM
COBOL so you should be able to take your codebase across and build OK.

Generally COBOL is highly portable so you shouldn't have much problems. You
might want to be wary of any 16bit specifics you might have done such as DOS
interupts /api calls etc. These will never go to the 32bit environment never
mind the .Net platform. Its usually quite easy to replace with the relevant
replacement calls.

If your opening up your business logic to the .Net world then you need to
consider how to expose your interface (linkage section).

For example if the linkage for a program you want to expose to the .Net
world of VB or C# is a 01 level with lots of comp-3 , PIC X(n) COMP-1 then
its exposed as a big array to the outside world. In thise case yoy may want
to change the linkage or put a COBOL wrapper that exposes it as nice .Net
language types such as int boolean , float , string objects etc. This makes
it far easier to communicate to the .Net world unless MS add support for
COMP-3 to C# :-).

If your code is COBOL File IO based then that should be OK. I don't know
anything about RM SQL and how compatable with Net Express it is but you can
use EXEC SQL Syntax to either ODBC or ADO.Net. I have tended to use MS SQL
Server as the back end.

Net Express .Net comes with Visual Studio if you don't have that (or it adds
into your existing install) and also has the standard Win32 development
platform. This give you the options of building standard Win32 DLLs or COM
objects to you want to use the logic in C++ or VB type apps. In .Net you
build assemblied as per other .Net languages.

There are some presentations from the recent MF Developer Forum at:-

http://supportline.microfocus.com/ex...rum.asp#Extend

That go into some aspects of COBOL on .Net and there is plently of other
info (more marketing type) on their website.

The sales people at Micro Focus if you contact them should be able to supply
an eval copy for you.

Hope this helps.

Best of luck with your migration.

David.

"KLomax" wrote:
I work at a small company that has custom software written in cobol.
This software performs financial payment processing.
There are about 300 programs with I’m guessing 1M+ lines of code.
The current platform is Liant RM cobol (16bit dos)
We are interested in possibly porting this code base into “cobol.net”
It looks like there are two major players in this market
- Fujitsu NetCOBOL
- Micro Focus Net Express

Do you know of any resources for more information?
Has anyone had any success porting such legacy apps?
What tools did you use?
What would you do different?
Was it worth it?

Jul 21 '05 #3
I reccomend Fujitsu NetCOBOL for .NET, which has been in the marketplace
longer than the Micro Focus product for .NET. I have a book on Amazon.com
named "Microsoft .NET for COBOL Programmers" which contains 18 hours of
videos showing theusage of such. If you want to look before you buy, I would
recommend getting a copy of my videos and watching how to program in COBOk in
the .NET environment. Sorry if this sounds self serving, but I think it is
useful to look before you spend several thousand dollars on a COBOL compiler
for .NET

"KLomax" wrote:
I work at a small company that has custom software written in cobol.
This software performs financial payment processing.
There are about 300 programs with I’m guessing 1M+ lines of code.
The current platform is Liant RM cobol (16bit dos)
We are interested in possibly porting this code base into “cobol.net”
It looks like there are two major players in this market
- Fujitsu NetCOBOL
- Micro Focus Net Express

Do you know of any resources for more information?
Has anyone had any success porting such legacy apps?
What tools did you use?
What would you do different?
Was it worth it?

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Batista, Facundo | last post by:
People: I'm trying to convert my father from using COBOL to Python, :) One difficult thing we stuck into is how to read, from python, files written with COBOL. Do you know a module that...
2
by: Kalpana Shridhar | last post by:
I am on a project where I am converting COBOL to C++ on the mainframe. I am new to COBOL and have a lot of questions - any websites or any suggestions from experienced people will be really...
242
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major factor in selecting the development language. Any...
30
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me the text below on his views of Python. I wondered...
5
by: hpy_awad | last post by:
can cobol read binary data written by fprintf (C function) ?
13
by: EricJ | last post by:
hi i need to access cobol data files from .net, the files have no or .vix extention (i think thats a acucobol or something like that) (/me has completely no experience in cobol) i heard that...
2
by: singlal | last post by:
Hi, my question was not getting any attention because it moved to 2nd page; so posting it again. Sorry for any inconvenience but I need to get it resolved fast. Need your help! ...
15
by: dm1608 | last post by:
We have a number of COBOL programs, and some were currently developing, that simply read TEXT based reports and scrap the reports for various information. I'm curious to know if anyone has...
0
by: cobug | last post by:
Dear COBOL Users, Articles are being sought for the COBOL User Groups (COBUG) newsletters. Will you help us in our efforts to provide newsletters for the COBOL community at large? The...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.