1. May be you forget -a protNo, or you need to set environment variables such as ARHOME=? REMEDY_DIR=? AR_CONF=? AR_SERVER_ID=? ARMON_DIR=? ARTCPPORT=? PATH=?
2. For .arr once define in the macro then the file should be in the same directory, -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Rod Harris Sent: Tuesday, March 08, 2011 2:46 PM To: [email protected] Subject: Re: Weekly report using Runmacro Hi Howard, The -o option for runmacro is a special mode of operation that is used to dump the data from one or more forms quickly. It ignores the query in the macro in favour of one passed via the -q or -Q options, depending on the format of the query. There is another paramtere for passing the formname also so the macro is completely redundent with -o. I guess this has probably arrived a little too late for you. Rod On 24 September 2010 08:57, Howard <[email protected]> wrote: > I am trying to generate a weekly report in a CSV format and want to use > the server runmacro utility to accomplish this. When I try to run the > following in the command line: > > > /u01/app/bmc/v55/bin/runmacro -d /u01/app/bmc/ -o /u01/app/bmc/macro -x > testserver -e testmacro -U user -P password -f formName -t csv > > > I do get a CSV file as the output, however, the file contains all the > records from the "formName" and it doesn't take the qualification in > my "testmacro" into consideration. Does anybody know why? > > > Also, how would I apply the ".arr" style to the command or does it just > know because the file is located in the same directory as the macro? > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

