Rafal Hanzel wrote:
Steve Comstock pisze:

Have you tried using ibm-870? That seems to be a code page that
supports Polish. 1047 does not have Polish in its list of
supported languages.
Yes, I do.
When I try 'get data' using 'quote site sbdataconn=(IBM-870, UTF-8)' I receive :
  ' Data contains codepoints that cannot be translated '

I tried :
//ICONV    EXEC PROC=EDCICONV,
//         INFILE='TEST.TEST88',
//         OUTFILE='TEST.TEST.ZZA',
//         FROMC='IBM-870',
//         TOC='UTF-8'
//SYSPRINT DD SYSOUT=*

and ftp binary format after that

It gives me good translation but all data are in one line :-(

Best regards,

Rafal Hanzel
Systems Programmer, R&D of Computer System Department
ZETO Katowice Sp. z o.o.
ul. Owocowa 1
40-158 Katowice, Poland
Phone: +48 32 3589 246
Mobile:+48 501677656
e-mail: [email protected]
www: http://www.zetokatowice.pl

Well, that's due to line ends, of course.


I'm working on a utility program, to run on z/OS,
that will convert / repackage files including
line end conversion and a variety of code page
conversions.

From: MVS flat file (F, FB, V, VB)
or    HFS file (filedata={text|binary|record}),
           possibly with length prefix or
           you specify the record delimiter

To:   MVS flat file (F, FB, V, VB)
or    HFS file (filedata={text|binary|record}),
           possibly with length prefix or
           you specify the record delimiter

skip some records on input
stop after some records on output

selected records composed of fields from input and literals

fields identified as string can be converted between any
supported code pages (several EBCDIC and ASCII as well as
UTF-8, UTF-16, and UTF-32); 870 wasn't in my initial ship
plan but it could be added; and I'll have instructions
for adding your own codepage mappings

fields identified as zoned decimal can be packed or
converted to binary or edited; fields identified as
packed can be converted to binary, edited, converted
to zoned, converted to packed but different size, etc.


Include optional header and trailer lines (e.g.: HTML or
XML headers and trailers)

-----------------------------

Moving right along, but it will be a few months before
it'll be ready to go, I imagine. When it's ready it
might be just the thing you're looking for.




--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

Do It Yourself training:

Ask me about our new, reduced rates for purchasing our course materials
for use by your own trainers or Subject Matter Experts (SMEs).

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to