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
 
Migrating AS400 to HIVE; Data type mapping for JAVA

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
sindhu.jose

New User


Joined: 15 Jul 2009
Posts: 1
Location: kochi

PostPosted: Tue Nov 06, 2018 1:06 pm    Post subject: Migrating AS400 to HIVE; Data type mapping for JAVA
Reply with quote

Hello Team,

We are currently migrating data from AS400 to HIVE tables, using JAVA code. Can someone help me with the corresponding JAVA data types, for all the AS400 Datatypes as mentioned in https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/rzakb/ldata.htm .

Confusing ones are (UTF-8, UTF-16, UCS-2, Open (O), Only (J), Either (E), Graphic (G)).

Any help is appreciated !!!

Thanks,
Sindhu
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Tue Nov 06, 2018 7:46 pm    Post subject:
Reply with quote

Quote:
Confusing ones are (UTF-8, UTF-16, UCS-2, Open (O), Only (J), Either (E), Graphic (G)).
I'm not sure what is confusing you -- the site you referenced states
Quote:
The data types J (only), E (either), O (open), and G (graphic) support DDS database files that use DBCS. The G (graphic) data type also supports DDS database files that use UCS-2 or UTF-16. The A (character) data type also supports database files that use UTF-8.
and since UTF-8, UTF-16, UCS-2 are forms of Unicode (which Java uses natively), you shouldn't have much of a conversion issue with them. The conversion table in the site you referenced tells you how to convert each type you are confused about.

Your group may have to undergo significant and expensive conversion processing to get the data from AS400 formats to something HIVE will recognize and deal with. The costs and time for this conversion should have been considered in the initial project planning.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extract data from n DB2 Views automat... esmeraldo All Other Mainframe Topics 4 Wed Nov 13, 2019 12:32 am
No new posts adrdssu for copy all data robyjhl JCL & VSAM 5 Tue Nov 12, 2019 11:17 pm
No new posts Convert mainframe data to .csv format... karan_reddy DFSORT/ICETOOL 10 Sat Nov 02, 2019 2:09 am
No new posts How to place name of the file where t... danielgp89 SYNCSORT 18 Thu Oct 17, 2019 12:55 am
No new posts REXX for Reading SMF type 70-1 AdrielGB Testing & Performance analysis 6 Sat Oct 05, 2019 3:03 am

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