On Fri, 19 Feb 2016 14:53:48 -0600, John McKown  wrote:
>>
>> Tried ICETOOL with OUTREC...BUILD...TRAN=ATOE, tried FTP, but don't seem
>> to have the correct incantation to make that work, and I've tried OGETX,
>> but no good results.
>
>
>​Run a UNIX step using BPXBATCH. Use the //STDPARM DD to pass in a really
>long parameter line to do something like:
>
>//CHANGE EXEC PGM=BPXBATCH,REGION=0M
>//STDOUT DD SYSOUT=*
>//STDERR DD SYSOUT=*
>//STDIN DD *
>//STDPARM DD *
>SH ​
>
>​cd /directory/containing &&
>cat ascii.file.txt |
>iconv -f ISO8859-1 -t IBM-1047 |
>sed -E 's/BUBBA/TROUBLE/g' ​ |
>iconv -f IBM-1047 -t ISO8859-1 >new.file &&
>mv new.file ascii.file.txt
>/*
>// 
Or, chtag it to a suitable ASCII code page and process it in place.  Many 
utilities
are savvy to file tags.

(Is DFSORT?)

ISPF seems to handle tagged files, even UTF-8 with no incantations.

-- gil

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

Reply via email to