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.

Retrieve User Space Attributes (QUSRUSAT) API<br />

The length of the receiver variable. If the length is larger than the size of the receiver variable, the<br />

results may not be predictable. The minimum length is 8 bytes.<br />

Format name<br />

INPUT; CHAR(8)<br />

The format of the space information to be returned. The format names supported are:<br />

SPCA0100<br />

Basic information<br />

Refer to SPCA0100 Format for details on the format.<br />

Qualified user space name<br />

INPUT; CHAR(20)<br />

The user space for which you want to retrieve information, and the library in which it is located. The<br />

first 10 characters contain the user space name, and the second 10 characters contain the library<br />

name. You can use these special values for the library name:<br />

*CURLIB<br />

The job's current library<br />

*LIBL<br />

The library list<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.<br />

SPCA0100 Format<br />

The following information about a user space is returned for the SPCA0100 format. For detailed<br />

descriptions of the fields in the table, see Field Descriptions.<br />

Offset<br />

Dec Hex Type Field<br />

0 0 BINARY(4) Bytes returned<br />

4 4 BINARY(4) Bytes available<br />

8 8 BINARY(4) Space size<br />

12 C CHAR(1) Automatic extendibility<br />

13 D CHAR(1) Initial value<br />

14 E CHAR(10) User space library name<br />

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

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

Saved successfully!

Ooh no, something went wrong!