Some more information on the same issue, if I try to pause the execution
mid-way and then edit my param.tmp file

PRESENT FILE: 

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 

EDITED FILE: I have removed all the quotes from there

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 

I get a different error, -24946,ERR_TOOMANYPARAM: too many parameters

Then, I tried to edit in following manner:

PRESENT FILE: 

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 

EDITED FILE: I have removed all the quotes from there

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 
 
I got a different error, -24959,ERR_XPOVERFLOW: value out of margin.

Hope to get a response soon. 
Thanks
Vivek Chopra


-----Original Message-----
From: CHOPRA,VIVEK (HP-Singapore,ex5) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 19, 2002 6:15 PM
To: [EMAIL PROTECTED]
Subject: Create Demo Databases


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
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to