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 />

the list of object authorities. The offset value must be at least 28, which is past the reserved portion of the<br />

format.<br />

Displacement to statuses. The byte offset from the beginning of the selection control format to the list of<br />

statuses requested. The offset value must be at least 20, which is past the reserved portion of the format.<br />

Error code bytes provided. The length of the area that the calling application provides for the error code,<br />

in bytes.<br />

Extended object attribute. The extended attribute of the object, such as a program or file type. Extended<br />

attributes further describe the object. For example, an object type of *PGM may have a value of RPG<br />

(RPG program) or CLP (CL program), and an object type of *FILE may have a value of PF (physical file),<br />

LF (logical file), DSPF (display file), SAVF (save file), and so on.<br />

Format name. The format of the returned output.<br />

Information status. Whether or not the QUSLOBJ API returns the requested information for this object.<br />

Possible values are:<br />

blank<br />

The requested information is returned. No errors occurred.<br />

A<br />

No information is returned. The job that called this API needs either the authority specified in the<br />

object authorities field or *ANY authority (the default) to the object.<br />

D<br />

The requested information is returned. However, the object is damaged and should be re-created as<br />

soon as possible.<br />

L<br />

No information is returned because the object is locked.<br />

P<br />

The requested information is returned. However, the object is partially damaged. In most instances,<br />

to recover from partial object damage, you delete the damaged object and either restore a saved<br />

copy or create the object again. For some damaged objects, special recovery procedures are<br />

possible. Refer to the Backup and Recovery book for more information on damaged objects.<br />

If two or more conditions occur that include no authorization (A) to the object, the status is set to A. If the<br />

object is damaged (D) and locked (L), or if the object is partially damaged (P) and locked, the status is set<br />

to L.<br />

If the value of this field is A or L, your application should not use the other fields for the object. Only the<br />

object name, library, and type fields contain accurate data.<br />

Last-used date and time. The date and time at which the object was last used, in system time-stamp<br />

format. If the object has no last-used date, the field contains hexadecimal zeros.<br />

Length of authority control format. The total length of the authority control format. The minimum size<br />

is 48 bytes, which allows for one object and one library authority. An error is returned if the length<br />

specified is less than the minimum.<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/quslobj.htm (16 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!