Skip to Content
Former Member
Feb 09, 2011 at 04:51 PM

Converting ASCII to EBCDIC and Packed Decimals as well


Hi All,

We have a requirement where data from a SAP system comes in ASCII format as a flat file.PI needs to encode 4 fields in the packed decimals and rest of the fields in EBCDIC format before sending to mainframe system.

When I use code page cp500 at the reciever file adapter level it encodes the entire file in EBCDIC format.

However we want those 4 fields to be in packed decimals while sending to mainframe system.

Could you please help me in figuring out a solution?