REP-0159: Syntax error on command line.
402549Nov 6 2003 — edited Nov 13 2003Hi,
I am using Oracle 9i DS (patch 9.0.2.3) on Solaris. I am passing options to the rwclient.sh file in the format name=value for the RDF file I have specified to it
Sample is :-
rwclient.sh userid=AMATHUR/amathur@pmmedimix report=/proj/pmmon2/amathur/pmrun1.7.12.0/iPolicy_USM/rep_server/in/url_action.rdf desname=/proj/pmmon2/amathur/pmrun1.7.12.0/iPolicy_USM/rep_out/3_4_06_Nov_03__09_50_35.pdf pm_dll_path=/proj/pmmon2/amathur/pmrun1.7.12.0/iPolicy_USM/rep_server/bin/ PM_DLL_FILE=librptdecrypt.so errfile=/proj/pmmon2/amathur/pmrun1.7.12.0/iPolicy_USM/rep_server/log/3_4_06_Nov_03__09_50_35.pdf.log/ server=172.16.15.35_ipolicyserver ID=1 paramform=no destype=file BATCH=yes key=abcdabcd9012345678901234567890123456789 globalkey=CatalogEncryptionKey pKey=ipolicy189012345678901234567890123456789 pCustomerName=",();|&$" printjob=no mode=BITMAP ONFAILURE=NOACTION ONSUCCESS=NOACTION READONLY=NO desformat=PDF fromdate=05-11-2003-09:50:35 todate=06-11-2003-09:50:35 gentime=06-11-2003-09:50:35 pCustomerId=4 selectedPA="(3)" grpValue=1 tblgrpType=1 REPSTATUS=1
Now if any of the arguments contain spaces I pass them in the following format name="value".
Sample is :-
key="abcd abcd9012345678901234567890123456789"
I have read the Solaris man pages and it says that to pass space in the arguments it should be encoded in double quotes. I am doing this.
But then I am getting the following error:-
REP-0159: Syntax error on command line.
If there are no spaces in the command line then the reports are executing fine.
Please help me to find a way out of this.
Thanx,
Anurag