I believe "userid" in your example should be "login."

Regards,

Kevin

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Ruegsegger, Jeff
Sent: Thursday, November 08, 2012 4:15 PM
To: [email protected]
Subject: .netrc on zLinux - FTP to zos

We want to automate some ftp's on our zlunix machine to our zos host.
I created .netrc like this
machine mymachine.comp.com userid myzosracfid password myzosracfidpw macdef 
ftptest
            put zlunix.filename 'zos.dataset'
            quite

It is my understanding on zlinux .netrc I merely say ftp mymachine.comp.com and 
it should connect and login with the userid and password in the .netrc file 
then prompt for the macro (macdef) to run.  However what I get is a prompt from 
the zOS FTP client to login, and it indicates a default userid if my zLinux id.
  
What have I missed with the .netrc setup?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to