Skip to main content

ASCII to EBCDIC conversion of the PIPE character in LINUX

  • February 15, 2013
  • 0 replies
  • 0 views

This article describes what is needed to do the ASCII to EBCDIC conversion of the PIPE character in LINUX platforms.

Problem:

What configuration changes are needed to support EBCDIC codeset 037 and perform conversion of the PIPE character from ASCII to correct EBCDIC hex value in Enterprise Server Mainframe Transaction Option (MTO) on a LINUX platform? On LINUX, the EBCDIC hex value for pipe character is displayed as X’6A’. On Windows and mainframe, EBCDIC hex value X’4F is displayed for the pipe character with the EBCDIC codeset 037.

Resolution:

You need to configure the specific codepage and change the codeset program to support EBCDIC codeset 037 on a LINUX platform. To perform the conversion of the PIPE character from ASCII to EBCDIC codeset 037 hex value, change the ASCII to EBCDIC mapping in the codeset program by mapping ASCII pipe X’7C’ to EBCDIC pipe X’4F’.

To find instructions for changing the codeset program, please review the Server Express 5.1 Online Help referencing Bookshelf > Program Development > 8. Internationalization Support under the topic 'Converting ASCII/EBCDIC Data Using the CODESET Program'.

Incident Number: 2349387

Old KB# 14584

#MFDS
#EnterpriseDeveloper