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?
Who is Participating?
Tomas Helgi JohannssonConnect With a Mentor Commented:

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


I dont have knowledge in PL/I but the code is almost verbose and understand its functionality.
Sathish David Kumar NConnect With a Mentor ArchitectCommented:
I have used Bluage tool for converting . Try that . but its licence one
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.