Copy a DBCS Data Set from VSE to Microsoft Windows Using the EBCXKSC Translation Table

This COPY statement copies a data set from a host Connect:Direct® for VSE to a PC node using the translation table EBCXKSC. Required parameters for this translation are in bold print.

/******************************************************************/
/*           HOST to PC DBCS translation using table EBCXKSC      */
/******************************************************************/
HOSTTOPC  PROCESS  SNODE=PCNODE                 -
                   HOLD=CALL
STEP01    COPY    FROM  (PNODE                  -
                         DSN=’hlq.HOSTFILE’     -
                         SYSOPTS="DBCS=EBCXKSC" -
                         DISP=(SHR)             -
                        )                       -
                  TO    (SNODE                  -
                         DSN=PCFILE             -
                         DISP=RPL               -
                        )
  • The copy step is named STEP01.
  • The SYSOPTS attribute is specified in the FROM clause of the COPY statement is used to define the default translation table EBCXKSC.