HI
I am running a before job subroutine perl script to FTP and get file from mainframe . I have also put an entry of the user id and password in the .netrc file so that the when the FTP to mainframe is done it doesn't ask for user id/password .
I ran and tested the script manually by running the script but when the script is ran as a before job subroutine from DS job it is failing and giving this issue
*** Output from command was: ***
ftp: ioctl I_PUSH ttcompat: No such device or address
ftp: ioctl(TIOCGETP): No such device or address
Has anyone face this issue
FTP Issue
Moderators: chulett, rschirm, roy
Could it be that the parameters aren't being passed the way you expect when you call the script from DS instead of running it manually? Try hardcoding everything so that the script doesn't use parameters, or perhaps you could echo your parameters in the script to see if that is where your problem lies.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
problem solved..
.netrc is defined in my home directory and when the ftp runs the unix settins sets the home as / and not home directory so it goes and check for the .netrc file at / instead of checking at home directory . Hence it is not able to pick up userid/password of mainframe server from the .netrc file
.netrc is defined in my home directory and when the ftp runs the unix settins sets the home as / and not home directory so it goes and check for the .netrc file at / instead of checking at home directory . Hence it is not able to pick up userid/password of mainframe server from the .netrc file