cancel
Showing results for 
Search instead for 
Did you mean: 

Convert EBCDIC to ASCII and ASCII to EBCDIC in PI7.0 SP14

Former Member
0 Kudos

Wea re going to be implementing PI7.0 SP14.

I am writing the technical specification for an inbound/outbound interface into/out of ECC 6.0!

I need to convert the File that is created out of SAP into EBCDIC in PI and for the inbound convert the file from EBCDIC into ASCII for import into ECC.

I have more than one way to this...

The ways I have found so far are:

Use MessageTransformBean, use TextCodepageConversionBean, XmlAnonymizerBean, using the File Encoding field on the File/FTP Adapter, XSLT mapping or Java mapping!

I have checked the OSS Note 821267, but this doesn't help.

I am sure all these methods have pros and cons...

What would be the most efficient method of changing this? It will be running hourly and have upto 6000 entries an hour - each way!

Accepted Solutions (0)

Answers (5)

Answers (5)

0 Kudos

Hello, this conversation is, what I need, are they new ideas of it?

Former Member
0 Kudos

No longer a requirement!

Moved onto a new project!

Naama
Participant
0 Kudos

Hi Barry,

I am facing the same problem, I need to convert file to EBCDIC,

Did you manage to solve your problem?

Thanks,

Naama.

aashish_sinha
Active Contributor
0 Kudos

Hi Barry,

I think the most efficient way in my thinking is XSLT and Java mapping.

For java mapping u just need to get thye jar file.I believe that the encoding cp285 / cp500 is EBCIDIC. Try printing

byte [] msg = .. // whatever

System.out.println(new String(msg, "cp285"));

if you get an exception saying Cp285 is unknown you may need an international version of the JRE, depends on the version you're using.

Also u can use this in reverse.

Please see this post:

regards

Aashish Sinha

Edited by: Aashish Sinha on Mar 25, 2008 6:07 PM

ravi_raman2
Active Contributor
0 Kudos

Hi,

Can you also take a look at Text Codepage Conversion Module (XI 3.0 SP18 and PI 7.0 SP09).

That might do your trick..

Regards

Ravi Raman

ravi_raman2
Active Contributor
0 Kudos

Barry..

so your working with as400 or mainframes..good...

I would go with the simplest approach ..and then increase complexity of the solution if it doesent work.....so start with MessageTransformBean...

Regards

Ravi Raman