On 19-Nov-2015 10:39 -0600, Buck Calabro wrote:
On 11/19/2015 11:20 AM, Paul Nelson wrote:

Is there some sort of API that can retrieve just the text field
associated with a user profile?

I know that DSPUSRPRF to an outfile is possible, but the
programmers are looking for a faster way.

The Object-related API page for 7.2 says this:

' The QUSLOBJ and QUSROBJD APIs return much of the same
information. The APIs differ, however, in several respects:

The APIs group the returned information differently among their
output formats. For example, the OBJL0300 format of the QUSLOBJ API
does not contain exactly the same data as the OBJD0300 format of the
QUSROBJD API.

The APIs use different data formats for some specific items,
such as dates and times.

The APIs differ in efficiency, depending on your application. In
most cases, the QUSROBJD API is faster at retrieving information
about a single object. The QUSLOBJ API is faster at retrieving
information about several objects.'

[http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/obj6.htm]


FWiW: Yet the single 50-byte datum, the "text field associated with *a* user profile" [emphasis mine; presumed an accurate reflection by the OP of what is desired], either of the Retrieve Object Description (RTVOBJD) or the Retrieve User Profile (RTVUSRPRF) for their TEXT() are arguably much simpler interfaces, and are quite likely to be nearly as fast if not faster than any of those other APIs; i.e. as a CL Command performing a /retrieve/ feature, those each are also effectively an API.


This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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].