Topic Options
Rate This Topic
#20518 - 12/22/99 10:09 AM Runmacro and the ar.ini file
tlazar Offline
Stealth Member

Registered: 06/12/01
Posts: 34

I have a macro that I want to put on an escalation that exports data to an
.arx file and then deletes the records.

If I record the login in the macro and embed the setuser in the macro,
things will run just fine when I test the runmacro on a filter.

But, I really want to control the administrator login in a single file so I
want to use an ar.ini on the server and use the -h runmacro option to locate
this file. That way if I ever change the administrator's login name or
password, I only have to change this one file and not have to re-record all
of my macros. The thing is, this isn't working for me at all.

If I run the process from the server command line, it tells me "A user name
must be supplied in the control record ARERR 149"

my process command looks like this:
d:\remedy\runmacro -d d:\remedy\arhome -e ExportDelete -h d:\remedy\arhome

I have both the macro and the ar.ini file in the d:\remedy\arhome directory.
The last 'strange' thing is that the encrypted password in the ar.ini file
looks different than the password placed into the macro when I recorded the
login inside the macro??

Todd Lazar
Remedy Administrator
GTE Enterprise Solutions
Phone: 813-483-8182
Mobile: 813-230-1364


To Unsubscribe send e-mail to:
body of text is: unsubscribe arslist


Top
#20519 - 12/22/99 10:39 AM Re: Runmacro and the ar.ini file [Re: fcavallo]
larry_salisbury Offline
Stealth Member

Registered: 06/12/01
Posts: 258
The user control record data that it is looking for is not in the ini file
but in the config file in the arHome directory on the server.
If you check the file you'll probably find it doesn't contain a User and
password entry.
To set that we do the following:
On the server issue a set environment variable ARHOME=path>/ar/arHome; export ARHOME
Then login to the user tool on the server, change preferences to not prompt
for login, click OK and exit.
This should add that user and password entries into the config file and
solve that problem.

Larry Salisbury
Remedy Administrator
> Acxiom/Woodland Hills Data Center, Inc., formerly Litton Enterprise
> Solutions, Inc.
e-mail salisburyl@littonles.com
voice: 818-715-5679
fax: 818-715-5218

Subject to the Year 2000 Information and Readiness Disclosure Act (Public
Law 105-271)




> -----Original Message-----
> From: Todd Lazar [SMTP:tlazar@GTE-ES.COM]
> Sent: Wednesday, December 22, 1999 08:10
> To: ARSLIST@LISTSERV.VISTAIT.COM
> Subject: Runmacro and the ar.ini file
>
> OK, this one has me confused.
>
> I have a macro that I want to put on an escalation that exports data to an
> .arx file and then deletes the records.
>
> If I record the login in the macro and embed the setuser in the macro,
> things will run just fine when I test the runmacro on a filter.
>
> But, I really want to control the administrator login in a single file so
> I
> want to use an ar.ini on the server and use the -h runmacro option to
> locate
> this file. That way if I ever change the administrator's login name or
> password, I only have to change this one file and not have to re-record
> all
> of my macros. The thing is, this isn't working for me at all.
>
> If I run the process from the server command line, it tells me "A user
> name
> must be supplied in the control record ARERR 149"
>
> my process command looks like this:
> d:\remedy\runmacro -d d:\remedy\arhome -e ExportDelete -h d:\remedy\arhome
>
> I have both the macro and the ar.ini file in the d:\remedy\arhome
> directory.
> The last 'strange' thing is that the encrypted password in the ar.ini file
> looks different than the password placed into the macro when I recorded
> the
> login inside the macro??
>
> Todd Lazar
> Remedy Administrator
> GTE Enterprise Solutions
> Phone: 813-483-8182
> Mobile: 813-230-1364
>
>
> To Unsubscribe send e-mail to:
> body of text is: unsubscribe arslist


To Unsubscribe send e-mail to:
body of text is: unsubscribe arslist


Top
#20520 - 12/22/99 11:32 AM Re: Runmacro and the ar.ini file [Re: fcavallo]
tlazar Offline
Stealth Member

Registered: 06/12/01
Posts: 34

Todd Lazar
Remedy Administrator
GTE Enterprise Solutions
Phone: 813-483-8182
Mobile: 813-230-1364


-----Original Message-----
From: Salisbury, Larry [mailto:Larry_Salisbury@LESWHEX01.LITTONLCS.COM]
Sent: Wednesday, December 22, 1999 11:40 AM
To: ARSLIST@LISTSERV.VISTAIT.COM
Subject: Re: Runmacro and the ar.ini file


Todd,
The user control record data that it is looking for is not in the ini file
but in the config file in the arHome directory on the server.
If you check the file you'll probably find it doesn't contain a User and
password entry.
To set that we do the following:
On the server issue a set environment variable ARHOME=path>/ar/arHome; export ARHOME
Then login to the user tool on the server, change preferences to not prompt
for login, click OK and exit.
This should add that user and password entries into the config file and
solve that problem.

Larry Salisbury
Remedy Administrator
> Acxiom/Woodland Hills Data Center, Inc., formerly Litton Enterprise
> Solutions, Inc.
e-mail salisburyl@littonles.com
voice: 818-715-5679
fax: 818-715-5218

Subject to the Year 2000 Information and Readiness Disclosure Act (Public
Law 105-271)




> -----Original Message-----
> From: Todd Lazar [SMTP:tlazar@GTE-ES.COM]
> Sent: Wednesday, December 22, 1999 08:10
> To: ARSLIST@LISTSERV.VISTAIT.COM
> Subject: Runmacro and the ar.ini file
>
> OK, this one has me confused.
>
> I have a macro that I want to put on an escalation that exports data to an
> .arx file and then deletes the records.
>
> If I record the login in the macro and embed the setuser in the macro,
> things will run just fine when I test the runmacro on a filter.
>
> But, I really want to control the administrator login in a single file so
> I
> want to use an ar.ini on the server and use the -h runmacro option to
> locate
> this file. That way if I ever change the administrator's login name or
> password, I only have to change this one file and not have to re-record
> all
> of my macros. The thing is, this isn't working for me at all.
>
> If I run the process from the server command line, it tells me "A user
> name
> must be supplied in the control record ARERR 149"
>
> my process command looks like this:
> d:\remedy\runmacro -d d:\remedy\arhome -e ExportDelete -h d:\remedy\arhome
>
> I have both the macro and the ar.ini file in the d:\remedy\arhome
> directory.
> The last 'strange' thing is that the encrypted password in the ar.ini file
> looks different than the password placed into the macro when I recorded
> the
> login inside the macro??
>
> Todd Lazar
> Remedy Administrator
> GTE Enterprise Solutions
> Phone: 813-483-8182
> Mobile: 813-230-1364
>
>
> To Unsubscribe send e-mail to:
> body of text is: unsubscribe arslist


To Unsubscribe send e-mail to:
body of text is: unsubscribe arslist


To Unsubscribe send e-mail to:
body of text is: unsubscribe arslist


Top


Moderator:  Matt Reinfeldt