Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 8490
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 Need help in parsing record in VBA file guptae DFSORT/ICETOOL 2 Fri Oct 11, 2019 2:31 pm
No new posts Create Dynamic Sort card with Omit co... balaji81_k DFSORT/ICETOOL 9 Thu Sep 26, 2019 10:06 pm
No new posts What 'EF' in the CAFC command REGION,... vrkratheesh CICS 2 Wed Sep 18, 2019 4:52 pm
No new posts Can we pass the value of Symbolic par... Poha Eater JCL & VSAM 5 Thu Sep 05, 2019 2:21 pm
No new posts Search the strings present in ps file... Bhuvana Narasimhan All Other Mainframe Topics 8 Thu Aug 22, 2019 8:20 pm

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