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.

Change User Space Attributes (QUSCUSAT) API<br />

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

of the library where the user space is located. The special values supported for the library name are<br />

*LIBL and *CURLIB.<br />

Attributes to change<br />

INPUT; CHAR(*)<br />

The attributes of the user space object that you want to change. The information must be in the<br />

following format:<br />

Number of variable length records<br />

BINARY(4)<br />

The total number of all of the variable length records.<br />

Variable length records<br />

The attributes of the user space to change and the data used for the change. For the specific<br />

format of the variable length record, refer to Format for Variable Length Records.<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 />

Format for Variable Length Records<br />

Offset<br />

Dec Hex Type Field<br />

0 0 BINARY(4) Key<br />

4 4 BINARY(4) Length of data<br />

8 8 CHAR(*) <strong>Data</strong><br />

If you specify a length of data that is longer than the key field's defined data length, the data will be<br />

truncated at the right. No error message will be returned.<br />

If you specify a length of data that is shorter than the key field's defined data length, an error message will<br />

be returned.<br />

You may specify a key more than once. If duplicate keys are specified, the last specified value for that key<br />

is used.<br />

Each variable length record must be 4-byte aligned. If not, unpredictable results may occur.<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/quscusat.htm (2 of 5) [10/4/1999 2:34:50 PM]

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

Saved successfully!

Ooh no, something went wrong!