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

The following PC-to-host DBCS translation uses the supplied translation table KSCXEBC when copying data set from a PC to a host Connect:Direct® for VSE node. Required parameters for this translation are in bold print.

/**********************************************************************/
/*           PC to HOST DBCS translation using table KSCXEBC          */
/**********************************************************************/
PCTOHOST  PROCESS  SNODE=HOSTNODE                                     -
                   HOLD=CALL
STEP01    COPY                                                        -
                TO    (PNODE                                          -
                       DSN=’hlq.PCFILE’                               -
                       DISP=(RPL,CATLG)                               -
                       UNIT=SYSDA                                     -
                       DCB=(RECFM=VB,LRECL=254,BLKSIZE=4096,DSORG=PS) -
                       SPACE=(254,(1000,100))                         -
                       SYSOPTS="DBCS=KSCXEBC"                         -
                      )                                               -
                FROM  (SNODE                                          -
                       DSN=PCFILE                                     -
                       DISP=SHR                                       -
                      )		
  • The copy step is named STEP01.
  • The input data set is cataloged after successful completion of the Process.
  • The DCB attributes specified in the TO clause of the COPY statement are used for file allocation.
  • The SYSOPTS attribute specified in the TO clause of the COPY statement is used to define the supplied translation table KSCXEBC.
  • UNIT has been specified on the PNODE only.