Publishing Framework
RETRIEVE_NESTEDRetrieves the descriptive header information for a nested package entry. SyntaxCALL RETRIEVE_NESTED(entryId, packageId, numEntries, desc, dateTime, nameValue, rc);
DetailsThe descriptive header information that is returned on this CALL routine includes the nested package description, name/value string, datetime stamp, and total number of entries that are contained in the nested package.
The returned Package identifiers that are returned on the RETRIEVE_NESTED CALL routine cannot be used on the PACKAGE_DESTROY CALL routine. The RETRIEVE_NESTED CALL routine supports only top-level packages, excluding nested packages. When PACKAGE_DESTROY is called on a top-level package, all entries, including all nested packages and their entries, are removed from the queue.
The following example retrieves the descriptive header information for the
nested package entry associated with packageId=0; num=0; desc=''; dt=0; nv=''; rc=0; CALL RETRIEVE_NESTED(entryId, packageId, num, desc, dt, nv, rc);
|