Hi,

"...$NULL$..." will be expanded by the shell to "...$...", which explains that
problem.

Try "...\$NULL\$..." instead.

Then you can set environment ARAPILOGGING=1 and check the resulting arapicmd*
and arapires* files to see how far the tool gets when you try to run the Macro
you were talking about earlier.

        Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13):
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
Find these products, and many free tools and utilities, at http://rrr.se.

> Misi,
>
> I have used ftp as well as scp. But still no results.
>
> Also, the below format throws the error as Unknown reference fields when the
> parser intercepts the $ symbol.
>
> runmacro -x <servername> -U <username> -P <password> -o "/App1/report.csv" -f
> "HPD:Help Desk" -t csv -q  " ('UAN GO Number' != $NULL$ OR 'VAS exists flag'
> != $NULL$) AND 'Status*' < 4"
>
> Accessing server - <servername>...
>
> Processing form - HPD:Help Desk ...
> Unknown field reference -  position 47   (...ists flag' != $^) AND
> 'Status*'...) [ARERR 2297]
>
> Server - <servername> access complete with total matches of 0 record(s).
>
> Thanks,
> Govind M
> +91 8123458366
> Atheeb Remedy Team
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[email protected]] On Behalf Of Misi Mladoniczky
> Sent: Tuesday, November 26, 2013 9:18 PM
> To: [email protected]
> Subject: Re: Runmacro fails
>
> Hi,
>
> Copy/paste seems to be a bad idea, as there are some special control
> characters in the file.
>
> I suggest you use ftp or scp instead, and see if that helps.
>
>         Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)
>
> Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13):
> * RRR|License - Not enough Remedy licenses? Save money by optimizing.
> * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs.
> Find these products, and many free tools and utilities, at http://rrr.se.
>
>> Hi listers,
>>
>> I was trying to execute the below command in Putty.
>>
>> ./runmacro -d "<path of macrofile>" -x <servername> -U <username> -P
>> <password> -e reportsavedname
>>
>> It gives the below statement and exist. As a prequisite, I have
>> updated the path of macrofile and runmacro binary in LD_LIBRARY_PATH.
>> Also added
>> LoadSchemaFromCache: F in conf. But no result.
>>
>> Action Request System  Unix Runmacro Version 7.1.00 Copyright (c) BMC
>> Software, Inc. 1991-2007. All rights reserved.
>>
>> Executing macro - UANVASReport. Please wait...
>> Segmentation Fault (core dumped)
>>
>> But I still have a doubt on the format of *.arq file which was
>> recorded in windows client and copy pasted into unix directory with
>> permissions.  I just changed the "to file:" path adjusting to Unix format.
>>
>> Is there something I am missing to do.? Appreciate any suggestion.
>>
>> Solaris 10, ARS 7.1 Patch 8
>>
>> Thanks,
>> Govind
>>
>> Please do not print this email unless it is absolutely necessary.
>>
>> The information contained in this electronic message and any
>> attachments to this message are intended for the exclusive use of the
>> addressee(s) and may contain proprietary, confidential or privileged
>> information. If you are not the intended recipient, you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately and destroy all copies of this message and any attachments.
>>
>> WARNING: Computer viruses can be transmitted via email. The recipient
>> should check this email and any attachments for the presence of
>> viruses. The company accepts no liability for any damage caused by any
>> virus transmitted by this email.
>>
>> www.wipro.com
>>
>> ______________________________________________________________________
>> _________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
>> "Where the Answers Are, and have been for 20 years"
>>
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers
> Are, and have been for 20 years"
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should
> check this email and any attachments for the presence of viruses. The company
> accepts no liability for any damage caused by any virus transmitted by this
> email.
>
> www.wipro.com
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> "Where the Answers Are, and have been for 20 years"
>

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

Reply via email to