Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How can we create a flat file in JAVA with COMP-3 VALUES? 2

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 184
Location: USA

PostPosted: Wed Aug 08, 2018 3:08 pm    Post subject: How can we create a flat file in JAVA with COMP-3 VALUES? 2
Reply with quote

Started a new topic because this is aging, and also a slightly different take on the question here: http://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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8410
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 08, 2018 4:45 pm    Post subject: Reply to: How can we create a flat file in JAVA with COMP-3 VALUES? 2
Reply with quote

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
View user's profile Send private message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 184
Location: USA

PostPosted: Thu Aug 09, 2018 5:05 am    Post subject: Re: Reply to: How can we create a flat file in JAVA with COMP-3 VALUES? 2
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Transferring file to Mainframes Shinoj Vijayakumar IBM Tools 3 Thu Dec 06, 2018 2:35 pm
No new posts Convert VBA file to FB! Vignesh Sid SYNCSORT 5 Mon Dec 03, 2018 1:27 pm
No new posts calling java code(on mainframe from c... elixir1986 COBOL Programming 1 Fri Nov 30, 2018 1:57 am
No new posts Another 39 File Status on VB file socker_dad COBOL Programming 5 Tue Nov 27, 2018 6:11 am
No new posts How to handle different file length b... javen777 DFSORT/ICETOOL 15 Mon Nov 26, 2018 12:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us