30.06.2013 Views

Data Queue APIs--Categories - FTP Directory Listing - IBM

Data Queue APIs--Categories - FTP Directory Listing - IBM

Data Queue APIs--Categories - FTP Directory Listing - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

List Objects (QUSLOBJ) API<br />

QRCL QUSRNOTES<br />

QS36F QUSRPOSGS<br />

QUSER38 QUSRPOSSA<br />

*CURLIB<br />

The job's current library<br />

*LIBL<br />

The library list<br />

*USRLIBL<br />

The user portion of the job's library list<br />

Object type<br />

INPUT; CHAR(10)<br />

The types of objects to search for. You may either enter a specific object type, or a special value of<br />

*ALL. For a complete list of the available object types, see the CL Reference (Abridged) book.<br />

Optional Parameter Group 1<br />

Error code<br />

I/O; CHAR(*)<br />

The structure in which to return error information. For the format of the structure, see Error Code<br />

Parameter. If this parameter is omitted, diagnostic and escape messages are issued to the<br />

application.<br />

Optional Parameter Group 2<br />

Authority control<br />

INPUT; CHAR(*)<br />

The authority to check for on objects and libraries. If this parameter is omitted, the following<br />

occurs:<br />

❍ *EXECUTE authority is checked for on the libraries<br />

❍ *ANY authority (any authority other than *EXCLUDE) is checked for on the objects<br />

❍ Call level 0 is used<br />

This parameter is useful to select objects to which a user is authorized. To accomplish this, specify a<br />

select or omit status value in the selection control parameter. The object name information in format<br />

OBJL0100 is always returned for objects meeting the search criteria identified in the required<br />

parameter group. (This assumes the job has the required authority to the library.) The information<br />

status field is set to an A when the job does not have the object authority specified.<br />

The following example shows what you would specify to obtain a subset of all objects that you have<br />

object management authority to.<br />

The authority control parameter would contain:<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/quslobj.htm (4 of 25) [10/4/1999 2:35:53 PM]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!