Hello All, I am trying to ftp a file to a remote location using filename FTP method. the below is the code snippet i am using DATA FTPDATA; INFILE INPUTFL; INPUT @001 FULLREC $255.; FILENAME CREATE FTP "&FTP_FILE_NAME" CD=&PATH HOST=&HOST USER="&USERID" PASS="&PWD" RECFM=V DEBUG LRECL=&RECLTH; RUN; DATA _NULL_; SET FTPDATA; FILE CREATE; PUT @001 FULLREC $255.; RUN; I am able to use this program to ftp the file to the same location in my test ZOS region. SAS 9.2 runs here. NOTE: 220 jdshare FTP server (NetApp Release 7.3.5.1P3: Tue Apr 26 21:51:53 PDT NOTE: <<< 220 jdshare FTP server (NetApp Release 7.3.5.1P3: Tue Apr 26 21:51:53 NOTE: >>> USER ADYPSTT NOTE: <<< 331 Password required for ADYPSTT. NOTE: >>> PASS XXXXXXXX NOTE: <<< 230 User ADYPSTT logged in. NOTE: >>> PORT 192,43,81,1,213,16 NOTE: <<< 200 PORT command successful. NOTE: >>> TYPE A NOTE: <<< 200 Type set to A. NOTE: >>> CWD /vol/vol7/DY028PR_STOCKHOLM NOTE: <<< 250 CWD command successful. NOTE: >>> PWD NOTE: <<< 257 "/vol/vol7/DY028PR_STOCKHOLM" is current directory. NOTE: >>> STOR GB.UPDATE-2011-08-13 NOTE: <<< 150 ASCII data connection for GB.UPDATE-2011-08-13 (192.43.81.1|54544) But i am getting error if i run this program in production region which runs SAS 9.1.3 service pack 4. 48 DATA _NULL_; 49 SET FTPDATA; 50 FILE CREATE; 51 PUT @001 FULLREC $255.; 52 RUN; ERROR: Open failed for file CREATE ERROR: Open failed for file CREATE ERROR: Open failed for file CREATE ERROR: Hostname jdshare.jdnet.xxxx.com not found. ERROR: Hostname jdshare.jdnet.xxxx.com not found. ERROR: Hostname jdshare.jdnet.xxxx.com not found. NOTE: The SAS System stopped processing this step because of errors. NOTE: The DATA statement used 0.04 CPU seconds and 15960K. Can anybody help me with this ??
... View more