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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Rename Object (QLIRNMO) API<br />

apply to the QLIRNMO API.<br />

Neither this API nor the MOVOBJ command can move an object to the QTEMP library.<br />

Authorities and Locks<br />

Library Authority<br />

*CHANGE<br />

Note: If you are renaming an object that can only exist in library QSYS, the library authority is not<br />

checked.<br />

Object Authority<br />

*OBJMGT<br />

Notes:<br />

1. Object types of *FILE, *JRN, *JRNRCV, and *MSGQ need *OBJOPR and *OBJMGT<br />

authorities.<br />

2. An object type of *AUTL needs *AUTLMGT authority.<br />

Library Lock<br />

*SHRUPD<br />

Object Lock<br />

*EXCL<br />

If you replace an object, you must be the owner of the from object or have *ALLOBJ special authority.<br />

*ALLOBJ authority is needed to replace the authority on the from object.<br />

When the request is to replace an existing object and the to object already exists, the following authority<br />

considerations apply:<br />

● For *PGM objects, the user must have *OBJEXIST, *OBJMGT, and *READ authorities to the<br />

existing program object.<br />

● For *MENU and *FILE objects, *OBJOPR and *OBJEXIST authorities are needed in addition to<br />

the other authorities listed.<br />

● For other object types, *OBJEXIST authority is needed to delete the existing object in addition to<br />

the other authorities listed. *OBJEXIST and *USE authorities are needed to delete *LIB and<br />

*SBSD objects.<br />

Required Parameter Group<br />

From qualified object name<br />

INPUT; CHAR(20)<br />

The object being renamed and the library in which it is located. The first 10 characters contain the<br />

object name, and the second 10 characters contain the library name. You can use these special<br />

values for the library name:<br />

*CURLIB<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qlirnmo.htm (2 of 6) [10/4/1999 2:36:33 PM]

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

Saved successfully!

Ooh no, something went wrong!