DSSetGenerateOpMetaData

Use the DSSetGenerateOpMetaData function to specify whether the job generates operational metadata or not. This function overrides the default setting for the project.

Syntax


ErrCode = DSSetGenerateOpMetaData (JobHandle, value)

JobHandle is the handle for the job as derived from DSAttachJob.

value is TRUE to generate operational metadata, FALSE to not generate operational metadata.

ErrCode is 0 if DSRunJob is successful, otherwise it is one of the following negative integers:

  • DSJE.BADHANDLE Invalid JobHandle.
  • DSJE.BADTYPE value is wrong.

Example

The following command causes the job qsales to generate operational metadata whatever the project default specifies:

GenErr = DSSetGenerateOpMetaData(qsales_handle, TRUE)