amarcionek

updated

18 years ago

A

amarcionek

1 Rookie

56 Posts

0

6288

November 4th, 2008 13:00

XAM Query Problems

Having problems issuing a query. Using US2 and the PEAs xamconnect.pea and xam_default.pea (taken from the early development kit.)

XSystem Props: .xsystem.job.list.xam.job.query, .xsystem.job.xam.job.query.level1.supported, com.emc.centera.capabilities.clip-enumeration.allowed and .xsystem.auth.granule.list.job are all set to true. However, .xsystem.job.commit.supported and .xsystem.auth.granule.list.job-commit are both set to false.

Here is my psuedocode for creating the job...

XSystem_CreateXSet(hSystem, XSET_MODE_MODIFY, &hxSetJob);

XAM_CreateString (hxSetJob, XAM_JOB_COMMAND, true, XAM_JOB_QUERY);

XAM_CreateString (hxSetJob, XAM_JOB_QUERY_COMMAND, true, "SELECT \".xset.xuid\"");

XSet_SubmitJob(hxSetJob); // Returns ApiErr:1036 (xam/job command invalid)