View previous topic :: View next topic
|
Author |
Message |
jasorn Warnings : 1 Active User
Joined: 12 Jul 2006 Posts: 191 Location: USA
|
|
|
|
Started a new topic because this is aging, and also a slightly different take on the question here: ibmmainframes.com/viewtopic.php?t=65414
Now that there is a push to run java on the mainframe, I suppose many will have this question where ascii to ebcdic conversion is not required. And it follows there will be more questions about the transition from COBOL to JAVA.
That being said, I'm curious if the answer changes and if the JAVA program is running on the mainframe if it would be more cost effective to create various COMP fields in the JAVA program.
I'm not yet using JAVA myself so I haven't been able to test this. My assumption is that it'd still be better to have the COBOL program make the conversion. Is that true? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Google is your friend. Googling java packed decimal returned about 252,000 hits and several on the first page have code for packed decimal in Java. |
|
Back to top |
|
|
jasorn Warnings : 1 Active User
Joined: 12 Jul 2006 Posts: 191 Location: USA
|
|
|
|
Robert Sample wrote: |
Google is your friend. Googling java packed decimal returned about 252,000 hits and several on the first page have code for packed decimal in Java. |
Sure google is your friend.
You can say that for just about everything. The point of my question was to get thoughts from people using java on the mainframe if the advice holds true in that case so that people reading this not so old post might have that information as well.
I thnk I'll see my way out the door. You guys have turned into a bunch of dicks. |
|
Back to top |
|
|
umeshsingh01
New User
Joined: 16 Jul 2020 Posts: 1 Location: India
|
|
|
|
You should try Use complex flat file stage to convert the data to COM3. Instead of it you can get more answers about Java here. www.bestinterviewquestion.com/ |
|
Back to top |
|
|
|