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.

Rename Object (QLIRNMO) API<br />

The job's current library<br />

*LIBL<br />

The job's library list<br />

Object type<br />

INPUT; CHAR(10)<br />

The type of object being renamed. If the from object and the to object belong to the same library,<br />

only a rename operation is done. The object type must be supported on the RNMOBJ command. If<br />

the from object and the to object belong to different libraries, a move operation is done. The object<br />

type must be supported on the MOVOBJ command. If both a rename and a move operation are<br />

done, the object type must be supported on both the RNMOBJ and MOVOBJ commands. An<br />

asterisk (*) must precede the object type. For a list of the object types that cannot be moved or<br />

renamed, see the CL Programming book.<br />

To qualified object name<br />

INPUT; CHAR(20)<br />

The new name of the object and the new library in which it will be located. The object name can be<br />

the same name as the original object or a new name. The library name can be the same name as the<br />

original library or a new name. If the object name is the same as the original object, the library name<br />

must not be the same as the original library. The first 10 characters contain the object name, and the<br />

second 10 characters contain the library name.<br />

Replace object<br />

INPUT; CHAR(1)<br />

Whether to replace an existing object with the same name as the to object and library name<br />

parameter. The following values can be specified:<br />

0<br />

Do not replace the existing object. If 0 is specified and the object already exists, an error<br />

message is returned to the application.<br />

1<br />

Replace the existing object.<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 />

Usage Notes<br />

This API is conditionally threadsafe. For multithreaded jobs, see the restrictions in the Rename Object<br />

(RNMOBJ) command.<br />

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