Re: Does $PROCESS$ have a character Limitation using Solaris 9
The version on the Community Downloads doesn't work on Solaris. If you're planning to use it on Solaris, get the ARFperl from Remedy's KB. Just search the KB for arfperl. It's KM-00020600 The Solaris version is arfperl_unix2.tar.gz and it's 290KB. There's also a bug in parsing the output. If a $NULL$ field is passed as an argument and isn't changed, perl sees it as an empty string and it's returned as a $NULL$. If your script sets variable to , it's returned as . Line 374: if (myString != NULL) should be changed to: if (myString != NULL myString[0] != '\0') I don't know if all versions have this bug or whether it's related to the database. Sybase can't have empty character fields, so it replaces them with a single space. -Original Message- From: Carey Matthew Black [mailto:[EMAIL PROTECTED] Sent: Friday, July 14, 2006 4:14 PM To: arslist@ARSLIST.ORG Subject: Re: Does $PROCESS$ have a character Limitation using Solaris 9 Jack, http://www.bmc.com/arsystem/dev_community/ -- Community Downloads (on the left) AKA: ( http://liberty.remedy.com/arsys/servlet/ViewFormServlet?mode=Queryform= DevDownloadsStartview=webserver=action1username=ARWebUserpwd= ) Login Select View All Utilities Find arfperl 5.0 (not sure if there is a version 6 of this) OR Find AR System Scripting Plug-In for Java Your choice depends on what ARS version your using and which language you want to use. HTH. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Solution = People + Process + Tools Fast, Accurate, Cheap Pick two. Never ascribe to malice, that which can be explained by incompetence. On 7/14/06, Jack Samson [EMAIL PROTECTED] wrote: Thanks for the response. I am looking into both solutions. Do I need to compile the ARFPerl Plugin? If so, where do I get this from? Thanks! Jack ___ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
Re: Does $PROCESS$ have a character Limitation using Solaris 9
Jack, There is a limitation, but I am not sure what the value is at the moment. As a suggestion I would think about ARSPerl or the ARS Java API as a better approach for how this can be done. Still call the script via a $PROCESS$ call, but have the script do an ARS submit and return the Entry ID for the row that contains the response from the script. Then do a set field action to get the result from the Result form into the current transaction. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Solution = People + Process + Tools Fast, Accurate, Cheap Pick two. Never ascribe to malice, that which can be explained by incompetence. On 7/14/06, Jack Samson [EMAIL PROTECTED] wrote: All, I had a question on how $PROCESS$ works on a Solaris OS. I have a perl script that I call using a $PROCESS$ that performs a bunch of parsing for the contents of a field. Is their a limitation on how much can be passed and returned to a $PROCESS$? I noticed if I have an Active Link with a character field that contains 12,000 characters that runs the same perl command using the following: $PROCESS$ @@: /usr/bin/perl/parse.pl $field$ It returns the correct 11,900 lines of characters. (As Expected) If I run the same command in a filter: $PROCESS$ /usr/bin/perl/parse.pl $field$, then it only returns about half of the text. If their is a limitation, can someone recommend a workaround with how I can return the parsed field into Remedy? Thanks, Jack _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org ___ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
Re: Does $PROCESS$ have a character Limitation using Solaris 9
Jack, One other variation... Use the Plugin server. Take a look at the ARFPerl plugin. That might be a best solution for your total needs too. ( It would avoid ARSPerl, a temp Results form/record and might even make what your Perl script is doing faster. Well, maybe.) -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Solution = People + Process + Tools Fast, Accurate, Cheap Pick two. Never ascribe to malice, that which can be explained by incompetence. On 7/14/06, Carey Matthew Black [EMAIL PROTECTED] wrote: Jack, There is a limitation, but I am not sure what the value is at the moment. As a suggestion I would think about ARSPerl or the ARS Java API as a better approach for how this can be done. Still call the script via a $PROCESS$ call, but have the script do an ARS submit and return the Entry ID for the row that contains the response from the script. Then do a set field action to get the result from the Result form into the current transaction. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Solution = People + Process + Tools Fast, Accurate, Cheap Pick two. Never ascribe to malice, that which can be explained by incompetence. On 7/14/06, Jack Samson [EMAIL PROTECTED] wrote: All, I had a question on how $PROCESS$ works on a Solaris OS. I have a perl script that I call using a $PROCESS$ that performs a bunch of parsing for the contents of a field. Is their a limitation on how much can be passed and returned to a $PROCESS$? I noticed if I have an Active Link with a character field that contains 12,000 characters that runs the same perl command using the following: $PROCESS$ @@: /usr/bin/perl/parse.pl $field$ It returns the correct 11,900 lines of characters. (As Expected) If I run the same command in a filter: $PROCESS$ /usr/bin/perl/parse.pl $field$, then it only returns about half of the text. If their is a limitation, can someone recommend a workaround with how I can return the parsed field into Remedy? Thanks, Jack ___ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
Re: Does $PROCESS$ have a character Limitation using Solaris 9
Jack, http://www.bmc.com/arsystem/dev_community/ -- Community Downloads (on the left) AKA: ( http://liberty.remedy.com/arsys/servlet/ViewFormServlet?mode=Queryform=DevDownloads Startview=webserver=action1username=ARWeb Userpwd= ) Login Select View All Utilities Find arfperl 5.0 (not sure if there is a version 6 of this) OR Find AR System Scripting Plug-In for Java Your choice depends on what ARS version your using and which language you want to use. HTH. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Solution = People + Process + Tools Fast, Accurate, Cheap Pick two. Never ascribe to malice, that which can be explained by incompetence. On 7/14/06, Jack Samson [EMAIL PROTECTED] wrote: Thanks for the response. I am looking into both solutions. Do I need to compile the ARFPerl Plugin? If so, where do I get this from? Thanks! Jack ___ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org