Re: [Arsperl-users] AR_RETURN_WARNING
Brought to you by:
jeffmurphy
|
From: Carey M. B. <bla...@gm...> - 2005-06-14 13:51:12
|
Amen, Not really sure why you think an ARSPerl list is the right place to post an ARS C API question.... ( I would think www.arslist.org would have been a better choice.) However, with that said, I will still take a stab at the problem. It sounds like ... Your using the ARGetListEntry function and the AREntryListFieldList structure is being truncated because the form is configured with to many fields in the Results list. First, if this is the case then, this should be a safe error to ignore. (unless you are only getting your data from the AREntryListFieldList structure. If you are doing that then I would suggest you use the ARGetListEntryWithFields function anyway.) The reason you can safely ignore it is that when you later call the ARGetEntry function you get all the details anyway. On the other hand... You might also be seeing that the ARGetListEntry function is only returning a subset of the actual number of records found on the form.(100 of 1000000) If so then check your maxRetrieve value in the function and the Server's configuration for AR_SERVER_INFO_MAX_ENTRIES. That setting might be what your being limited by too. If so then reuse the ARGetListEntry with a setting for ->firstRetrieve and set it to the max Entry ID that was returned by the previous call to ARGetListEntry and repeat until you get zero records from the query. HTH. --=20 Carey Matthew Black Remedy Skilled Professional (RSP) ARS =3D Action Request System(Remedy) Solution =3D People + Process + Tools Fast, Accurate, Cheap.... Pick two. Never ascribe to malice, that which can be explained by incompetence. http://www.fellowshipchurch.com On 6/13/05, Amen Asemota <aas...@ho...> wrote: > Hi, >=20 > I am trying to run a C program in Unix to retrieve data from remedy. It > compiles ok but when I run it, I get the error message below. Is there a = way > to change the Maximum return in a query to say up to a 1000?. >=20 > ERROR: DTR-Workorder Get List Entry: 'WO Status' =3D "Closed" AND 'Action= ' !=3D > $NULL$ AND ('Asset Updated?' =3D "No" OR 'Asset Updated?' =3D $NULL$) > Number of items in Status List: 1 > Message Type: WARNING Message Number: 8911 > Message: Some of the fields have been truncated from the results list > because the total length of the fields and separators is greater than the > maximum allowed > Appended Message: >=20 > Please help!!! >=20 > Thank you. >=20 > Amen. |