PL/I to java

Jyozeal used Ask the Experts™
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?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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?
Database Administrator / Software Engineer

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

    Tomas Helgi


@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?


I dont have knowledge in PL/I but the code is almost verbose and understand its functionality.
I have used Bluage tool for converting . Try that . but its licence one

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial