Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Open List of Objects (QGYOLOBJ) API<br />
0<br />
All records are built asynchronously in the list.<br />
If a positive number of records is specified at least that many are built synchronously (in order to<br />
return those immediately to the caller of this API) and the remainder are built asynchronously by a<br />
server job.<br />
Sort information<br />
INPUT; CHAR(*)<br />
Information about which fields within the record structure to sort. For the layout of this structure,<br />
see Sort Information Format.<br />
Object and library name<br />
INPUT; CHAR(20)<br />
The object and library names to place in the list. The first 10 characters contain the object name,<br />
which may be a simple name, a generic name, or the special values *ALL, *ALLUSR, or *<strong>IBM</strong>.<br />
When *ALLUSR is specified with a library name of *LIBL or QSYS and an object type of *LIB, a<br />
list of all user-defined libraries is returned. When *<strong>IBM</strong> is specified with a library name of *LIBL<br />
or QSYS and an object type of *LIB, a list of all system (<strong>IBM</strong>) libraries is returned. This is the list<br />
of libraries that were saved or restored on the Save Library (SAVLIB) or Restore Library (RSTLIB)<br />
CL command with LIB(*<strong>IBM</strong>).<br />
Library name errors are reported with escape messages when a single library is specified. When<br />
searching a set of libraries (*ALL, *ALLUSR, *LIBL or *USRLIBL), library errors are reported<br />
with diagnostic messages and processing continues. Library authority error messages are not sent<br />
when searching a set of libraries. Escape messages are not sent for object name errors. To determine<br />
if errors occurred on the object, check the list information returned and the information status field<br />
in the receiver variable.<br />
The second 10 characters identify the name of the library or libraries to search for the specified<br />
objects. The following special values are allowed:<br />
*ALL<br />
All libraries<br />
*ALLUSR<br />
All user-defined libraries, plus libraries containing user data and having names starting with<br />
Q. All libraries with names that do not begin with the letter Q are searched except for the<br />
following:<br />
#CGULIB #RPGLIB<br />
#COBLIB #SDALIB<br />
#DFULIB #SEULIB<br />
#DSULIB<br />
Although the following Qxxx libraries are provided by <strong>IBM</strong>, they typically contain user data<br />
that changes frequently. Therefore, these libraries are considered user libraries and are also<br />
searched:<br />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qgyolobj.htm (3 of 24) [10/4/1999 2:36:21 PM]