On Sun, 16 May 2021 11:22:11 +0400, Peter wrote:
>
>I did but file.txt is empty, but the command executed successfully
>
>On Sun, 16 May, 2021, 11:01 am Mike Schwab wrote:
>
>> The Greater than symbol sends the output to the file.
>> Try again without the Greater than symbol so it is the output file.
>> 
Rather, I believe Peter understood the iconv syntax correctly.

>> On Sun, May 16, 2021 at 1:36 AM Peter wrote:
>> >
>> > I used this command from OMVS
>> >
>> > iconv -f IBM-420 -t IBM-1047 file.txt>file.txt.converted
>> >
>> > I see the converted file is empty, Should I have file.txt populated with
>> > ARABIC codes in it ?
>> >
Yes.  Is that what you have?

Translating -f IBM-420 -t IBM-1047 is futile because most of the
characters in IBM-420 don't exist in IBM-1047.

Describe your problem in detail.  Do you have a file in IBM-420 that you want
to mail?  Could you even post a sample to this list?  Something like:
    تماثيل الحدائق
(selected randomly from the Web.)

z/OS may make it unnecessarily difficult for you because z/OS
stores Arabic text backwards.


>> > On Tue, 11 May, 2021, 8:02 pm Paul Gilmartin wrote:
>> >    ...
>> > > >I have never used ICONV services before, is there a document which 
>> > > >helps to
>> > > >understand the usage of ICONV ?
>> > >
>> https://www.ibm.com/docs/en/zos/2.4.0?topic=scd-iconv-convert-characters-from-one-code-set-another
>> https://www.ibm.com/docs/en/zos/2.4.0?topic=functions-iconv-code-conversion
>> https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R3sa380680?OpenDocument
>> > >
>> > > >On Sun, 9 May, 2021, 9:11 pm Lizette Koehler wrote:
>> > > >
>> > > >> I might recommend a review of the website
>> > > >> http://lbdsoftware.com/xmitip.html .  See if there is any help there

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to