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.