Page 2 of 2

Re: Transfer file from MF to Windows PC on a shared drive

PostPosted: Sat Dec 24, 2011 12:41 am
by arpitsharma27
Hi
I had tried using OPEN 99.999.999.99
This is what i have written:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//FTPLOC EXEC PGM=FTP
//OUTPUT DD SYSOUT=*,RECFM=FB,LRECL=0,BLKSIZE=0
//SYSPRINT DD SYSOUT=*
//INPUT DD *
OPEN MY_SHARED_DRIVE_IP_ADDRESS
MY_COMPUTER_USER_ID
MY_COMPUTER_PASSWORD
cd SMA Tech Team/xx
PUT 'MAINFRAME_FILE_NAME' a.txt
CLOSE
QUIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I get the following error:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
EZA1736I FTP
EZY2640I Using 'SYS1.TCPPARMS(FTPDATA)' for local site configuration parameters.
EZA1450I IBM FTP CS V1R10
EZA1456I Connect to ?
EZA1736I OPEN MY_SHARED_DRIVE_IP_ADDRESS
EZA1551I Unknown host: OPEN
EZA1460I Command:
EZA1618I Unknown command: 'MY_COMPUTER_USER_ID'
EZA1619I For a list of the available commands, say HELP
EZA1460I Command:
EZA1736I California9
EZA1618I Unknown command: 'MY_COMPUTER_PASSWORD'
EZA1460I Command:
EZA1736I cd SMA Tech Team/xx
EZA1457I You must first issue the 'OPEN' command
EZA1460I Command:
EZA1736I PUT 'MAINFRAME_FILE_NAME' a.txt
EZA1457I You must first issue the 'OPEN' command
EZA1460I Command:
EZA1736I CLOSE
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Re: Transfer file from MF to Windows PC on a shared drive

PostPosted: Sat Dec 24, 2011 1:05 am
by BillyBoyo
Did you talk to your support people?

The response to the Connect to? I believe should be your IP address.

Change your password now.

If you start your cards:
ip address
username
password


you might get in if all of those are OK. Else you are still in the same place and we don't know anything to help, but your support people do.

Re: Transfer file from MF to Windows PC on a shared drive

PostPosted: Sat Dec 24, 2011 1:26 am
by arpitsharma27
Hi
The username/password should be my computer username/password or anything else?
If it is my computer username password than i have it correct.

ERROR: "(errno2=0x769F0442)"

I have this written:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//FTPLOC EXEC PGM=FTP
//OUTPUT DD SYSOUT=*,RECFM=FB,LRECL=0,BLKSIZE=0
//SYSPRINT DD SYSOUT=*
//INPUT DD *
MY_SHARED_DRIVE_IP_ADDRESS
MY_COMPUTER_USER_NAME
MY_COMPUTER_PASSWORD
cd /C/TEMP
PUT 'MAINFRAME_FILE_NAME' a.txt
CLOSE
QUIT

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I get the following error:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
EZA1456I Connect to ?
EZA1736I MY_SHARED_DRIVE_IP_ADDRESS
EZA1554I Connecting to: MY_SHARED_DRIVE_IP_ADDRESS port: 21.
EZA2590E recv error from getNextReply - EDC8128I Connection refused. (errno2=0x7
69F0442)
EZA1475I Connection with MY_SHARED_DRIVE_IP_ADDRESS terminated
EZA1460I Command:
EZA1618I Unknown command: 'MY_COMPUTER_USER_NAME'
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Re: Transfer file from MF to Windows PC on a shared drive

PostPosted: Sat Dec 24, 2011 4:21 am
by Robert Sample
Some of my research indicates you may need to change your FTP.DATA parameters to include
SECUREIMPLICITZOS FALSE

Re: Transfer file from MF to Windows PC on a shared drive

PostPosted: Sat Dec 24, 2011 12:11 pm
by NicC
why that strange dcb info on a sysout dataset? lrecl=0??. Just remove the dcb info and you might get some meaningful messages.

Re: Transfer file from MF to Windows PC on a shared drive

PostPosted: Sat Dec 24, 2011 8:12 pm
by BillyBoyo
The username/password should be the one given to you to access the server on the PC system. It will depend on your site policy whether this will be forced to be the same, forced to be different or whether it doesn't matter either way.

We don't know the answer for your site.

You are getting "connection refused" before you get as far as your username, so don't worry about username yet.

At the risk of repeating myself - talk to your support.