- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Convert DBCS ASCII to EBCDIC
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 11:01 PM
тАО07-22-2003 11:01 PM
Convert DBCS ASCII to EBCDIC
I need to transfer some data from my HPUX server to AS400 server. HPUX uses ASCII format whereas AS400 uses EBCDIC format for its data.
The data that i have is DBCS Traditional Chinese.
We have a Data transfer application that will be doing the transfer from the unix box to AS400..
The problem that i am facing is that whenever i transfer the DBCS data either in ASCII or Binary format, it comes with junk characters in the AS400.
Can the DBCS ASCII data be converted to EBCDIC format on the unix box itself using some program or is there any tool available for this.
Thanx in advance...
Regds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 11:40 PM
тАО07-22-2003 11:40 PM
Re: Convert DBCS ASCII to EBCDIC
Check it out this link, perhaps it could helps you.
https://aurora.vcu.edu/db2help/db2dm/frame3.htm#db2dm94
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 11:46 PM
тАО07-22-2003 11:46 PM
Re: Convert DBCS ASCII to EBCDIC
i never used it, but from "man dd"
dd(1) dd(1)
conv=value [,value ...]
Where values are comma-separated symbols from the
following list.
ascii Convert EBCDIC to ASCII.
ebcdic Convert ASCII to EBCDIC.
ibm Convert ASCII to EBCDIC using an
alternate conversion table.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2003 11:57 PM
тАО07-22-2003 11:57 PM
Re: Convert DBCS ASCII to EBCDIC
Any idea as to where can i get the list for IBM conversion tables for the below option of DD.
conv=ibm Convert ASCII to EBCDIC
using an alternate conversion table
Also, can anybody provide me the syntax or sample for using DD for this purpose.
regds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 12:11 AM
тАО07-23-2003 12:11 AM
Re: Convert DBCS ASCII to EBCDIC
looking at the man, you specify exactly one of the options ascii,ebcd,ibm, and the table is internal.
if you can get a short file, i suggest you to do a test, it's the fastest way.
Look also at this, always from "man dd":
EXAMPLES
Read an EBCDIC tape blocked ten 80-byte EBCDIC card images per block
into an ASCII file named x:
dd if=/dev/rmt/c0t0d0BEST of=x ibs=800 cbs=80 conv=ascii,lcase
Note the use of the raw magnetic tape device file. dd is especially
suited to I/O on raw physical devices because it allows reading and
writing in arbitrary block sizes.
ASCII and EBCDIC conversion tables are taken from the 256-character
ACM standard, Nov, 1968. The ibm conversion, while less widely
accepted as a standard, corresponds better to certain IBM print train
conventions. There is no universal solution.
Newline characters are inserted only on conversion to ASCII; padding
is done only on conversion to EBCDIC. These should be separate
options.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 05:43 AM
тАО07-23-2003 05:43 AM
Re: Convert DBCS ASCII to EBCDIC
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xefcfd7d96cbad711900a0090279cd0f9,00.html
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 06:25 AM
тАО07-31-2003 06:25 AM
Re: Convert DBCS ASCII to EBCDIC
I work at NIKE and I am working on the same problem (DBCS ASCII to EBCDIC FTP to AS 400). Have you found a solution yet? I would be curious what you find out. We are transferring double-byte (Japanese) flat files from SAP to our warehouse systems on the AS 400.
Best Regards,
Kevin