Assembler to COBOL



High Level Assembler(HLASM) for MVS & VM & VSE

Assembler to COBOL

Postby keerthi286 » Fri Nov 09, 2012 12:10 am

Hi,

We are planning to convert existing assembler program to COBOL.Please help me if any third party tool is available or any rexx program to perform this task. :)
keerthi286
 
Posts: 6
Joined: Thu Nov 08, 2012 4:06 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Assembler to COBOL

Postby Peter_Mann » Fri Nov 09, 2012 12:14 am

A quick Google search found a few tools and consulting firms, took me about .001 second to find
convert existing assembler program to COBOL.
Peter
Peter_Mann
 
Posts: 145
Joined: Fri Jun 24, 2011 7:37 pm
Location: Lowell,AR
Has thanked: 15 times
Been thanked: 3 times

Re: Assembler to COBOL

Postby enrico-sorichetti » Fri Nov 09, 2012 12:32 am

Please help me if any third party tool is available or any rexx program to perform this task


what happened when You searched for them Yourself ?
googling for example with assembler to cobol conversion tools

but... just wiser to forget about it, assembler has too many quirks to make it automagically translatable to any other language

there are some non free products who claim to do it, but ... ... ...
how much preventive cleanup and tagging of assembler code ? ? ?
the converted code will be pretty often unreadable/unmanageable

more cost effective to plan for a rewrite based on the business logic.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Assembler to COBOL

Postby keerthi286 » Thu Nov 15, 2012 4:15 pm

Thank you
keerthi286
 
Posts: 6
Joined: Thu Nov 08, 2012 4:06 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Assembler to COBOL

Postby jsavoye » Tue Jan 29, 2013 8:34 pm

This is a question from several months ago, but not so old that I should probably feel too embarrassed to be replying. In my own experience converting ALC to COBOL, I generally find that I need to rethink how the program works. That does not tend to lend itself to automatic conversion. You can, however, do a lot with the newer COBOL, a little clever thinking, and a lot of care. In particular, you can do some very useful tricks using LINKAGE areas and assigning pointers, although one should always be careful about being too clever.
jsavoye
 
Posts: 23
Joined: Wed Dec 08, 2010 8:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Assembler to COBOL

Postby mwilliams » Fri Mar 29, 2013 6:54 am

Well,
this is interesting. Though, I totally, agree that “assembler has too many quirks to make it automatically translatable to any other language”
I am well aware, that there are probably a number of tools which claim to convert assembler into Cobol. Although, I had not personally used any of these tools, I can’t see the translation from Assembler into Cobol as single iterative process.

As with my experience, of needing new Cobol programs rewritten from existing assembler code, I though about how tedious of the task of doing it by hand. So, I pondered over ways of reducing the manual labor involved. Overtime, after upon recognizing some common patterns of how the code was written, as a result, I had written a utility that reads a particular output file from the assembler which then build partial Cobol programs based upon a common coding style. I had gotten as far as deciphering assembly language defined storage into Cobol’s working storage, and creating linkage parameters (to some degree) based upon the usage of register 1. But in all fairness, upon all the work put into this utility, it only reduced my efforts by a third of the time than if I had written the code totally by hand. Inclusion, I believe, the translation of assembler into Cobol is a multiple iterative process, which involves research, planning, and design.
mwilliams
 
Posts: 11
Joined: Thu Feb 07, 2013 8:55 am
Has thanked: 0 time
Been thanked: 1 time


Return to Assembler

 


  • Related topics
    Replies
    Views
    Last post