Have you tried using "receive file from host" using client access?

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of sjl
Sent: Tuesday, August 26, 2008 19:35
To: midrange-l@xxxxxxxxxxxx
Subject: handling double-byte files



We have a Chinese fixed-format bank transaction file which contains mixed data (both single and double-byte information) that needs to be transferrred to a PC as a text file, then forwarded to the bank.

How do we transfer this file to the PC and retain the double-byte data within the record? (i.e., the double-byte information gets translated from double-byte EBCDIC to the corresponding double-byte ASCII characters...)

Does CPYTOIMPF do the necessary translation if I specify STMFCODPAG(1381) ?

CPYTOIMPF FROMFILE(MYLIB/BANKFILE) TOSTMF('/home/MYFOLDER/bankfile')
FROMCCSID(*FILE) STMFCODPAG(1381) RCDDLM(*CRLF) DTAFMT(*FIXED)

Regards,
sjl
_________________________________________________________________
Talk to your Yahoo! Friends via Windows Live Messenger. Find out how.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.