On 23 Sep 2013 09:23:00 -0700, in bit.listserv.ibm-main you wrote:

>If you mean a program, then the UNIX "iconv" command can do that. There is
>also the "iconv" set of C language subroutines if you want to write your
>own.
>http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/edclb1c0/3.440
>http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/cbcpg1c0/8.6.3
>
>If you are really good with COBOL, you can probably figure out how to call
>these using COBOL. Likewise with PL/I or HLASM. If _I_ needed these in
>COBOL, I would likely write an HLASM stub routine to "marshall" the
>argument to/from the COBOL / C calling conventions.
>
> DFSORT can do it, with some difficulty, on a "field" basis by using the
>TRAN=ALTSEQ phrase in an INREC or OUTREC FIELDS= command. Too bad there
>isn't an easy way that I can see to just use UNICODE System Services.

While I haven't looked at the manual recently, since COBOL provides
the way to describe UNICODE fields, EBCDIC fields, and ISO 8 byte
character fields, I am fairly certain simple MOVE statements among
them would suffice.

Clark Morris
>

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

Reply via email to