Copy a DBCS File From UNIX to VMESA Using the EBCXKSC Translation Table

The following UNIX-to-host DBCS translation uses the default translation table EBCXKSC. This example COPY statement copies a data set from a UNIX to a host Connect:Direct® for VM/ESA node.

/******************************************************************/
/*           UNIX to HOST DBCS translation using table EBCXKSC    */
/******************************************************************/
STEP01    COPY                                                     -
                   FROM (PNODE                                     -
                         DSN='hlq.UNIXFILE'                        -
                         SYSOPTS="DBCS=EBCXKSC"                    -
                         DISP=(SHR)                                -
                         )                                         -
                   TO   (SNODE                                     -
                         DSN='/unixfile'                           -
                         SYSOPTS=":xlate=no:strip.blanks=no:"      -
                         DISP=RPL                                  -
                         )
  • The copy step is named STEP01.
  • The SYSOPTS attribute is specified in the TO clause of the COPY statement is used to define the default translation table EBCXKSC.
  • The SYSOPTS parameter on the FROM clause of the COPY statement is required.