arsperl-users Mailing List for ARSperl (Page 27)
Brought to you by:
jeffmurphy
You can subscribe to this list here.
| 1996 |
Jan
(6) |
Feb
(7) |
Mar
(16) |
Apr
(5) |
May
(21) |
Jun
(5) |
Jul
(5) |
Aug
(13) |
Sep
(4) |
Oct
(12) |
Nov
(7) |
Dec
(24) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1997 |
Jan
(38) |
Feb
(65) |
Mar
(32) |
Apr
(37) |
May
(47) |
Jun
(45) |
Jul
(28) |
Aug
(38) |
Sep
(41) |
Oct
(81) |
Nov
(21) |
Dec
(45) |
| 1998 |
Jan
(18) |
Feb
(26) |
Mar
(44) |
Apr
(34) |
May
(36) |
Jun
(44) |
Jul
(31) |
Aug
(34) |
Sep
(56) |
Oct
(40) |
Nov
(20) |
Dec
(25) |
| 1999 |
Jan
(49) |
Feb
(50) |
Mar
(33) |
Apr
(51) |
May
(54) |
Jun
(43) |
Jul
(91) |
Aug
(34) |
Sep
(120) |
Oct
(102) |
Nov
(101) |
Dec
(25) |
| 2000 |
Jan
(55) |
Feb
(105) |
Mar
(44) |
Apr
(89) |
May
(123) |
Jun
(51) |
Jul
(98) |
Aug
(120) |
Sep
(101) |
Oct
(77) |
Nov
(58) |
Dec
(39) |
| 2001 |
Jan
(36) |
Feb
(50) |
Mar
(57) |
Apr
(62) |
May
(81) |
Jun
(55) |
Jul
(46) |
Aug
(51) |
Sep
(37) |
Oct
(60) |
Nov
(38) |
Dec
(41) |
| 2002 |
Jan
(70) |
Feb
(41) |
Mar
(49) |
Apr
(55) |
May
(93) |
Jun
(48) |
Jul
(88) |
Aug
(52) |
Sep
(92) |
Oct
(63) |
Nov
(37) |
Dec
(63) |
| 2003 |
Jan
(62) |
Feb
(78) |
Mar
(101) |
Apr
(90) |
May
(104) |
Jun
(31) |
Jul
(29) |
Aug
(66) |
Sep
(50) |
Oct
(114) |
Nov
(111) |
Dec
(49) |
| 2004 |
Jan
(19) |
Feb
(68) |
Mar
(59) |
Apr
(30) |
May
(54) |
Jun
(33) |
Jul
(115) |
Aug
(69) |
Sep
(33) |
Oct
(80) |
Nov
(25) |
Dec
(47) |
| 2005 |
Jan
(34) |
Feb
(26) |
Mar
(28) |
Apr
(57) |
May
(53) |
Jun
(59) |
Jul
(42) |
Aug
(25) |
Sep
(26) |
Oct
(33) |
Nov
(20) |
Dec
(2) |
| 2006 |
Jan
(35) |
Feb
(15) |
Mar
(14) |
Apr
(7) |
May
(22) |
Jun
(22) |
Jul
(22) |
Aug
(3) |
Sep
(7) |
Oct
(20) |
Nov
(25) |
Dec
(8) |
| 2007 |
Jan
(44) |
Feb
(26) |
Mar
(24) |
Apr
(34) |
May
(23) |
Jun
(61) |
Jul
(18) |
Aug
(39) |
Sep
(28) |
Oct
(31) |
Nov
(31) |
Dec
(23) |
| 2008 |
Jan
(18) |
Feb
(5) |
Mar
(18) |
Apr
(15) |
May
(17) |
Jun
(18) |
Jul
(13) |
Aug
(10) |
Sep
(71) |
Oct
(25) |
Nov
(5) |
Dec
(14) |
| 2009 |
Jan
(3) |
Feb
(6) |
Mar
(19) |
Apr
(5) |
May
(2) |
Jun
(5) |
Jul
(23) |
Aug
|
Sep
|
Oct
(2) |
Nov
(15) |
Dec
(7) |
| 2010 |
Jan
(5) |
Feb
(6) |
Mar
|
Apr
|
May
(10) |
Jun
|
Jul
(9) |
Aug
(6) |
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2011 |
Jan
(16) |
Feb
(24) |
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(4) |
Sep
(1) |
Oct
|
Nov
(13) |
Dec
|
| 2012 |
Jan
(17) |
Feb
(14) |
Mar
(14) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(7) |
Oct
(14) |
Nov
(4) |
Dec
(4) |
| 2013 |
Jan
(1) |
Feb
(12) |
Mar
(7) |
Apr
(5) |
May
|
Jun
|
Jul
(1) |
Aug
(21) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
(4) |
| 2014 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(27) |
Jun
|
Jul
(8) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(4) |
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Thilo S. <thi...@ap...> - 2007-10-17 17:03:56
|
Unfortunately, date fields (unlike date/time fields) are only supported
since ARSperl version 1.90
The value has to be an integer which can be computed from an epoch
timestamp by
int( $epoch_time / 86400 ) + 2440588
Regards,
Thilo Stapff
Pittman, Timothy wrote:
> I have been having considerable difficulty trying to use ARSPerl to
> create an entry with a date. My web page is prompting the user to enter
> a date, which I'm assuming will be in the format mm/dd/yyyy. I am using
> the perl module ParseDate to attempt to figure out what they enter. In
> any case, I need to convert this user-entered value into some format
> that ars_CreateEntry can deal with. My code does this:
>
> ($entryId = ars_CreateEntry($ctrl, $shopSchema,
> $sf{"Description"}, $details,
> ... various fields you don't care about...
> $sf{"Date Required"}, "$date1",
> ... more fields...
> $sf{"Status"}, "Submitted"))
> or print "\n<p>[ERROR]\tCould not add shop order due to
> $ars_errstr<b><br>\n";
>
> I have tried numerous ways of formatting the date field $date1 above to
> attempt to get it to shop up in the proper format in Remedy. I have
> tried numerous variations of the following:
> A string (i.e. "10/17/2007")
> An integer (converted via timelocal and others to epoch time)
>
> I either end up with the date 1/1/9999 or 1/1/4713 B.C. in my date
> field. I have searched everywhere on the net that I can find and nothing
> has helped. Does anyone know what to do to a user-entered date to make
> ars_CreateEntry accept it properly?
>
> This is running on a Win2K server with ARSPerl 1.82 against a Remedy 6.0
> system on Oracle.
>
> Thanks, Tim
>
> ========================================================================
> CONFIDENTIALITY NOTICE
> ----------------------
> This message, together with any attachments, may be legally privileged
> and is confidential information intended only for the use of the
> individual or entity to which it is addressed. It is exempt from
> disclosure under applicable law including court orders. If you are not
> the intended recipient, you are hereby notified that any use,
> dissemination, distribution or copy of this message, or any attachment,
> is strictly prohibited. If you have received this message in error,
> please notify the original sender and delete this message, along with
> any attachments, from your computer.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Paizo <pai...@gm...> - 2007-10-17 16:52:40
|
from my experience i can say that date are stored as seconds from 01/01/1970, so i would suggest u to convert the user input into an epoch time http://www.perl.com/pub/a/2003/03/13/datetime.html hope it help 2007/10/17, Pittman, Timothy <Tim...@re...>: > > I have been having considerable difficulty trying to use ARSPerl to > create an entry with a date. My web page is prompting the user to enter > a date, which I'm assuming will be in the format mm/dd/yyyy. I am using > the perl module ParseDate to attempt to figure out what they enter. In > any case, I need to convert this user-entered value into some format > that ars_CreateEntry can deal with. My code does this: > > ($entryId =3D ars_CreateEntry($ctrl, $shopSchema, > $sf{"Description"}, $details, > ... various fields you don't care about... > $sf{"Date Required"}, "$date1", > ... more fields... > $sf{"Status"}, "Submitted")) > or print "\n<p>[ERROR]\tCould not add shop order due to > $ars_errstr<b><br>\n"; > > I have tried numerous ways of formatting the date field $date1 above to > attempt to get it to shop up in the proper format in Remedy. I have > tried numerous variations of the following: > A string (i.e. "10/17/2007") > An integer (converted via timelocal and others to epoch time) > > I either end up with the date 1/1/9999 or 1/1/4713 B.C. in my date > field. I have searched everywhere on the net that I can find and nothing > has helped. Does anyone know what to do to a user-entered date to make > ars_CreateEntry accept it properly? > > This is running on a Win2K server with ARSPerl 1.82 against a Remedy 6.0 > system on Oracle. > > Thanks, Tim > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > CONFIDENTIALITY NOTICE > ---------------------- > This message, together with any attachments, may be legally privileged > and is confidential information intended only for the use of the > individual or entity to which it is addressed. It is exempt from > disclosure under applicable law including court orders. If you are not > the intended recipient, you are hereby notified that any use, > dissemination, distribution or copy of this message, or any attachment, > is strictly prohibited. If you have received this message in error, > please notify the original sender and delete this message, along with > any attachments, from your computer. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > --=20 -------------------- A me cugin na volta xe nd=E0 dal geataro e el ga domand=E0 na coppetta trig= usto co i gusti seegheta, sarexe e schie co na fettina de poenta. El geataro pena sentio che=E0 goduriosa scelta, el se ga messo subito el pigiama de banane e el ghe ga messo in testa a corona de poegge medie e lo ga fatto diventare Re dei Gelati Biricchini. ----------------------- Confezione trigusto seegheta/sarexe/chie co pratico contenitore par e fete de poenta, stile estat=E8 o quea dea ciocoeata Altri gusti poe essere bigadini/kiwi/lasonil co socoi de vacca da tociare o erbagatta/straciatella/calsina co coe de sorxe da tociare ------------ Rileggendo a firma diria che se poe puntare al mercato dei ghiaccioli col e= l gusto crema al diserbo e parafl=F9 ricoperta da una soffice crosta de pus c= o al posto del bacheto un termometro anale pratico pa misurarse a freve dopo aver magn=E0 el geato (chi xe che no lo fa al giorno d'oggi?!?!). Garantite scorese bitonali e solfeggi anali. |
|
From: Thomas B. <BE...@SL...> - 2007-10-17 16:38:37
|
Thank you for your message. I am currently out of the office and will not be checking e-mail. Your message has been saved and will be read upon my return. |
|
From: Pittman, T. <Tim...@re...> - 2007-10-17 16:22:40
|
I have been having considerable difficulty trying to use ARSPerl to
create an entry with a date. My web page is prompting the user to enter
a date, which I'm assuming will be in the format mm/dd/yyyy. I am using
the perl module ParseDate to attempt to figure out what they enter. In
any case, I need to convert this user-entered value into some format
that ars_CreateEntry can deal with. My code does this:
($entryId =3D ars_CreateEntry($ctrl, $shopSchema,=20
$sf{"Description"}, $details,
... various fields you don't care about...
$sf{"Date Required"}, "$date1",=20
... more fields...
$sf{"Status"}, "Submitted"))=20
or print "\n<p>[ERROR]\tCould not add shop order due to
$ars_errstr<b><br>\n";
I have tried numerous ways of formatting the date field $date1 above to
attempt to get it to shop up in the proper format in Remedy. I have
tried numerous variations of the following:=20
A string (i.e. "10/17/2007")
An integer (converted via timelocal and others to epoch time)
I either end up with the date 1/1/9999 or 1/1/4713 B.C. in my date
field. I have searched everywhere on the net that I can find and nothing
has helped. Does anyone know what to do to a user-entered date to make
ars_CreateEntry accept it properly?
This is running on a Win2K server with ARSPerl 1.82 against a Remedy 6.0
system on Oracle.
Thanks, Tim
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
CONFIDENTIALITY NOTICE
----------------------
This message, together with any attachments, may be legally privileged
and is confidential information intended only for the use of the
individual or entity to which it is addressed. It is exempt from
disclosure under applicable law including court orders. If you are not
the intended recipient, you are hereby notified that any use,
dissemination, distribution or copy of this message, or any attachment,
is strictly prohibited. If you have received this message in error,
please notify the original sender and delete this message, along with
any attachments, from your computer.
|
|
From: Paizo <pai...@gm...> - 2007-10-12 07:38:07
|
Thank you Alex, that's help me :)
2007/10/5, Alex Agle <ale...@oi...>:
>
> Hi Paizo,
>
> In the programs that I've written, I usually check the size of the
> hash or array as opposed to checking for ARWARN 1200. I'll provide
> two examples of how to do this. The first example is with a hash and
> the second is with an array.
>
> The first example is untested code that I put together by doing some
> googling. The keys() function might be helpful. For example:
>
> %entries =3D ars_GetListEntry($ctrl, $ARSschema, $qual, 0, 0);
> $hash_size =3D keys(%entries);
>
> if ($hash_size eq 0) {
> print "ARWARN 1200: Nothing was found\n");
> ars_Logoff($ctrl) || exit 0;
> exit 0;
> }
>
> A lot of programs that I've written in the past use an array
> instead of a hash and then branch based on the size of the array.
>
> Partial code from an actual working program:
>
> @entries =3D ars_GetListEntry($c, $s_ho, $q, 0, 0);
> if ($#entries eq -1) {
> print MAIL ("There are no $holdtypes.\n");
> } elsif ($#entries eq 1) {
> print MAIL ("There is one $holdtype:\n\n");
> $entry_num =3D $entries[0];
> &PrintHeader;
> &PrintEntry($entry_num, $startorend, $holdtype);
> } else {
> $ent_num =3D ($#entries + 1) / 2;
> print MAIL ("There are $ent_num $holdtypes:\n");
> &PrintHeader;
> for ($i =3D 0; $i <=3D $#entries; $i +=3D2 ) {
> $entry_num =3D $entries[$i];
> &PrintEntry($entry_num, $startorend, $holdtype);
> }
> }
>
> Hope that helps!
> Alex
>
> On Fri, Oct 05, 2007 at 10:31:00AM +0200, Paizo wrote:
> > Hi listeners,
> >
> > I'm making a perl script to check the presence of some kind of tickets.
> > Usually there are no tickets of this kind causing a ARWARN 1200.
> > I would like to handle this warning but i miss something....
> >
> >
> > $arwarn =3D "";
> > (%entries =3D ars_GetListEntry($ctrl, $ARSschema, $qual, 0, 0)) ||
> ($arwarn =3D
> > $ars_errstr);
> >
> > print "$arwarn\n"; # $arwarn is empty!
> >
> > if ($arwarn=3D~ m/\ARWARN 1200/i)
> > {
> > ars_Logoff($ctrl) || exit 0;
> > exit 0;
> > }
> >
> > what's wrong with that code?
> > Seems also that $arwarn is empty because it print nothing at all.
> >
> >
> > thank you for your time.
> >
> >
> > --
> > --------------------
> > A me cugin na volta xe nd=E0 dal geataro e el ga domand=E0 na coppetta
> trigusto
> > co i gusti seegheta, sarexe e schie co na fettina de poenta.
> > El geataro pena sentio che=E0 goduriosa scelta, el se ga messo subito e=
l
> > pigiama de banane e el ghe ga messo in testa a corona de poegge medie e
> lo
> > ga fatto diventare Re dei Gelati Biricchini.
> > -----------------------
> > Confezione trigusto seegheta/sarexe/chie co pratico contenitore par e
> fete
> > de poenta, stile estat=E8 o quea dea ciocoeata
> > Altri gusti poe essere bigadini/kiwi/lasonil co socoi de vacca da
> tociare o
> > erbagatta/straciatella/calsina co coe de sorxe da tociare
> > ------------
> > Rileggendo a firma diria che se poe puntare al mercato dei ghiaccioli
> col el
> > gusto crema al diserbo e parafl=F9 ricoperta da una soffice crosta de p=
us
> co
> > al posto del bacheto un termometro anale pratico pa misurarse a freve
> dopo
> > aver magn=E0 el geato (chi xe che no lo fa al giorno d'oggi?!?!).
> Garantite
> > scorese bitonali e solfeggi anali.
>
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Arsperl-users mailing list
> > Ars...@ar...
> > https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
> --
> O--------------O--O---------------------------------O
> | Alex Agle \/ Systems Support Specialist III |
> O---------------/\ Georgia Institute of Technology |
> |(404)894-6165 //\\ ITS - Applications Support |
> | Atlanta, GA //\/\\ alex.agle(@)oit.gatech.edu |
> O------------O-\/\/-O-------------------------------O
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
--=20
--------------------
A me cugin na volta xe nd=E0 dal geataro e el ga domand=E0 na coppetta trig=
usto
co i gusti seegheta, sarexe e schie co na fettina de poenta.
El geataro pena sentio che=E0 goduriosa scelta, el se ga messo subito el
pigiama de banane e el ghe ga messo in testa a corona de poegge medie e lo
ga fatto diventare Re dei Gelati Biricchini.
-----------------------
Confezione trigusto seegheta/sarexe/chie co pratico contenitore par e fete
de poenta, stile estat=E8 o quea dea ciocoeata
Altri gusti poe essere bigadini/kiwi/lasonil co socoi de vacca da tociare o
erbagatta/straciatella/calsina co coe de sorxe da tociare
------------
Rileggendo a firma diria che se poe puntare al mercato dei ghiaccioli col e=
l
gusto crema al diserbo e parafl=F9 ricoperta da una soffice crosta de pus c=
o
al posto del bacheto un termometro anale pratico pa misurarse a freve dopo
aver magn=E0 el geato (chi xe che no lo fa al giorno d'oggi?!?!). Garantite
scorese bitonali e solfeggi anali.
|
|
From: Jeff M. <jcm...@je...> - 2007-10-11 19:53:38
|
> I am trying to write a Perl script w/ ars module that reads some records > from a DB and creates new records in a custom form I have. It has a bunch of > selection fields, which in the past I would hard code and convert the string > values in the DB to the integer value that createEntry wants. > > Does anyone have some advice on how I can do this without hardcoding ? use ars_GetField to fetch the selection values. you can then easily map from name to value. jeff |
|
From: Carey M. B. <bla...@gm...> - 2007-10-11 19:51:16
|
Will, You might get an answer on ARSList for an ARSPerl question, but you might also try the ARSPerl mailing list too. (So I cross posted it for you, but you may want to watch the other list too.) Project source: http://sourceforge.net/projects/arsperl/ Web site: http://arsperl.sourceforge.net/ Mailing list: https://lists.sourceforge.net/lists/listinfo/arsperl-users Mailing list Archives: http://sourceforge.net/mailarchive/forum.php?forum_name=arsperl-users HTH. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On 10/11/07, Lipford, Willy <wli...@tn...> wrote: > ** > > I am trying to write a Perl script w/ ars module that reads some records > from a DB and creates new records in a custom form I have. It has a bunch of > selection fields, which in the past I would hard code and convert the string > values in the DB to the integer value that createEntry wants. > > Does anyone have some advice on how I can do this without hardcoding ? > > Thanks, > > Will > > Reston,VA |
|
From: Alex A. <ale...@oi...> - 2007-10-05 14:07:26
|
Hi Paizo,
In the programs that I've written, I usually check the size of the
hash or array as opposed to checking for ARWARN 1200. I'll provide
two examples of how to do this. The first example is with a hash and
the second is with an array.
The first example is untested code that I put together by doing some
googling. The keys() function might be helpful. For example:
%entries = ars_GetListEntry($ctrl, $ARSschema, $qual, 0, 0);
$hash_size = keys(%entries);
if ($hash_size eq 0) {
print "ARWARN 1200: Nothing was found\n");
ars_Logoff($ctrl) || exit 0;
exit 0;
}
A lot of programs that I've written in the past use an array
instead of a hash and then branch based on the size of the array.
Partial code from an actual working program:
@entries = ars_GetListEntry($c, $s_ho, $q, 0, 0);
if ($#entries eq -1) {
print MAIL ("There are no $holdtypes.\n");
} elsif ($#entries eq 1) {
print MAIL ("There is one $holdtype:\n\n");
$entry_num = $entries[0];
&PrintHeader;
&PrintEntry($entry_num, $startorend, $holdtype);
} else {
$ent_num = ($#entries + 1) / 2;
print MAIL ("There are $ent_num $holdtypes:\n");
&PrintHeader;
for ($i = 0; $i <= $#entries; $i +=2 ) {
$entry_num = $entries[$i];
&PrintEntry($entry_num, $startorend, $holdtype);
}
}
Hope that helps!
Alex
On Fri, Oct 05, 2007 at 10:31:00AM +0200, Paizo wrote:
> Hi listeners,
>
> I'm making a perl script to check the presence of some kind of tickets.
> Usually there are no tickets of this kind causing a ARWARN 1200.
> I would like to handle this warning but i miss something....
>
>
> $arwarn = "";
> (%entries = ars_GetListEntry($ctrl, $ARSschema, $qual, 0, 0)) || ($arwarn =
> $ars_errstr);
>
> print "$arwarn\n"; # $arwarn is empty!
>
> if ($arwarn=~ m/\ARWARN 1200/i)
> {
> ars_Logoff($ctrl) || exit 0;
> exit 0;
> }
>
> what's wrong with that code?
> Seems also that $arwarn is empty because it print nothing at all.
>
>
> thank you for your time.
>
>
> --
> --------------------
> A me cugin na volta xe ndà dal geataro e el ga domandà na coppetta trigusto
> co i gusti seegheta, sarexe e schie co na fettina de poenta.
> El geataro pena sentio cheà goduriosa scelta, el se ga messo subito el
> pigiama de banane e el ghe ga messo in testa a corona de poegge medie e lo
> ga fatto diventare Re dei Gelati Biricchini.
> -----------------------
> Confezione trigusto seegheta/sarexe/chie co pratico contenitore par e fete
> de poenta, stile estatè o quea dea ciocoeata
> Altri gusti poe essere bigadini/kiwi/lasonil co socoi de vacca da tociare o
> erbagatta/straciatella/calsina co coe de sorxe da tociare
> ------------
> Rileggendo a firma diria che se poe puntare al mercato dei ghiaccioli col el
> gusto crema al diserbo e paraflù ricoperta da una soffice crosta de pus co
> al posto del bacheto un termometro anale pratico pa misurarse a freve dopo
> aver magnà el geato (chi xe che no lo fa al giorno d'oggi?!?!). Garantite
> scorese bitonali e solfeggi anali.
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
--
O--------------O--O---------------------------------O
| Alex Agle \/ Systems Support Specialist III |
O---------------/\ Georgia Institute of Technology |
|(404)894-6165 //\\ ITS - Applications Support |
| Atlanta, GA //\/\\ alex.agle(@)oit.gatech.edu |
O------------O-\/\/-O-------------------------------O
|
|
From: Paizo <pai...@gm...> - 2007-10-05 08:58:56
|
Hi listeners,
I'm making a perl script to check the presence of some kind of tickets.
Usually there are no tickets of this kind causing a ARWARN 1200.
I would like to handle this warning but i miss something....
$arwarn =3D "";
(%entries =3D ars_GetListEntry($ctrl, $ARSschema, $qual, 0, 0)) || ($arwarn=
=3D
$ars_errstr);
print "$arwarn\n"; # $arwarn is empty!
if ($arwarn=3D~ m/\ARWARN 1200/i)
{
ars_Logoff($ctrl) || exit 0;
exit 0;
}
what's wrong with that code?
Seems also that $arwarn is empty because it print nothing at all.
thank you for your time.
--=20
--------------------
A me cugin na volta xe nd=E0 dal geataro e el ga domand=E0 na coppetta trig=
usto
co i gusti seegheta, sarexe e schie co na fettina de poenta.
El geataro pena sentio che=E0 goduriosa scelta, el se ga messo subito el
pigiama de banane e el ghe ga messo in testa a corona de poegge medie e lo
ga fatto diventare Re dei Gelati Biricchini.
-----------------------
Confezione trigusto seegheta/sarexe/chie co pratico contenitore par e fete
de poenta, stile estat=E8 o quea dea ciocoeata
Altri gusti poe essere bigadini/kiwi/lasonil co socoi de vacca da tociare o
erbagatta/straciatella/calsina co coe de sorxe da tociare
------------
Rileggendo a firma diria che se poe puntare al mercato dei ghiaccioli col e=
l
gusto crema al diserbo e parafl=F9 ricoperta da una soffice crosta de pus c=
o
al posto del bacheto un termometro anale pratico pa misurarse a freve dopo
aver magn=E0 el geato (chi xe che no lo fa al giorno d'oggi?!?!). Garantite
scorese bitonali e solfeggi anali.
|
|
From: Thilo S. <thi...@ap...> - 2007-09-28 09:16:42
|
That's in the next chapter, "Using the Remedy User command line interface". Yes, it does handle attachments. STAN HOLODNAK, BLOOMBERG/ 731 LEXIN wrote: > can you also automate exporting data to arx files. And what about attachments? > Thanks > > ----- Original Message ----- > From: Thilo Stapff <ars...@ar...> > To: ars...@ar... > At: 9/27 13:24:44 > > The import tool can be automated. See the chapter "Using the Remedy > Import command line interface" in the AR 6.3 Advanced Development Guide. > > Regards, > Thilo Stapff > > > > STAN HOLODNAK, BLOOMBERG/ 731 LEXIN wrote: >> We are moving ARS 6.3 Server from Informix to Oracle. I already exported forms > >> structure and workflow with ARS Admin tool. Now I want to import data. I don't > >> want to use import tool since we have more then 150 forms. Is there anyway to >> automate Import tool or is there ARSPERL script that does that? BTW did > someone >> use Migrator 7.0.1? Is it usefull for this task? Thank you. >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Arsperl-users mailing list >> Ars...@ar... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: STAN H. B. 7. L. <sch...@bl...> - 2007-09-27 22:03:36
|
can you also automate exporting data to arx files. And what about attachments? Thanks ----- Original Message ----- From: Thilo Stapff <ars...@ar...> To: ars...@ar... At: 9/27 13:24:44 The import tool can be automated. See the chapter "Using the Remedy Import command line interface" in the AR 6.3 Advanced Development Guide. Regards, Thilo Stapff STAN HOLODNAK, BLOOMBERG/ 731 LEXIN wrote: > We are moving ARS 6.3 Server from Informix to Oracle. I already exported forms > structure and workflow with ARS Admin tool. Now I want to import data. I don't > want to use import tool since we have more then 150 forms. Is there anyway to > automate Import tool or is there ARSPERL script that does that? BTW did someone > use Migrator 7.0.1? Is it usefull for this task? Thank you. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Thilo S. <thi...@ap...> - 2007-09-27 17:24:24
|
The import tool can be automated. See the chapter "Using the Remedy Import command line interface" in the AR 6.3 Advanced Development Guide. Regards, Thilo Stapff STAN HOLODNAK, BLOOMBERG/ 731 LEXIN wrote: > We are moving ARS 6.3 Server from Informix to Oracle. I already exported forms > structure and workflow with ARS Admin tool. Now I want to import data. I don't > want to use import tool since we have more then 150 forms. Is there anyway to > automate Import tool or is there ARSPERL script that does that? BTW did someone > use Migrator 7.0.1? Is it usefull for this task? Thank you. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: STAN H. B. 7. L. <sch...@bl...> - 2007-09-27 16:30:49
|
We are moving ARS 6.3 Server from Informix to Oracle. I already exported forms structure and workflow with ARS Admin tool. Now I want to import data. I don't want to use import tool since we have more then 150 forms. Is there anyway to automate Import tool or is there ARSPERL script that does that? BTW did someone use Migrator 7.0.1? Is it usefull for this task? Thank you. |
|
From: Carey M. B. <bla...@gm...> - 2007-09-27 11:32:29
|
Simon, It is possible that Patrol is doing a merge operation instead of a Submit operation. Turn on Filter OR API logs to verify. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On 9/26/07, simon ivers <ive...@ho...> wrote: > > > We have an integration between two Remedy instances using an ARSperl script > (Version 1.85). > > We also have an integration between BMC Patrol and Remedy. When Patrol > logs a call in Remedy it fires a particular filter but the Run Process > action that calls the script is not firing. I know the filter is firing but > the Run Process action is not. When a case is logged manually the Run > Process fires but not when Patrol logs a case. > > Has anyone experienced this behavior. > > Regards > Simon Ivers > > ________________________________ > Enter now! Win a $16K adventure holiday to Rajasthan, India. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > |
|
From: George <ge...@al...> - 2007-09-27 09:26:17
|
Michiel Beijen wrote: > This was from the top of my head; please double check the field names. > I usually first create my search in the User Tool and then use that to > create my Perl script. Hi Michiel, Thanks for your help - I was able to get the data out the schema. Cheers! George |
|
From: simon i. <ive...@ho...> - 2007-09-27 02:28:18
|
We have an integration between two Remedy instances using an ARSperl script= (Version 1.85). =20 =20 We also have an integration between BMC Patrol and Remedy. When Patrol log= s a call in Remedy it fires a particular filter but the Run Process action = that calls the script is not firing. I know the filter is firing but the R= un Process action is not. When a case is logged manually the Run Process f= ires but not when Patrol logs a case. =20 Has anyone experienced this behavior. =20 RegardsSimon Ivers _________________________________________________________________ Win a $16K adventure holiday to Rajasthan, India. Enter now! http://ninemsn.com.au/share/redir/adTrack.asp?mode=3Dclick&clientID=3D799&r= eferral=3Dwindowslivehotmailtagline&URL=3Dhttp://travel.ninemsn.com.au/comp= Intro.aspx?compId=3D2404 |
|
From: Misi M. <mi...@rr...> - 2007-09-25 12:35:04
|
Hi Stan!
I think you have been mislead by BMC Support.
The active user list shows all connected users. FLOATING users get a
timeout after the specified number of hours, and vanish from the list,
even though they have not closed their client. FIXED user also get FLUSHed
out when they inactive, but that takes a long time before it happens.
>From what I understand, is that you need to access all servers in a Server
Group in order to get a list of all connected users.
Best Regards - Misi, RRR AB, http://www.rrr.se/sv/
> I found from Remedy support that Administrator's Licenses->Manage User
> licenses
> will only show 'Currently Active Users' i.e users who are currently
> accessing
> system. So if a user with fixed license who is loged in to Remedy but did
> not
> work with it for more then one hour, this user will not be shown in the
> Manage
> License Tool and in ars_GetListUser($ctrl, 2);
> This brings me to a question is there a way to get list of users who are
> connected to Remedy regardless active or inactive? -Stan
>
> ----- Original Message -----
> From: Mark Vaughan <ars...@ar...>
> To: ars...@ar...
> At: 9/08 16:46:51
>
> The driver tool comes with the API. This should be installed on the host
> you are using to run ARSperl from. I just installed ARS 7.0 and it is
> located under my server's directory tree at ARServer/Api/driver. It is C
> source code (you must compile it with a C compiler). Once compiled, the
> executable exercises the vast majority, if not all, of the API calls
> available for the C API. The crucial steps are listed in my original
> message (see below). By exercising the glu command, you can get the same
> results as what the Admin tool shows and what ARSperl shows. Please keep
> in
> mind that the results may be a bit different depending upon users getting
> on
> and off of the system.
>
> HTH,
> Mark Vaughan
> 303.471.9987 (home)
> 303.601.4434 (mobile)
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...] On Behalf Of STAN HOLODNAK,
> BLOOMBERG/ 731 LEXIN
> Sent: Friday, September 07, 2007 10:14 AM
> To: ars...@ar...
> Subject: Re: [Arsperl-users] how to get list of users connected to Remed
>
> Mark what do you mean by deriver tool?
> When I login with Admin account to the Manage User licenses, I see 30
> people
>
> connected, but at the same time running GetListUser I get list of only 20
> people.
> ----- Original Message -----
> From: Mark Vaughan <ars...@ar...>
> To: ars...@ar...
> At: 9/06 17:05:51
>
> Are you logging in using an Admin account?
> Have you compared the output with that found using the Admin tool?
> How about the data returned from the driver tool that comes with the
> API?
> The driver tool should output the same results as your script.
> If the Admin tool matches the driver tool and neither matches the output
> of your script, what is the output?
>
> Are you only getting yourself in the response? If so and you are using
> '2' as your second argument, then it sounds as if you're using a
> non-Admin account.
>
> Barring all this, please provide output from the Admin tool
> (File->Licenses->Manage User Licenses), driver tool (init, log (use same
> login as your script), ssp (if you need to specify a particular port),
> glu (select 2 for UserListType)), and your @hashactiveusers list (x
> \@hashactiveusers).
>
> HTH,
> Mark Vaughan
> TTS Development
> Comcast Cable Corporation
> 720.268.8591
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...] On Behalf Of STAN HOLODNAK,
> BLOOMBERG/ 731 LEXIN
> Sent: Thursday, September 06, 2007 2:00 PM
> To: ars...@ar...
> Subject: Re: [Arsperl-users] how to get list of users connected to Remed
>
> Mark thank you for replying. I use my @hashactiveusers =
> ars_GetListUser
> ($ars_ctrl, 2);
> My ARS(Solaris/INformix) is 6.3 patch 22, ARSPerl version 1.83 lives on
> the
> other machine on Linux. I guess API is installed on the same machine as
> ARSPerl
> but I can't find it.
> ----- Original Message -----
> From: Mark Vaughan <ars...@ar...>
> To: ars...@ar...
> At: 9/05 18:05:12
>
> Stan,
> What versions of ARSperl, API, & ARS?
>
> Are you specifying a '2' (for currently attached users) as the second
> parameter?
>
> The list you get should be the same as what is displayed using the Admin
> tool.
>
> HTH,
> Mark Vaughan
> TTS Development
> Comcast Cable Corporation
> 720.268.8591
> -----Original Message-----
> From: ars...@ar...
> [mailto:ars...@ar...] On Behalf Of STAN HOLODNAK,
> BLOOMBERG/ 731 LEXIN
> Sent: Wednesday, September 05, 2007 2:31 PM
> To: ARS...@AR...
> Subject: [Arsperl-users] how to get list of users connected to Remedy
>
> Hello everyone, I am trying to get list of people connected to Remedy
> through
> User tool or Web. GetListUser doesn't work properly. It returns list
> that
> doesn't include all people connected. Is there a better way? Thank you.
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>
> http://get.splunk.com/_______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>
> http://get.splunk.com/_______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>
> http://get.splunk.com/_______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>
> http://get.splunk.com/_______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Michiel B. <mic...@gm...> - 2007-09-25 09:13:50
|
Hi George;
it depends on what application you actually use on top of AR System.
For Remedy ITSM 5 and 6; the categorizations are stored in the
SHR:Categorization form (or "schema" as it is called in the API)..
Make your qualification search for something like Status = Active AND
(Keyword = All OR Keyword = Change)
This was from the top of my head; please double check the field names.
I usually first create my search in the User Tool and then use that to
create my Perl script.
See the next snippet for an idea of how to retrieve records from a
form using ARSPerl.
use ARS;
use strict;
use warnings;
use Data::Dumper;
if ( $#ARGV < 2 ) {die "usage: ars_GetListEntry.pl server username
password \n";}
# Log in to the server
my $ctrl = ars_Login(shift, shift, shift)
|| die "login: $ars_errstr";
# In this test case we're only interested in the user form and the two
fields login name and license type on those:
my $schema = "User";
my $login_name = "Login Name";
my $lic_type = "License Type";
# Create a nice hash with fieldname - ID pairs for easy reference
(my %fieldname_to_id = ars_GetFieldTable($ctrl, $schema)) ||
die "ars_GetFieldTable: $ars_errstr";
# Create a qualifier string with condition 1=1 , this will show all records.
my $qualification = ars_LoadQualifier($ctrl, $schema, "(1 = 1)") ||
die "ars_LoadQualifier: $ars_errstr";
# use a GetListEntry call to retrieve the entries for this
qualification; specify the fields we're interested in
my @entries = ars_GetListEntry($ctrl, $schema, $qualification, 0, 0,
# getListFields
[
{columnWidth=>15, separator=>' ',
fieldId=>$fieldname_to_id{$login_name} },
{columnWidth=>15, separator=>' ',
fieldId=>$fieldname_to_id{$lic_type} }
],
# sort Order
$fieldname_to_id{$login_name}, 1);
# Log off nicely.
ars_Logoff($ctrl);
print Dumper (@entries);
exit 0;
On 9/25/07, George <ge...@al...> wrote:
> Hi,
>
> I'm trying to list the available Category, Type and Item fields which
> are available in my change tickets.
>
> I'm having trouble figuring this out. Could somebody assist by pointing
> me to the correct function/documentation or if you could lend me some
> code, that would be great :)
>
> Thanks in advance,
>
> George
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
--
Met vriendelijke groet / Kind regards
Michiel Beijen
______________________________________________________
MANSOLUTIONS
Energieweg 60-62
3771 NA Barneveld
The Netherlands
Tel. +31-(0)612968592
Mail mic...@ma...
Internet http://bsm.mansolutions.nl
|
|
From: George <ge...@al...> - 2007-09-25 08:05:31
|
Hi, I'm trying to list the available Category, Type and Item fields which are available in my change tickets. I'm having trouble figuring this out. Could somebody assist by pointing me to the correct function/documentation or if you could lend me some code, that would be great :) Thanks in advance, George |
|
From: Ye, K. <KY...@St...> - 2007-09-21 02:01:03
|
Hi Thilo, =20 Do you mean that I need to rebuild ARSperl modules against ActivePerl version 5.8.4? =20 Could you tell me how to compile ARSperl against a specified Perl? Now ActivePerl 5.8.4 is not the default Perl in our Solaris server. =20 Thank you very much. =20 =20 Regards, =20 |
|
From: Bob B. <rob...@gm...> - 2007-09-19 20:36:03
|
Our environment: HPUX 11.23 on IA64 with ARS 7.1 and Oracle 10gR2, perl 5.8.3 32-bit. I've been trying to get ARS 1.90 to compile. I had to modify infra/exsi.pl (to add some new data types) and ARS.xs (to add two new parameters to the Get/Set/CreateFilter routines). It compiles (with lots of warnings, hopefully innocuous), but make test fails every test with undefined externals: __cxa_personality_routine u_toupper_3_2 u_tolower_3_2 I was able to eliminate the error with __cxa_personality_routine by including -lCsup in the $ARS_LIBS variable in Makefile.PL. But I can't seem to find the right magic to eliminate the other two. Does anyone know where I can find u_toupper_3_2 and u_tolower_3_2? |
|
From: Holmes, G. L <GLH...@St...> - 2007-09-19 11:41:41
|
So you have ARSPerl installed against perl 5.0 and perlapp against 5.8? =20 Thanks,Garett L Holmes Service and Engineering Management http://sdm.statestr.com/ccc/ glh...@st... ________________________________ From: ars...@ar... [mailto:ars...@ar...] On Behalf Of Ye, Kuixiang Sent: Tuesday, September 18, 2007 10:57 PM To: ars...@ar... Subject: [Arsperl-users] Help! Error in compiling ARSperl scripts usingPerlapp in Solaris 8 (Activestate PDK 7.0.0) =20 Hi All, =20 I have installed ARSperl v1.81 against perl 5.005, and PDK 7.0.0 which is tied to /tools/ver/ActivePerl-5.8.4 in Solaris 8. The ARSperl was not in @INC path, so I need to add use lib "<ARSperl path>" in my codes to specify the lib used. The codes worked fine. =20 Now I need to compile the codes using PDK to mask remedy account and password. But I got some error: =20 -----Begin Past---- bash-2.03$ perlapp --lib /etc/Tivoli/custom/ar/api --lib /usr/local/Tivoli/custom/ARSperl --norunlib --exe jil_verify --perl /auto/prod/ver/ActivePerl-5.8.4/bin/perl-static jil_verify.pl --verbose PerlApp 7.0.0 build 277058 (perl 5.8.8) Copyright (C) 1998-2007 ActiveState Software Inc. All rights reserved. =20 libperl.so at '/tools/ver/ActivePerl-5.8.4/lib/5.8.4/sun4-solaris-thread-multi/CORE/li bperl.so' is not compatible with the PDK. Using '/auto/prod/ver/ActivePerl-PDK-Pro-7.0.0/lib/libperl.so' instead. =20 Can't load '/usr/local/Tivoli/custom/ARSperl/auto/ARS/ARS.so' for module ARS: ld.so.1: pdkcheck_bundled: fatal: relocation error: file /usr/local/Tivoli/custom/ARSperl/auto/ARS/ARS.so: symbol PL_stack_sp: referenced symbol not found at /</auto/prod/ver/ActivePerl-PDK-Pro-7.0.0/lib/pdkcheck_bundled>DynaLoade r.pm line 214. at jil_verify.pl line 204 Compilation failed in require at jil_verify.pl line 204. BEGIN failed--compilation aborted at jil_verify.pl line 204. 'jil_verify.pl' had compilation errors.. =20 ---End Past---- =20 The 204th line in jil_verify.pl is use ARS; the compiling failed at this line.=20 =20 I don't know whether the compile error is due to the incompatibility of these versions of Perl.=20 =20 Could anybody give me some suggestions? Thanks in advance. =20 =20 Regards, Jason Ye =20 |
|
From: Thilo S. <thi...@ap...> - 2007-09-19 09:21:50
|
The "perl58delta" manual page says:
Binary Incompatibility
Perl 5.8 is not binary compatible with earlier releases of Perl.
You have to recompile your XS modules.
So it's probably indeed a version compatibility problem.
Regards,
Thilo Stapff
Ye, Kuixiang wrote:
> Hi All,
>
>
>
> I have installed ARSperl v1.81 against perl 5.005, and PDK 7.0.0 which
> is tied to /tools/ver/ActivePerl-5.8.4 in Solaris 8.
>
> The ARSperl was not in @INC path, so I need to add use lib “<ARSperl
> path>” in my codes to specify the lib used. The codes worked fine.
>
>
>
> Now I need to compile the codes using PDK to mask remedy account and
> password. But I got some error:
>
>
>
> -----Begin Past----
>
> bash-2.03$ perlapp --lib /etc/Tivoli/custom/ar/api --lib
> /usr/local/Tivoli/custom/ARSperl --norunlib --exe jil_verify --perl
> /auto/prod/ver/ActivePerl-5.8.4/bin/perl-static jil_verify.pl --verbose
>
> PerlApp 7.0.0 build 277058 (perl 5.8.8)
>
> Copyright (C) 1998-2007 ActiveState Software Inc. All rights reserved.
>
>
>
> libperl.so at
> '/tools/ver/ActivePerl-5.8.4/lib/5.8.4/sun4-solaris-thread-multi/CORE/libperl.so'
> is not compatible with the PDK.
>
> Using '/auto/prod/ver/ActivePerl-PDK-Pro-7.0.0/lib/libperl.so' instead.
>
>
>
> Can't load '/usr/local/Tivoli/custom/ARSperl/auto/ARS/ARS.so' for module
> ARS: ld.so.1: pdkcheck_bundled: fatal: relocation error: file
> /usr/local/Tivoli/custom/ARSperl/auto/ARS/ARS.so: symbol PL_stack_sp:
> referenced symbol not found at
> /</auto/prod/ver/ActivePerl-PDK-Pro-7.0.0/lib/pdkcheck_bundled>DynaLoader.pm
> line 214.
>
> at jil_verify.pl line 204
>
> Compilation failed in require at jil_verify.pl line 204.
>
> BEGIN failed--compilation aborted at jil_verify.pl line 204.
>
> 'jil_verify.pl' had compilation errors..
>
>
>
> ---End Past----
>
>
>
> The 204th line in jil_verify.pl is use ARS; the compiling failed at this
> line.
>
>
>
> I don’t know whether the compile error is due to the incompatibility of
> these versions of Perl.
>
>
>
> Could anybody give me some suggestions? Thanks in advance.
>
>
>
>
>
> Regards,
>
> Jason Ye
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Ye, K. <KY...@St...> - 2007-09-19 03:04:26
|
Hi All, =20 I have installed ARSperl v1.81 against perl 5.005, and PDK 7.0.0 which is tied to /tools/ver/ActivePerl-5.8.4 in Solaris 8. The ARSperl was not in @INC path, so I need to add use lib "<ARSperl path>" in my codes to specify the lib used. The codes worked fine. =20 Now I need to compile the codes using PDK to mask remedy account and password. But I got some error: =20 -----Begin Past---- bash-2.03$ perlapp --lib /etc/Tivoli/custom/ar/api --lib /usr/local/Tivoli/custom/ARSperl --norunlib --exe jil_verify --perl /auto/prod/ver/ActivePerl-5.8.4/bin/perl-static jil_verify.pl --verbose PerlApp 7.0.0 build 277058 (perl 5.8.8) Copyright (C) 1998-2007 ActiveState Software Inc. All rights reserved. =20 libperl.so at '/tools/ver/ActivePerl-5.8.4/lib/5.8.4/sun4-solaris-thread-multi/CORE/li bperl.so' is not compatible with the PDK. Using '/auto/prod/ver/ActivePerl-PDK-Pro-7.0.0/lib/libperl.so' instead. =20 Can't load '/usr/local/Tivoli/custom/ARSperl/auto/ARS/ARS.so' for module ARS: ld.so.1: pdkcheck_bundled: fatal: relocation error: file /usr/local/Tivoli/custom/ARSperl/auto/ARS/ARS.so: symbol PL_stack_sp: referenced symbol not found at /</auto/prod/ver/ActivePerl-PDK-Pro-7.0.0/lib/pdkcheck_bundled>DynaLoade r.pm line 214. at jil_verify.pl line 204 Compilation failed in require at jil_verify.pl line 204. BEGIN failed--compilation aborted at jil_verify.pl line 204. 'jil_verify.pl' had compilation errors.. =20 ---End Past---- =20 The 204th line in jil_verify.pl is use ARS; the compiling failed at this line.=20 =20 I don't know whether the compile error is due to the incompatibility of these versions of Perl.=20 =20 Could anybody give me some suggestions? Thanks in advance. =20 =20 Regards, Jason Ye =20 |
|
From: Thomas B. <BE...@SL...> - 2007-09-13 15:57:14
|
Thank you for your message. I am currently out of the office and will not be checking e-mail. Your message has been saved and will be read upon my return. |