Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

PL/I Conversion to REXX/COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Lauren

New User


Joined: 16 Jan 2009
Posts: 4
Location: South Africa

PostPosted: Tue Dec 01, 2009 7:31 pm    Post subject: PL/I Conversion to REXX/COBOL
Reply with quote

Hi,

Does anyone know of a tool that converts PL/I to REXX/COBOL??
Back to top
View user's profile Send private message

PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Tue Dec 01, 2009 7:47 pm    Post subject:
Reply with quote

What is REXX/COBOL ?

You mean REXX or COBOL?
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1027
Location: Oostende, Belgium

PostPosted: Tue Dec 01, 2009 9:36 pm    Post subject:
Reply with quote

Why in the world would anyone convert PL/I to Cobol?
Back to top
View user's profile Send private message
Lauren

New User


Joined: 16 Jan 2009
Posts: 4
Location: South Africa

PostPosted: Wed Dec 02, 2009 12:35 pm    Post subject:
Reply with quote

I want to convert PL/I to REXX actually, but COBOL would be my second choice, can anyone help??
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Wed Dec 02, 2009 1:42 pm    Post subject:
Reply with quote

Which kind of project? One program? 10 programs? 100 programs?

Just 20 lines of code?

Full of I/O?

Strange requirement.


Please tell us more.
Back to top
View user's profile Send private message
Lauren

New User


Joined: 16 Jan 2009
Posts: 4
Location: South Africa

PostPosted: Wed Dec 02, 2009 1:48 pm    Post subject:
Reply with quote

I have approximately 40 programs, each with about 100 - 300 lines of code.

The tasks vary, but mainly do housekeeping, checking of backups, monitoring and reporting errors.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Dec 02, 2009 10:49 pm    Post subject:
Reply with quote

Hello,

Suggest you consider "mapping" the functionality of the existing modles and re-code at the functional level (rather than trying to re-code line by line). I suspect that many of the functions are repeated in the various modules and once re-coded can be adapted for multiple new modules.

With so few modules, it is probably not worth the time and money to write a tool or buy one (if one that meets your specific needs even exists).
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Thu Dec 03, 2009 1:11 am    Post subject:
Reply with quote

As others have mentioned, what is the reason for doing this? PL/I is a very easy language to learn -- much easier than COBOL in my opinion -- and it is much more flexible. I'm not trying to dissuade you from doing conversions, but I'd like to know why it is needed.

I once offered to convert a complicated system written in Pascal to a decent language and was turned down. The group spent many years (to this day) and arguably hundreds of thousands of dollars trying to maintain that Pascal code base that would have been much easier for them to do after a conversion because of the skill set of the staff, the awfulness of Pascal, usage and support contracts to the Pascal vendor, compiler changes, vendor changes, etc, etc, but hey - they thought saving $100K in one year was better than saving $100K's (actually several million now) over many years. Sometimes these conversions do make sense.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1027
Location: Oostende, Belgium

PostPosted: Thu Dec 03, 2009 1:35 am    Post subject:
Reply with quote

MBabu wrote:
I once offered to convert a complicated system written in Pascal to a decent language and was turned down. ... the awfulness of Pascal ...


I program in PL/I, REXX and Pascal (and I don't want to start a flame war) and although I very much prefer PL/I and REXX, Pascal is actually a pretty decent language, especially if you compare it to Cobol or C.
Back to top
View user's profile Send private message
Lauren

New User


Joined: 16 Jan 2009
Posts: 4
Location: South Africa

PostPosted: Tue Dec 08, 2009 1:11 pm    Post subject:
Reply with quote

Because we only have 40 PL/I programs currently running, we have decided not to renew our PL/I licence, at the moment we cannot compile any PL/I programs, and therefore it is pretty urgent to replace them, because if there is an error on one of these programs we cannot fix it and recompile. I can rewrite them at a functional level, but I dont have a lot of time.....hence the reason for a converting tool.....
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 08, 2009 8:34 pm    Post subject:
Reply with quote

Hello,

Hopefully, re-coding has been going on for the last week. . . icon_smile.gif

Something that might be a possibility is finding some other system where you could compile an emergency fix. . . . Often, an arrangement ca be made. Completely company/relationship specific.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us