Hi Guys, 
  
  I tried to use the create_demo_db.cmd (comes with SAPDB Server for
windows, as for linix I think its create_demo_db.sh) for creating the
database and it works fine as long the DATA variable (defined in the
file)doesn't have any spaces. In the demo files, they are using set DATA =
C:\Data

Now I need to use the spaces in the path, e.g. "C:\Program Files\abc def"
etc. so I set DATA variable:

set DATA="C:\Program Files\abc def"

   but it does not seem to work with it and gives me errors 
"-24945,ERR_TOOFEWPARAM: too few parameters" 

and the param.tmp file contains 

param_rmfile 
param_startsession 
param_init OLTP 
param_put LOG_MODE SINGLE 
param_put CAT_CACHE_SUPPLY 300 
param_put DATA_CACHE 2500 
param_put MAXDATADEVSPACES 5 
param_put MAXDATAPAGES 1024000 
param_put RESTART_SHUTDOWN AUTO 
param_checkall 
param_commitsession 
param_adddevspace 1 SYS  "C:\Program Files\abc def"\testDB\DISKS01 F 
param_adddevspace 1 DATA "C:\Program Files\abc def"\testDB\DISKD0001 F 2560 
param_adddevspace 1 LOG  "C:\Program Files\abc
def"\testDB\MEPDiscovery\DISKL001 F 1024 

Notice the quotes appearing in the param_adddevspace. I have to use the
quotes otherwise it wouldn't even create the directories for me. 

Could you tell me how to solve this issue ? 

Thanks in Advance
Vivek Chopra
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to