RE: [Arsperl-users] Error running the ars_GetListEntry.pl example
Brought to you by:
jeffmurphy
|
From: Stapff, T. <thi...@ma...> - 2006-01-05 16:05:33
|
It looks like "ars_GetListEntry.pl" is a bit outdated.
The ars_GetListEntry function now needs a parameter "firstRetrieve" after
"maxRetrieve", so the function call in line 54 should look like this:
ars_GetListEntry($ctrl, $schema, $qual, 0, 0 )
instead of
ars_GetListEntry($ctrl, $schema, $qual, 0 )
Regards,
Thilo Stapff
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...]
Sent: Thursday, January 05, 2006 4:52 PM
To: ars...@ar...
Subject: RE: [Arsperl-users] Error running the ars_GetListEntry.pl example
Hello,
Has there been any update on this problem. I am running a script under
Solaris 9 with ARSperl 1.84 and getting the same error. I have tried moving
the 1.85 but the problem persists. This is working against a v6.3 ARS setup
with Perl 5.8.5.
The script extract for info is....
( $ctrlRecord = ars_Login($server, $user, $password)) ||
ARS_failed($ars_errstr);
( %entryIdList = ars_GetFieldTable($ctrlRecord, $messageForm)) ||
ARS_failed("Unable to open form $messageForm\n
$ars_errstr");
( $qualString = ars_LoadQualifier($ctrlRecord, $messageForm,
"'Message Name' = \"$msgName\"")) ||
ARS_failed("Unable to build qualification\n
$ars_errstr");
( @entryList = ars_GetListEntry($ctrlRecord, $messageForm, $qualString, 1))
||
ARS_failed("Unable to retrieve $msgName\n
$ars_errstr");
Any assistance greatly appreciated.
Thanks,
Colin Love
----------------------------------------------------------------------------
------------
Colin Love - C....@ul...
Remedy Support Administrator
University of London Computer Centre
> -----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
>
>
> John,
>
> Could you please include your script? That would help out!
>
> Matt Reinfeldt
> Senior Production Support Specialist
> Entuition Inc.
> Email: mat...@en...
>
> -----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 ars_GetListEntry.pl example
>
> 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 to run the
> ARSPerl example code
> provided, I get the following error. No modifications have
> been made to
> the code.
>
> I am executing the code on a Windows XP Professional workstation with
> Perl 1.8.5 installed, Remedy Client 6.3, and ARSPerl 1.84.
>
> PLEASE NOTE: ARSPerl 1.85 WILL NOT COMPILE IN THIS ENVIRONMENT.
>
> 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
>
>
>
>
>
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
>
>
>
> -------------------------------------------------------
> 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 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
>
>
>
>
> -------------------------------------------------------
> 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 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
>
-------------------------------------------------------
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_id865&op=ick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|