Example: EBCDIC to ASCII (fixed) on PeSIT receive

In this example we configure Activator to transform a flow through PeSIT encoded in EBCDIC to ASCII. Each record is a fixed 160 bytes size.

Configuration steps

Step one: Create a message attributes template.

Create a message attributes template with the message attributes:

  • LocalFileRecordLength=160
  • LocalFilePaddingChar= 0x00
  • LocalFileCharSet=ASCII
  • LocalFileRecordFormat= FIXED_TEXT

For detailed information about creating message attributes templates, see Manage message attributes templates.

Step two: Configure the PeSIT pickup

Configure the PeSIT pickup to use the message attribute template you created in step one. We configure the pickup so that it does not read the protocol attributes for payload format information, but uses the message attribute template instead.

For detailed information about configuring PeSIT pickups, see:


For this example, let's assume that the virtual settings of the consumed payload are:

  • VirtualFileRecordLength=160
  • VirtualFilePaddingChar=0x00
  • VirtualFileCharSet=EBCDIC
  • VirtualFileRecordFormat=FIXED_BINARY

On reception, the file is transformed into an ASCII file. Each line has a length of 160 characters and terminates with the local EOL marker. (The EOL marker is in addition to the 160 characters.)

No padding is required so we have left xFilePaddingChar = 0x00.

Related Links