The following information applies to OnDemand for z/OSThe following information applies to Content Manager OnDemand for i.The following information applies to OnDemand for Multiplatforms.

Vector of hits not maintained by the Content Manager OnDemand API

When you use some of the Content Manager OnDemand Java APIs, the vector of hits are not maintained between retrieve calls.

While using the Java™ APIs to do the following actions, the vector of hits is not maintained by the Content Manager OnDemand API from one retrieve call to another retrieve call:
  • Searching for documents
  • Listing search criteria
  • Displaying documents
  • Printing documents
  • Updating documents
For example, when you use the ODFolder.printDocs API to do a print action, if you use the hits retrieved from a previous module, you might encounter this error:
ODException errorcode: 2170
ODException errormsg: No hits specified