PL/I to java

Hi I need to translate leagacy Pl/I code to Java. The legacy code has files as input and output. How do i convert it into object oriented concepts? How do i create class and How do i handle them?
JyozealAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tliottaCommented:
What is your background in PL/1? What is your background in Java? Extensive experience in both may be required. Also, what are performance requirements for existing PL/1 functions?
Tomas Helgi JohannssonCommented:
Hi!

Is this a cics or batch application ?
Where are you plannig to run the Java app ? In Mainframe ? z/OS or zLinux ? Inside or outside a mainframe database ? Or on a different platform ?
PL/1 program can be written as Java single class or multiple classes depending on the complexity of the programs logic. If you know the business logic of the program then you could easily write that using Java.
If running on z/OS you will need to use file input/output streams provided by IBM to access z/OS files (MVS datasets) otherwise you use default streams.

Here are some Redbooks to look at
http://www.redbooks.ibm.com/abstracts/sg247177.html
http://www.redbooks.ibm.com/abstracts/sg247291.html
http://www.redbooks.ibm.com/abstracts/sg248225.html?Open

Regards,
    Tomas Helgi

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JyozealAuthor Commented:
@Tomas Helgi,

Thanks for your response. The Pl/I program has the Business logic and mostly has calculations(Not a CICS program). The application is being converted from legacy to Java. How do we write a batch processing application to Object oriented? How do i convert a top down approach to Bottom-up approach?

@tliotta

I dont have knowledge in PL/I but the code is almost verbose and understand its functionality.
Sathish David Kumar NArchitectCommented:
I have used Bluage tool for converting . Try that . but its licence one
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.