• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 479
  • Last Modified:

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?
0
Jyozeal
Asked:
Jyozeal
2 Solutions
 
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?
0
 
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
0
 
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.
0
 
Sathish David Kumar NCommented:
I have used Bluage tool for converting . Try that . but its licence one
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now