× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yes .. right.
I also got the parameters for this.
Thanks.

Now, I have moved some records to USER INDEX and want to retrieve all the
records thru QUSRTVUI.
No search type provides the way to get all the records. (Search type (input,
4 bytes, binary)--the type of search to perform. Valid values: 1 = equal; 2
= greater than; 3 = less than; 4 = greater than or equal; 5 = less than or
equal; 6 = first (the first entry in the user index); 7 = last (the last
entry in the user index); 8 = between)

How can I use between if i want to?
Or is there anything else to get all the records ?


Thanks and Regards,
Gauri.


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of HauserSSS
Sent: Saturday, April 16, 2005 4:07 PM
To: RPG programming on the AS400 / iSeries
Subject: AW: User Index


Hi,

there are a couple of APIs to handle User Indexes:
  Add User Index Entries (QUSADDUI)
  Create User Index (QUSCRTUI)
  Delete User Index (QUSDLTUI)
  Remove User Index Entries (QUSRMVUI)
  Retrieve User Index Attributes (QUSRUIAT)
  Retrieve User Index Entries (QUSRTVUI)

Just look at the decriptions in the online library:
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/index.htm?info/
rzahgmtu.htm

Birgitta

-----Ursprungliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]Im Auftrag von Gauri Kulkarni
Gesendet: Freitag, 15. April 2005 09:35
An: 'RPG programming on the AS400 / iSeries'
Betreff: User Index


Hello,

I am trying to create a user index thru 'QUSCRTUI' which is handled in my
RPG program.
I could create the index but dont know how to write and retrieve the records
thru the RPG
program.
Can Anybody help me doing this?

Also, if the user index exists, i had to delete it and create the new one
for new data. Is there any pgm or something which will help to CLEAR the
user index instead of deleting and creating it again ?

Thanks and Regards,
Gauri.



http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@xxxxxxxxx and delete this mail.
_____________________________________________________________________


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@xxxxxxxxx and delete this mail. 
_____________________________________________________________________

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.