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

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

/*           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 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.