Hi Misi,

You are right...!

The problem is with macro file format of opening the .arq file. In windows, 
.arq file content would be readable only when we open it in notepad, word pad 
etc...

In such cases, if unknowingly, we checked the option "Always open using the 
selected program" then it will start open all .arq files in notepad window.

Once removing that file type assosiation with the selected program and FTP it 
to unix box, works as expected ;-)

Small thing.. taken a while figure it out.

My next challenge would be how to encrypt the password / to find is there any 
way to avoid giving direct password in command... 

Thanks,
Govind


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Misi Mladoniczky
Sent: Friday, December 06, 2013 2:01 PM
To: arslist@ARSLIST.ORG
Subject: Re: Runmacro fails

Hi,

The error might not be related to the ARExport-call at all, but that is the
last API call that is done.

The ARValidateFormCache that is called will compare the date to the FORM and
all related ACTL:s, ACTL-GUIDE:s and MENU:s. If any of these has been updated,
a new version needs to be retrieved.

If runmacro indeed uses cached files, I would suspect they ar named .arf/.arv
as the old user tool did. Have you tried to find these files? Maybe you can
delete them before you run it again?

The most likely problem to me would seem to be the macro itself. Does other
macros work for you? Have you tried to record any other simple macro against a
small regular form to see if it works?

        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 Misi,
>
> Could you please explain bit elaborate on updating the form definitions. The
> last update on the form .def was happened on June month.
> Today, I have captured few logs and it shown the timestamp as yesterday.
>
> My unix admin has explained me on this error like the funtions starts with
> 00237544 defined in runmacro are not executed because of some memory issue
> (smalloc, malloc)...
>
> Thanks,
> Govind M
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:arslist@ARSLIST.ORG] On Behalf Of Misi Mladoniczky
> Sent: Wednesday, December 04, 2013 2:29 AM
> To: arslist@ARSLIST.ORG
> Subject: Re: Runmacro fails
>
> Hi,
>
> Apparently the tool tries to export the definitions (exp) of HPD:Help Desk,
> and consequently crashes...
>
> The vfc apparently compares your currrent def-version-timestamp to the one of
> the server, and finds it necessary to get the definjition again. You have
> probably updated the form since it was retrieved the last time some 7 days
> ago...
>
>         Best Regards - Misi, RRR AB, http://rrr.se
>
>> Hi,
>>
>> \$NULL\$ worked out and got results. On the otherhand, captured
>> arapires and cmd logs after executing the runmacro with recorded macro
>> files.  I need assistance on troubleshooting these logs, since I
>> didn’t see any Error messages in these logs. Unfortunately, no links
>> found in communities as of now.
>>
>> In cmd_1, after validate form cache, the below entry was logged and
>> Segmentation fault error displayed in putty.
>>
>> # ARValidateFormCache
>> #
>> vfc
>> HPD:Help Desk
>> 1385469149
>> 1385469149
>> 1385469149
>> #
>> # ARExport
>> #
>> exp
>> 1
>> 1
>> 2
>> HPD:Help Desk
>> 0
>> ****** FILE NAME ******
>>
>> Any simple way to understand what went wrong....
>>
>> Regards,
>> Govind M
>>
>> -----Original Message-----
>> From: Action Request System discussion list(ARSList)
>> [mailto:arslist@ARSLIST.ORG] On Behalf Of Misi Mladoniczky
>> Sent: Wednesday, November 27, 2013 6:03 PM
>> To: arslist@ARSLIST.ORG
>> Subject: Re: Runmacro fails
>>
>> 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:arslist@ARSLIST.ORG] On Behalf Of Misi Mladoniczky
>>> Sent: Tuesday, November 26, 2013 9:18 PM
>>> To: arslist@ARSLIST.ORG
>>> 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"
>>
>> 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"

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"

Reply via email to