Hi All
I am using the STRPCCMD command to run bat file(which has FTP commands) in my local drive thru a CL. The problem is iam not able to send multiple parameters to the file. I am able to send just 1 parameter to it.
The command i am using is
STRPCCMD PCCMD('C:\USERACCESS\USER_UPLOAD.BAT sysname userid password') PAUSE(*YES)
The user upload bat is smthin like this
ftp -s:User_Upload_Src.txt %1 %2 %3
bye
and the user_upload_src is smthin like this
Open %1
%2
%3
cd lib1
Get qrpglesrc.file1
bye
now if i just have the sysname as parameter and user id and password hard coded its working but if i have all 3 parameters its not working.
Could neone help me on this..
TIA
Thanks and Regards,
KR
I am using the STRPCCMD command to run bat file(which has FTP commands) in my local drive thru a CL. The problem is iam not able to send multiple parameters to the file. I am able to send just 1 parameter to it.
The command i am using is
STRPCCMD PCCMD('C:\USERACCESS\USER_UPLOAD.BAT sysname userid password') PAUSE(*YES)
The user upload bat is smthin like this
ftp -s:User_Upload_Src.txt %1 %2 %3
bye
and the user_upload_src is smthin like this
Open %1
%2
%3
cd lib1
Get qrpglesrc.file1
bye
now if i just have the sysname as parameter and user id and password hard coded its working but if i have all 3 parameters its not working.
Could neone help me on this..
TIA
Thanks and Regards,
KR