Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Connect Direct Chinese data from mainframe to Unix

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

New User


Joined: 21 Jan 2009
Posts: 84
Location: India

PostPosted: Wed May 30, 2012 11:42 am    Post subject: Connect Direct Chinese data from mainframe to Unix
Reply with quote

Hi All,

I have a problem with transferring UTF-8 data from mainframe to Unix.

The mainframe receives the UTF-8(CCSID 1208) data (which contains Chinese data) via MQ and stores it into a DB2 table (tablespace defined with CCSID 1208).

A job runs and extracts this data from DB2 table and puts it into a dataset and then attempts to connect direct this data to a Unix server. (SYSOPTS on the destination file as DATATYPE=BINARY and XLATE=NO)
But, the data when reaches the destinations becomes unreadable.

However, when I tried to connect direct the same data to a local Windows server using the above options, the data was readable.
After some search on internet, I suspect there is some extra SYSOPTS paramter (like CODEPAGE) needs to be specified either on the source file or the destination file specially for transferring it to UNIX. Knowing the source codepage is UTF-8, but unsure of the destination codepage to be specified, I am unable to progress much further.

Any suggestions would be helpful?

I hope I have conveyed my query well. Please let me know if any more information is needed.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed May 30, 2012 9:35 pm    Post subject:
Reply with quote

Hello,

Suggest you talk with the Unix sysadmin or network support. They would have the best knowledge of that platform, i believe.
Back to top
View user's profile Send private message
rakesh1155

New User


Joined: 21 Jan 2009
Posts: 84
Location: India

PostPosted: Wed Jun 27, 2012 12:16 pm    Post subject: Reply to: Connect Direct Chinese data from mainframe to Unix
Reply with quote

Hello dick scherrer,

Thank You for your response.

I have discussed with the Unix sysadmin team of the vendor who has provided this service.

So I now know the native codepage of the Unix server at destination (it is GB18030)

Though the source native codepage for mainframe is 500. But the source data is translated into UTF-8 (CP 1208)

The questions arise that:
In the COPY step of connect direct, Should I specify the codepage parameter in source file or destination file as CODEPAGE=(UTF-8,GB18030). I assume I also need to specify XLATE parameter as YES ?
Is the direct translation from UTF-8 to GB18030 possible OR there's a need to convert into an intermediate codepage (like its done using NATIONAL-OF and DISPLAY-OF in COBOL) ?

Again, I am unsure if I have conveyed my query well or if its to the right audience. But any inputs should be helpful.
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 Sorting group data rajella DFSORT/ICETOOL 3 Sun Jan 22, 2017 11:32 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Produce Mainframe Dash Board Reports ... sdcarlson53 All Other Mainframe Topics 2 Thu Jan 05, 2017 11:01 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us