Hi,

I'm trying to generate a backup arx file using arexport.bat (~arsystem\artools), and I'm having problems with my -q switch:

/arexport.bat -u "RICK PHILLIPS" -x <myserver> -t <myport> -p "<my pw>" -form "BMC.CORE:BMC_ComputerSystem" -datafile "D:\ARX\data.arx" -q "'400129100' = 1 AND '400127400' = \"BMC.ASSET\"" -L "D:\ARX\Logs"/

(where 400129100 is markasdeleted and 400127400 is dataset id).

Here's what the log shows:

/[Fri Jul 25 08:29:32.900] INFO artools - The data will be extracted in ARX file format.// //[Fri Jul 25 08:29:32.902] INFO artools - Processing started for form BMC.CORE:BMC_ComputerSystem//
//[Fri Jul 25 08:29:32.916] ERROR artools  - Fail to execute command - //
//com.bmc.arsys.artools.ARToolsException: com.bmc.arsys.artools.ARToolsException: Unable to form qualification using qual string - '400129100' = 1 AND '400127400' = \ on form BMC.CORE:BMC_ComputerSystem//
//    at com.bmc.arsys.artools.arexport.ARExport.execute(Unknown Source)//
//    at com.bmc.arsys.artools.arexport.ARExport.main(Unknown Source)//
//Caused by: com.bmc.arsys.artools.ARToolsException: Unable to form qualification using qual string - '400129100' = 1 AND '400127400' = \ on form BMC.CORE:BMC_ComputerSystem// // at com.bmc.arsys.artools.arexport.DataCollector.formQualification(Unknown Source)// // at com.bmc.arsys.artools.arexport.DataCollector.<init>(Unknown Source)// // at com.bmc.arsys.artools.arexport.ARExport.performOperation(Unknown Source)//
//    ... 2 more//
//Caused by: ERROR (4558): Qualification line error; //
//ERROR (2297): Unknown field reference;  position 35 (...'400127400' = \^)/

I've tried:
/AND '400127400' = \"BMC.ASSET\""
//AND '400127400' = ""BMC.ASSET"""/
/AND '400127400' = ^"BMC.ASSET^""/

If I remove the datasetid argument, it works fine.

While I continue searching through google, does anyone now how to do this off the top of their heads?

Thanks,

Rick



_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to