Copy a File from Microsoft Windows to z/OS

This Process copies a text file from a remote Microsoft Windows system (where IBM® Connect:Direct® is not installed) to a z/OS partitioned data set (PDS). When copying a file to or from a remote Microsoft Windows computer, you must use the Universal Naming Convention (UNC) method for specifying the file name. Do not use a drive letter. The UNC consists of two backslashes, the computer name, a single backslash, and the share name. The share, ROOT_C, must be accessible to Connect:Direct for Microsoft Windows server. In this example, the computer name is WIN_SYS1 and the share name is ROOT_C.

NT2OS390  PROCESS      SNODE=SS.OS390/*$OS390$*/
                       HOLD=NO
                       CLASS=1
                       PRTY=10
                       EXECPRTY=10
                       RETAIN=NO
STEP01    COPY  FROM  (FILE=\WIN_SYS1\ROOT_C\DATA\OUT\SALESJAN.DAT
                       PNODE/*$WINDOWS$*/
                       SYSOPTS="datatype(text)")
                TO    (SNODE/*$OS390$*/
                       FILE=SALES.DATA.JAN(MBR99)
                       DISP=(RPL,CATLG))
	PEND