Hi
I want to transfer text file from Mainframe to windows on a shared drive.
I have this written on my code:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000021 //FTPLOC EXEC PGM=FTP
000022 //OUTPUT DD SYSOUT=*,RECFM=FB,LRECL=0,BLKSIZE=0
000023 //SYSPRINT DD SYSOUT=*
000024 //INPUT DD *
000025 FTP -p 99.999.999.99
000026 USERNAME
000027 PASSWORD
000028 cd /C/TEMP
000029 PUT 'DBKPNMRA.AAAAAA.A.TXT' a.txt
000030 CLOSE
000031 QUIT
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
99.999.999.99 is my computer's IP Address.
USERNAME is my computer's username
PASSWORD is my computer's password.
"DBKPNMRA.AAAAAA.A.TXT" is the mainframe file name.
a.txt is the windows file name that i want.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
This is the error that I get:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
EZA1736I FTP
EZY2640I Using 'SYS1.TCPPARMS(FTPDATA)' for local site configuration parameters.
EZA1450I IBM FTP CS V1R10
EZA1456I Connect to ?
EZA1736I FTP -p MY_IP_ADDRESS
EZA1554I Connecting to: FTP.crdc.XX.org SOME_OTHER_IP_ADDRESS port: 21.
220-TCPCFTP1 IBM FTP CS V1R10 at MVSP20F.CRDC.XX.ORG, 15:06:40 on 2011-12-22.
220 Connection will close if idle for more than 5 minutes.
EZA1459I NAME (FTP:[b]MY_USER_ID):
EZA1701I >>> USER MY_USER_ID
331 Send password please.
EZA1789I PASSWORD:
EZA1701I >>> PASS
530 PASS command failed
EZA1460I Command:
[/b]EZA1736I cd /C/TEMP
EZA1701I >>> CWD /C/TEMP
530 You must first login with USER and PASS.
EZA1460I Command:
EZA1736I PUT 'DBKPNMRA.AAAAAA.A.TXT' a.txt
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Please Help