Jeff, was there supposed to be a link to this?  You can use/modify 
example/DumpUsers.pl ..

(original question for perl script to get current users from Remedy)

Thanks,

janet

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, September 02, 2008 7:04 PM
To: arsperl-users@arsperl.org
Subject: Arsperl-users Digest, Vol 29, Issue 3

Send Arsperl-users mailing list submissions to
        arsperl-users@arsperl.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/arsperl-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Arsperl-users digest..."


Today's Topics:

   1. Re: Perl to get current users (jeff murphy)
   2. ARSPerl-1.74  for Remedy 6.3 on Solaris 10 (Pastori, Chuck)
   3. Re: ARSPerl-1.74  for Remedy 6.3 on Solaris 10 (jeff murphy)
   4. Re: FieldID ? (Paul Wilson)


----------------------------------------------------------------------

Message: 1
Date: Tue, 2 Sep 2008 10:34:36 -0400
From: jeff murphy <[EMAIL PROTECTED]>
Subject: Re: [Arsperl-users] Perl to get current users
To: ARSperl User Discussion <arsperl-users@arsperl.org>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

You can use/modify example/DumpUsers.pl ...



On Sep 2, 2008, at 10:19 AM, Mahan, Janet L [EQ] wrote:

> Has anyone created a perl script to easily get the current users,
> group and license type from Remedy ARS 7x?
>
> Janet
>
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2488 bytes
Desc: not available

------------------------------

Message: 2
Date: Tue, 2 Sep 2008 11:27:44 -0600
From: "Pastori, Chuck" <[EMAIL PROTECTED]>
Subject: [Arsperl-users] ARSPerl-1.74  for Remedy 6.3 on Solaris 10
To: <arsperl-users@arsperl.org>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hello All,

I'm trying to compile ARSPerl 1.74 on a Solaris 10 box, but get the following 
error when I enter the "make" command:

cc -c  -I/usr/local/apps/csdev/ar/api/include  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff 
-DVERSION=\"1.74\"  -DXS_VERSION=\"1.74\" -KPIC 
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"  -DPROFILE -g  -DARS32
-DARS452  -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=4 -DPERL_BASEREV_IS=50 
ARS.c
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `ARS.o'

Any help would be greatly appreciated. Thanks


Chuck Pastori | Software Systems Engineer Great-West Life | Information Systems
8525 East Orchard Road, 5T3
Greenwood Village, CO 80111
direct: (303) 737-3756
mobile: (303) 507-1915

e-mail: [EMAIL PROTECTED]



The information contained in this message and any accompanying attachments may 
contain privileged, private and/or confidential information protected by state 
and federal law.  Penalties may be assessed for unauthorized use and/or 
disclosure.  This message and any attachments are intended for the designated 
recipient only.  If you have received this information in error, please notify 
the sender immediately and return or destroy the information.

This e-mail transmission and any attachments are believed to have been sent 
free of any virus or other defect that might affect any computer system into 
which it is received and opened. It is, however, the recipient's responsibility 
to ensure that the e-mail transmission and any attachments are virus free, and 
the sender accepts no responsibility for any damage that may in any way arise 
from their use.
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Tue, 2 Sep 2008 14:29:59 -0400
From: jeff murphy <[EMAIL PROTECTED]>
Subject: Re: [Arsperl-users] ARSPerl-1.74  for Remedy 6.3 on Solaris
        10
To: ARSperl User Discussion <arsperl-users@arsperl.org>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

I'm pretty sure this means you haven't installed SUN's CC (compiler).


On Sep 2, 2008, at 1:27 PM, Pastori, Chuck wrote:

> language optional software package not installed

-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2488 bytes
Desc: not available

------------------------------

Message: 4
Date: Wed, 3 Sep 2008 10:03:36 +1100
From: Paul Wilson <[EMAIL PROTECTED]>
Subject: Re: [Arsperl-users] FieldID ?
To: ARSperl User Discussion <arsperl-users@arsperl.org>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Thanks for the info,

Could I request Jeff to update the example on that page , also can you include 
a example to retrieve a bunch of fields for display please.

Note I now have the following snippet:
==
%f = ars_GetFieldTable($ctrl, $SCHEMA);


# Retrieve all of the entry-id's for the schema.

( @entries = ars_GetListEntryWithFields(
                     $ctrl, $SCHEMA, $qual, 10,0,
                [
                   $f{'Trouble Ticket #'},
                   $f{'Create date'}
                ],
..
===
which produces:
Use of uninitialized value in subroutine entry at dump_tt.pl line 48.
GLEWF Failed: [ERROR] One of the structures in the list of fields to display in 
the query list is invalid () (ARERR #214) at dump_tt.pl line 48.

I assume this is because I still don't understand the structure enough..

Is this the best way to retrieve alot of fields from a specific form, ie should 
I specific each field or just try and get ALL fields ?
I would like to use which ever is more efficent, unless it doesn't matter.


Thanks

Paul Wilson





Richard Hellier <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED]
02/09/2008 05:13 PM
Please respond to
ARSperl User Discussion <arsperl-users@arsperl.org>


To
ARSperl User Discussion <arsperl-users@arsperl.org> cc

Subject
Re: [Arsperl-users] FieldID ?






Paul,

Several points:

1) Looks like there is a typo on the page:

http://www.arsperl.org/manual/ars_GetListEntryWithFields.html

in that:

FieldID("foo")

should be:

FieldID{"foo"} etc.

And you need to make the same change in your code.

2) Where does FieldID come from, as you ask?  First you must call 
ars_GetFieldTable(), e.g.


my %FieldID = ars_GetFieldTable($ctrl, $SCHEMA);

FieldID is then a hash whose keys are the names of the fields and the values 
are the corresponding numeric ids (See
http://www.arsperl.org/manual/ars_GetFieldTable.html)

3) Have you missed one of the arguments to ars_GetListEntryWithFields()?
After the first three arguments ($ctrl, $SCHEMA, $qual in your example), you'd 
normally have two integer arguments (maxRetrieve, firstRetrieve).

Cheers,

Richard.





To: arsperl-users@arsperl.org
From: [EMAIL PROTECTED]
Date: Tue, 2 Sep 2008 15:55:45 +1100
Subject: [Arsperl-users] FieldID ?


I'm triying to find the best API to retireve fields from a couple of Forms


I've copied the example for (ars_GetListEntryWithFields)  :
http://www.arsperl.org/manual/ars_GetListEntryWithFields.html

but its failing as follows:

ARSperl-1.82: $ perl -Iblib/arch -Iblib/lib  dump_tt.pl Undefined subroutine 
&main::FieldID called at dump_tt.pl line 46.

Here is my snipet of code:

( @entries = ars_GetListEntryWithFields(
                            $ctrl, $SCHEMA, $qual, 20,
                            [   FieldID("Trouble Ticket #"),
                                FieldID("Short Description"),
                                FieldID("Business Support Group"),
                                FieldID("Client Company Name"),
                                FieldID("Create date")
                            ],
                                FieldID("Create date"), 1 ) )
         || die( "GLEWF Failed: $ars_errstr" );


Is FieldID apart of ARSPerl or inbuilt in another Perl module?

Thanks
Paul


Try Facebook in Windows Live Messenger! Try it Now!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK & win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK & win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------

_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users


End of Arsperl-users Digest, Vol 29, Issue 3
********************************************



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to