********************************* TOP OF DATA **********************************
EZA1736I FTP ROMB1RMT (EXIT
EZA1450I IBM FTP CS V1R9
EZA1466I FTP: using TCPIPB1
EZA1772I FTP: EXIT has been set.
EZA1554I Connecting to: ROMB1RMT 172.16.33.10 port: 21.
220-FTPB1 IBM FTP CS V1R9 at ROMB, 17:59:31 on 2010-01-21.
220 Connection will close if idle for more than 10 minutes.
EZA1701I >>> USER PRDCTM
331 Send password please.
EZA1701I >>> PASS
230 PRDCTM is logged on. Working directory is "PRDCTM.".
EZA1460I Command:
EZA1736I TYPE E
EZA1701I >>> TYPE E
200 Representation type is Ebcdic NonPrint
EZA1460I Command:
EZA1736I MODE C
EZA1701I >>> MODE C
200 Data transfer mode is Compressed
EZA1460I Command:
EZA1736I PUT '&AMBIENTE.GR1.PCNDR1.&VSAM..LIS'
EZA1685W Invalid local file identifier
EZA1735I Std Return Code = 27000, Error Code = 00018
EZA1701I >>> QUIT
221 Quit command received. Goodbye.
******************************** BOTTOM OF DATA ********************************
Is it possible the procedure "@ftp" doesn't work with command "set"?
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
Code:
EZA1736I PUT '&AMBIENTE.GR1.PCNDR1.&VSAM..LIS'
EZA1685W Invalid local file identifier
EZA1735I Std Return Code = 27000, Error Code = 00018
This tells you everything you need to know to (a) understand the problem, and (b) fix the problem. Hint: what substitution did the system do for your symbols?
Joined: 12 Jul 2008 Posts: 32 Location: sintra - portugal
All the substitution were made in the previous steps except in this one, where the problems is. This is the reason of my question: Is it possible the procedure "@ftp" doesn't work with command "set"?
but you don't carry that name forward to the @FTP Proc:
//ENVIA EXEC @FTP,DESTINO=ROMB1RMT
//OUTPUT DD SYSOUT=*
//FTPF DD DISP=SHR,DSN=&AMBIENTE.GR1.PCNDR1.&VSAM..LIS
//INPUT DD *
TYPE E
MODE C
PUT //DD:FTPF
CLOSE
QUIT
//*