Assume that the QCD named MyQCD exists on the system. The following INITIATE INDEX ANALYSIS request performs successfully:
INITIATE INDEX ANALYSIS ON table_1 FOR MyWorkload IN MyQCD AS table_1Index;
If MyQCD does not exist in the system, the same request fails.
INITIATE INDEX ANALYSIS ON table_1 FROM MyWorkload IN MyQCD AS table_1Index;
Result:
*** Failure 3802 Database 'MyQCD' does not exist.