Hello All,

I am trying to upload a file usig lftp from my linux machine to mainframe server. I have written the fillowing in the "cmdfile". file which will be called from the script

set cache: enable no
set ftp: passive-mode off
set ftp: port-ipv4 1.2.3.4
echo "debug 3"
debug 3
open -u username,password servername
put ZA1P.FTP.BSTWAPPS.INTRFACE.GRP(+1) 'ZA1P.FTP.BSTWAPPS.INTRFACE.GRP(+1)'

And i am calling the cmdfile in my script called auto_upload.ksh and the script contains the following.

lftp -e "source /home/nbke6aa/cmdfile" 2>&1 | tee -a /home/nbke6aa/log_mainframe.log

Now after i connect to the server i am not able to place the file ZA1P.FTP.BSTWAPPS.INTRFACE.GRP(+1).

I checked with mainframe admin that the data set exists there and the file name also satisfied all the rules over mainframe.I am getting "Access failed: 501 Invalid data set name 'error.


---- Connecting to prod1s03.bankofamerica.com (171.186.131.13) port 21
<--- 220-FTPD1 IBM FTP CS V1R8 at PROD1S03.bankofamerica.com, 13:04:55 on 2008-07-03.
<--- 220 Connection will close if idle for more than 15 minutes.
<--- 230 XZA1196 is logged on. Working directory is "XZA1196.".
200 SITE command was accepted
put: Access failed: 501 Invalid data set name "ZA1P.FTP.BSTWAPPS.INTRFACE.GRP(+1)". Use MVS Dsname conventions.
put: Access failed: 501 Invalid data set name "ZA1P.FTP.BSTWAPPS.INTRFACE.GRP(+1)". Use MVS Dsname conventions.


I need help to resolve this and any body's help is highly appreciated.

Thanks,

Prasad.