Ann, Try like this: /**/ arg fn ft fm queue 'johnh xxxxxxxx' queue 'ebcdic' queue 'mode b' queue 'mput' fn'.'ft'.'fm queue 'quit' 'ftp 192.168.1.100'
John Hanley (804) 786-7823 Aisik Chang <[EMAIL PROTECTED] m> To Sent by: The IBM IBMVM@LISTSERV.UARK.EDU z/VM Operating cc System <[EMAIL PROTECTED] Subject ARK.EDU> FTP 08/24/2007 12:34 PM Please respond to The IBM z/VM Operating System <[EMAIL PROTECTED] ARK.EDU> I tried to use exec to ftp a file, but it woundn't go: The exec: /**/ TRACE R push 'profile.exec.a' 'k9830t.profile.exec' push xxxxxxxx push K9830TS ftp metprodl ------------------------------------------------------------------------------------------ the result is: 3 *-* push 'profile.exec.a' 'k9830t.profile.exec' >>> "profile.exec.a k9830t.profile.exec" 4 *-* push xxxxxxxx >>> "xxxxxxxx" 5 *-* push K9830TS >>> "K9830TS" 6 *-* ftp metprodl >>> "FTP METPRODL" VM TCP/IP FTP Level 520 Connecting to METPRODL 10.9.199.100, port 21 220-FTPSERVE IBM VM Level 520 at METPRODL.METLIFE.COM, 12:30:34 EDT FRIDAY 2007- 08-24 220 Connection will close if idle for more than 5 minutes. USER (identify yourself to the host): >>>USER K9830TS 331 Send password please. Password: ------------------------------------------------------------------------------------- Thanks for your help, Ann