RE: [Arsperl-users] Error running the ars_GetListEntry.pl example
Brought to you by:
jeffmurphy
|
From: Colin L. <c....@ul...> - 2006-01-05 16:06:41
|
Ignore all of this - problem sorted out. I checked the test routines
from the install and note that they include the firstRetrieve value
when used within the test. I included that in my code (despite the=20
examples indicating it is not needed as defaults to 0 and also not
part of the sample code) and it all works fine now.
Hopefully this may also help the original post.
Colin
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...]On Behalf Of Colin Love
> Sent: 05 January 2006 15:52
> To: ars...@ar...
> Subject: RE: [Arsperl-users] Error running the ars_GetListEntry.pl
> example
>=20
>=20
> Hello,
> Has there been any update on this problem. I am running a=20
> script under Solaris 9
> with ARSperl 1.84 and getting the same error. I have tried=20
> moving the 1.85 but the
> problem persists. This is working against a v6.3 ARS setup=20
> with Perl 5.8.5.
>=20
> The script extract for info is....
>=20
> ( $ctrlRecord =3D ars_Login($server, $user, $password)) ||=20
> ARS_failed($ars_errstr);
>=20
> ( %entryIdList =3D ars_GetFieldTable($ctrlRecord, $messageForm)) ||
> ARS_failed("Unable to open form=20
> $messageForm\n $ars_errstr");
>=20
> ( $qualString =3D ars_LoadQualifier($ctrlRecord, $messageForm,
> "'Message Name' =3D \"$msgName\"")) ||
> ARS_failed("Unable to build=20
> qualification\n $ars_errstr");
>=20
> ( @entryList =3D ars_GetListEntry($ctrlRecord, $messageForm,=20
> $qualString, 1)) ||
> ARS_failed("Unable to retrieve=20
> $msgName\n $ars_errstr");
>=20
>=20
> Any assistance greatly appreciated.=20
>=20
> Thanks,
>=20
> Colin Love =20
>=20
> --------------------------------------------------------------
> --------------------------
> Colin Love - C....@ul...
> Remedy Support Administrator
> University of London Computer Centre
>=20
>=20
>=20
>=20
> > -----Original Message-----
> > From: ars...@ar...
> > [mailto:ars...@ar...]On Behalf Of Matt.Reinfeldt
> > Sent: 10 November 2005 16:31
> > To: ars...@ar...
> > Subject: RE: [Arsperl-users] Error running the ars_GetListEntry.pl
> > example
> >=20
> >=20
> > John,
> >=20
> > Could you please include your script? That would help out!
> >=20
> > Matt Reinfeldt
> > Senior Production Support Specialist
> > Entuition Inc.
> > Email: mat...@en...
> > =20
> > -----Original Message-----
> > From: ars...@ar...
> > [mailto:ars...@ar...] On Behalf Of John Brown
> > Sent: Thursday, November 10, 2005 10:27 AM
> > To: Ars...@ar...
> > Subject: [Arsperl-users] Error running the=20
> ars_GetListEntry.pl example
> >=20
> > I'm trying to use ARS Perl to extract data from a remedy form. I am
> > having trouble getting ARS
> > Perl 1.84 to perform the GetsListFields function. When I try=20
> > to run the
> > ARSPerl example code
> > provided, I get the following error. No modifications have=20
> > been made to
> > the code.
> >=20
> > I am executing the code on a Windows XP Professional=20
> workstation with
> > Perl 1.8.5 installed, Remedy
> > Client 6.3, and ARSPerl 1.84. =20
> >=20
> > PLEASE NOTE: ARSPerl 1.85 WILL NOT COMPILE IN THIS ENVIRONMENT.
> >=20
> > Error recieved:
> > Testing: basic format.
> > ars_GetListEntry: [ERROR] GetListFields must be an ARRAY reference
> > (ARERR #80005) at
> > E:\Data\T-Mobile\Perl\ars_GetListEntry.pl line 54.
> > at E:\Data\T-Mobile\Perl\ars_GetListEntry.pl line 54
> >=20
> >=20
> >=20
> >=20
> > =09
> > __________________________________=20
> > Yahoo! FareChase: Search multiple travel sites in one click.
> > http://farechase.yahoo.com
> >=20
> >=20
> >=20
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server.
> > Download
> > it for free - -and be entered to win a 42" plasma tv or=20
> your very own
> > Sony(tm)PSP. Click here to play:=20
http://sourceforge.net/geronimo.php
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App=20
> Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>=20
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log =
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3Dick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|