What is $ars_errstr after calling ars_Login?

 

Thanks,

Mark Vaughan

303.471.9987 (home)

303.601.4434 (mobile)

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Pack
Sent: Sunday, May 04, 2008 1:46 AM
To: arsperl-users@arsperl.org
Subject: [Arsperl-users] Simple Query

 

I'm trying to run a simple query but I get this error every time:

"ctrl is not of type ARControlStructPtr"

 

Here is the script:

 

use ARS;

 

my $prodServer = "www";
my $arUser = "xxx";
my $arPassword = "yyy"
my $form = "zzz";
 

my $c = ars_Login($prodServer, $arUser, $arPassword, undef, undef, 20006,
undef);

my $qualString = q { 'Status' = "PENDING" AND 'Assign Group' = "SOC" } ;

my $qual = ars_LoadQualifier($c, $form, $qualString);

my @entry = ars_GetListEntry($c, $form, $qual, 0, 0);

 

Does anyone know what I'm doing wrong?

Thanks in advance,

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to