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: 8505
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 Rexx to create VSAM define statements Dinesh Mani CLIST & REXX 9 Fri Nov 29, 2019 9:26 pm
No new posts File transfer issue with end of line ... VINAY PALLELA TSO/ISPF 4 Thu Nov 14, 2019 12:01 am
No new posts File compare, where file has header a... VINAY PALLELA SYNCSORT 8 Thu Nov 07, 2019 5:05 pm
No new posts OMIT first and last column of a pipe-... karthikb_itpro DFSORT/ICETOOL 1 Fri Nov 01, 2019 8:24 pm
No new posts How to place name of the file where t... danielgp89 SYNCSORT 18 Thu Oct 17, 2019 12:55 am

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