Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Object <strong>APIs</strong><br />
Object <strong>APIs</strong><br />
You can use object <strong>APIs</strong> to obtain information about OS/400 objects. The object <strong>APIs</strong> and their functions<br />
include the following:<br />
● Change Library List (QLICHGLL) changes the current library, the two product libraries, and the<br />
user part of the job's library list.<br />
● Change Object Description (QLICOBJD) changes object information for a specific object.<br />
● Convert Type (QLICVTTP) converts an object type to and from hexadecimal format.<br />
● List Objects (QUSLOBJ) generates a list of object names and descriptive information based on the<br />
specified parameters.<br />
● Materialize Context (QusMaterializeContext) returns either the type and subtype of the object or<br />
system pointers for all or for a selected set of objects that are contained by the context.<br />
● Move Folder to ASP (QHSMMOVF) moves a root folder and its contents from its existing auxiliary<br />
storage pool (ASP) to the specified target ASP through a save and restore process.<br />
● Move Library to ASP (QHSMMOVL) moves a library and its contents from its existing auxiliary<br />
storage pool (ASP) to the specified target ASP through a save and restore process.<br />
● Open List of Objects (QGYOLOBJ) generates a list of object names and descriptive information<br />
based on specified selection parameters.<br />
● Rename Object (QLIRNMO) renames an existing object to a new object name or new library name<br />
or both and optionally replaces the object.<br />
● Retrieve Library Description (QLIRLIBD) retrieves attributes for a specific library.<br />
● Retrieve Object Description (QUSROBJD) retrieves object information for a specific object.<br />
The QUSLOBJ and QUSROBJD <strong>APIs</strong> return much of the same information. However, the <strong>APIs</strong> differ in<br />
several respects:<br />
● The <strong>APIs</strong> group the returned information differently among their output formats. For example, the<br />
OBJL0300 format of the QUSLOBJ API does not contain exactly the same data as the OBJD0300<br />
format of the QUSROBJD API.<br />
● The <strong>APIs</strong> use different data formats for some specific items, such as dates and times.<br />
● The <strong>APIs</strong> differ in efficiency, depending on your application. In most cases, the QUSROBJD API is<br />
faster at retrieving information about a single object. The QUSLOBJ API is faster at retrieving<br />
information about several objects.<br />
Top | Object API categories | <strong>APIs</strong> by category<br />
[Information Center Home Page | Feedback ] [Legal | AS/400 Glossary]<br />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/obj6.htm [10/4/1999 2:35:37 PM]