This document explains how to do character conversion on the mainframe while receiving from remote partner.
When transferring a file consisting of ASCII or EBCDIC characters you can do the conversion to the other code on the Windows, Linux or Unix side.
When you transfer from any platform to XCOM on the Mainframe you have the alternative to convert the file on the mainframe side also. And you can decide if and how ASCII, BINARY and EBCDIC-files are to be processed. Here is the step-by-step explanation of how this can be done:
-------------------Member FROMWIN----------------------------------- TYPE=CONVERTNAME=FROMWIN*************************************************************** SINGLE BYTE CHARACTER SET TRANSLATION TABLE* THIS IS A SAMPLE CONVERSION TABLE TO TRANSLATE ASCII-* CHARACTERS INTO EBCDIC-CHARACTERS AND IS PROVIDED ON AN* AS-IS BASIS WITHOUT ANY WARRANTY FOR CORRECT PROCESSING.**************************************************************CNVVAL00=00,01,02,03,37,2D,2E,2F,16,05,25,0B,0C,0D,0E,0FCNVVAL10=10,11,12,13,3C,3D,32,26,18,19,3F,27,1C,1D,1E,1FCNVVAL20=40,5A,7F,7B,5B,6C,50,7D,4D,5D,5C,4E,6B,60,4B,61CNVVAL30=F0,F1,F2,F3,F4,F5,F6,F7,F8,F9,7A,5E,4C,7E,6E,6FCNVVAL40=7C,C1,C2,C3,C4,C5,C6,C7,C8,C9,D1,D2,D3,D4,D5,D6CNVVAL50=D7,D8,D9,E2,E3,E4,E5,E6,E7,E8,E9,AD,E0,BD,5F,6DCNVVAL60=79,81,82,83,84,85,86,87,88,89,91,92,93,94,95,96CNVVAL70=97,98,99,A2,A3,A4,A5,A6,A7,A8,A9,C0,6A,D0,A1,07CNVVAL80=00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00CNVVAL90=00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00CNVVAL90=00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00CNVVALA0=00,00,00,00,00,00,A1,00,00,00,00,00,00,00,00,00CNVVALB0=00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00CNVVALC0=00,1E,1C,00,00,00,00,00,00,00,00,00,00,00,00,00CNVVALD0=00,7B,00,00,00,00,00,00,00,00,00,00,00,00,00,00CNVVALE0=00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00CNVVALF0=00,4F,00,00,00,00,00,00,00,00,00,00,00,00,00,00---------------------------------------------------------------------
-------------------Member WINDEST------------------------------------
TYPE=DEST
*************************************************************
* DESTINATION MEMBER FOR TRANSFERS FROM WINDOWS ON 10.0.0.5 * *************************************************************
IPPORT=8044
IPNAME=<IPNAME>
CVASCII=FROMWIN
------------------------------------------------------------
F <xcom_serv>,DISABLE,WINDESTF <xcom_serv>,DISABLE,FROMWINF <xcom_serv>,ENABLE,FROMWINF <xcom_serv>,ENABLE,WINDEST
For BINARY or EBCDIC transfer no Conversion is done as parameters CVBINARY and CVEBCDIC are not used.