|
Below is how I am sending files to a Unix machine within CL in Batch. It
is the transfer command and the script that is generated on the fly with
new file names
CL:
/*--------------------------------------------------------------*/
/* Transfer the File to the Selected Target Platform */
/*--------------------------------------------------------------*/
OVRDBF FILE(TCPSCRIPTS) TOFILE(JPMDTA/TCPSCRIPTS) +
MBR(WEB_REGEN)
TCPTRNSFR HOSTID(&HOSTID) SCRFLE(TCPSCRIPTS) +
SRCMBR(WEB_REGEN) FILE(WBXHEAD WBX_CMP +
WBXMSG2 WBX_CMP WBX_TCPCTL WBX_CMP) +
TEXT('WBX-GraphNet ') VERIFY(*NO)
DLTOVR FILE(TCPSCRIPTS)
Script:
UserID UserPassword
PUT QTEMP/WBXHEAD N1_REGEN_0018.A19981112.INDEX
PUT QTEMP/WBX_CMP N1_REGEN_0018.A19981112.INDEX.COMPLETE
PUT QTEMP/WBXMSG2 N1_REGEN_0018.A19981112
PUT QTEMP/WBX_CMP N1_REGEN_0018.A19981112.COMPLETE
PUT QTEMP/WBX_TCPCTL N1_REGEN_0018.A19981112.CONTROL
PUT QTEMP/WBX_CMP N1_REGEN_0018.A19981112.CONTROL.COMPLETE
QUIT
I hope this gets you started.
Bob
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.