title: Sending files through connect direct from UNIX to MAINFRAME
body: <p>I am sending a file from UNIX to MAINFRAME server via connect direct. I am able to upload the file successfully.At the destination host, when the file is received it is not readable and not in the same format as I sent from the UNIX server.</p>
  
  <p>Below is the transmission job</p>
  
  <pre><code>Direct&gt; Enter a ';' at the end of a command to submit it. Type 'quit;' to exit CLI.
  
          submit maxdelay=unlimited TINIRS   process    snode=b1ap005
                         TRANSMIT   copy from  (file=myFile.txt
                                                pnode
                                                sysopts=":datatype=text"
                                               )
                                               ckpt=1k
                                         to    (file=myFile.txt(+1)
                                                snode
                                                DCB=(DSORG=PS,RECFM=VB,LRECL=1500)
                                                disp=(new)
                                               )
           pend ; 
  </code></pre>
  
  <p>Please let me know the DCB values needs to be updated. The file I am sending has 3 records of variable length and the maximum length of record is 1500.</p>