25 pts.
 AS400 Spool to Unicode with Arabic
I like to FTP an AS400 Spool file which contains CCSID Arabic characters. Can any one tell me how to create an FTP file from Spool file ?

Software/Hardware used:
AS/400 CL
ASKED: December 7, 2011  2:33 AM
UPDATED: February 28, 2012  3:32 PM

Answer Wiki:
you can use CPYSPLF to create a database file that contains the spool file data, then either FTP it as a database file or use CPYTOIMPF to create a text file in the IFS directories
Last Wiki Answer Submitted:  December 7, 2011  12:28 pm  by  BigKat   7,185 pts.
All Answer Wiki Contributors:  BigKat   7,185 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Hi BigKat

I tried the Option. Once the Text is sent by FTP, it contains garbage charecters.

It is not readable. It is neither English, nor Arabic.

Thanks and appreciate your reply.

Shiva

 25 pts.

 

After you run CPYSPLF to put records into the database file, is the database file readable to you on your iSeries?

Tom

 107,995 pts.

 

Thanks Tom.

Yes it is readable in AS400, but there is a catch. The English appears in Elnglish characters. But the Arabic is appearing as hex code i believe. I can not see the arabic letters but it is there.

On the other hand, once FTP is completed I am getting only JUNK for all. like @@@#$#@@@ etc…..

 25 pts.