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.

Create User Space (QUSCRTUS) API<br />

truncated using the Change User Space Attributes (QUSCUSAT) API of the Modify Space (MODS) MI<br />

instruction (for user-domain user spaces). (The MODS instruction will not work on system-domain user<br />

spaces if the security level of the system is 40 or greater.)<br />

Note: For performance reasons, the *USRSPC object is created before checking to see if it exists in the<br />

library specified for the qualified user space name. If you have an application using this API repeatedly,<br />

even if you are using *NO for the replace parameter, permanent system addresses will be used. Change<br />

User Space Attributes (QUSCUSAT) API or the Modify Space (MODS) MI instruction (for user-domain<br />

user spaces). (The MODS instruction will not work on system-domain user spaces if the security level of<br />

the system is 40 or greater.)<br />

Authorities and Locks<br />

User Space Authority<br />

*OBJMGT, *OBJEXIST, and *READ. These authorities are required only if the replace parameter<br />

is used and if there is an existing user space to replace.<br />

User Space Library Authority<br />

*READ and *ADD.<br />

User Space Lock<br />

*EXCL. This applies to both the user space being created and an existing user space being replaced.<br />

Required Parameter Group<br />

Qualified user space name<br />

INPUT; CHAR(20)<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 only special value supported for the library name<br />

is *CURLIB.<br />

User spaces created in the QTEMP and QRPLOBJ libraries are not forced to permanent storage;<br />

they are deleted when those libraries are cleared at sign-off and system IPL, respectively.<br />

Extended attribute<br />

INPUT; CHAR(10)<br />

The extended attribute of the user space. For example, an object type of *FILE has an extended<br />

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

The extended attribute must be a valid *NAME. You can enter this parameter in uppercase,<br />

lowercase, or mixed case. The API converts it to uppercase.<br />

Initial size<br />

INPUT; BINARY(4)<br />

The initial size of the user space being created. This value must be from 1 byte to 16, 776, 704<br />

bytes.<br />

Initial value<br />

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

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

Saved successfully!

Ooh no, something went wrong!