RE: [Arsperl-users] arsperl to replace out-dated aruser binary
Brought to you by:
jeffmurphy
|
From: <jar...@te...> - 2005-07-29 20:07:12
|
The CreateEntry should then be like this, you probably then see how to =
fill all fields...
$entry_id =3D ars_CreateEntry($ctrl,$form,7,0, 536870916, 1, 536870928, =
"Incorrect SQL Statement",...,...,...) || warn $ars_errstr ;
--
Jarl
-----Original Message-----
From: ars...@ar... =
[mailto:ars...@ar...]On Behalf Of =
And...@Pe...
Sent: 29. juli 2005 20:25
To: ars...@ar...
Subject: RE: [Arsperl-users] arsperl to replace out-dated aruser binary
Here is the command line of a call from our tivoli server to the =
aruser binary ( it was from the 3.2.1 release of Remedy ), some of the =
command line=20
was edited to shorten the information.=20
/home/root/aruser -d /home/root/arHome/arcmds -e ticket -p at=3Dtivoli =
-p cd=3DIncorrect SQL Statement -p ag=3DHelp Desk -p v=3D311122416925 -p =
ct=3DUnknown -p USER=3Dtivoli -p SN=3DRemote Site -p =
ec=3DSQL_Error_Event=20
Here is the contents of the macro file, ticket -=20
ticket=20
Set-user: submit_user=20
Set-password: submit=20
Set-schema: Help Desk^Aarsserver=20
Submit: Help =
Desk^Aarsserver|2=3Dtivoli^A7=3D0^A536870916=3D1^A536870928=3D$cd$^A53687=
0929=3DThis is the original call description =
$cd$^A536870930=3DTivoli^A536870931=3D$ag$^A536870933=3D1^A536870937=20
=3D9095^A536870947=3D52^A536870968=3DMis^A536870970=3DTivoli^A536870971=3D=
Tivoli^A536870977=3D215^A536870976=3D227^A536870975=3D$v$^A8=3D$ec$^A=20
end=20
Thanks Jarl...I'll give that a try=20
Please respond to ars...@ar...=20
Sent by: ars...@ar...=20
To: <ars...@ar...>=20
cc: =20
Fax to: =20
Subject: RE: [Arsperl-users] arsperl to replace out-dated aruser =
binary=20
Could you post the commandline you ars using with the aruser binary?
Something like this can be a "starter".
--- start ----
#!/local/perl/5.8.3/bin/perl -w
use strict;
use ARS;
my $server =3D'';
my $user =3D '';
my $password =3D '';
my $form =3D '';
my $entry_id =3D '';
my $crrl =3D '';
$ctrl =3D ars_Login($server, $user, $password) || die $ars_errstr;
$entry_id =3D ars_CreateEntry($ctrl,$form,<id>,"value", <id>, "value") =
|| warn $ars_errstr ;
ars_Logoff($ctrl);
--- end ----
--
Jarl
-----Original Message-----
From: ars...@ar... =
[mailto:ars...@ar...]On Behalf Of =
And...@Pe...
Sent: 29. juli 2005 19:55
To: ars...@ar...
Subject: [Arsperl-users] arsperl to replace out-dated aruser binary
A process was put in place a few years ago where the Tivoli =
server would call=20
the aruser binary to create tickets into our Remedy server.=20
All was well and good...until we upgraded the Remedy Server to =
6.3=20
I think I've seen other people that have done similair things =
with using arsperl=20
from Tivoli to generate tickets into Remedy.=20
Can anyone offer any help/suggestions on how to write the =
necessary perl script=20
as quickly as possible.=20
I've been thrown into the deep end to get this working. The =
problem is that I=20
don't know squat about remedy or the API.=20
Any help/suggestions would be greatly appreciated.=20
Thanks=20
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|