IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How can we create a flat file in JAVA with COMP-3 VALUES? 2


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 191
Location: USA

PostPosted: Wed Aug 08, 2018 3:08 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed Aug 08, 2018 4:45 pm
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: 191
Location: USA

PostPosted: Thu Aug 09, 2018 5:05 am
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
umeshsingh01

New User


Joined: 16 Jul 2020
Posts: 1
Location: India

PostPosted: Thu Jul 16, 2020 5:43 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top