Product Feature: Data Build Utilities
Issue
A misleading error of the form:
"Error: Failed to generate xtab from specification file"
is generated if no '-output' parameter is specified to the qsxt data build command (DBC).
"Error: Failed to generate xtab from specification file"
is generated if no '-output' parameter is specified to the qsxt data build command (DBC).
Cause
The 'qsxt' data build command is used to generate an XML crosstab by applying a crosstab specification to a focus.
If the qsxt command is run without specifying '–output' (which is meant to be an optional argument), for example:
C:\Data>qsxt -focus DirectBankUSA.ftr -spec DBUSA_mean_RolloutResponse_Age_Gender_1.qstv
The following error is generated:
*** Error: Failed to generate xtab from specification file 'DBUSA_mean_RolloutResponse_Age_Gender_1.qstv'
If the command is run with a '-output' option:
C:\Data>qsxt -focus DirectBankUSA.ftr -spec DBUSA_mean_RolloutResponse_Age_Gender_1.qstv -output foo.qstv
it completes successfully.
If the qsxt command is run without specifying '–output' (which is meant to be an optional argument), for example:
C:\Data>qsxt -focus DirectBankUSA.ftr -spec DBUSA_mean_RolloutResponse_Age_Gender_1.qstv
The following error is generated:
*** Error: Failed to generate xtab from specification file 'DBUSA_mean_RolloutResponse_Age_Gender_1.qstv'
If the command is run with a '-output' option:
C:\Data>qsxt -focus DirectBankUSA.ftr -spec DBUSA_mean_RolloutResponse_Age_Gender_1.qstv -output foo.qstv
it completes successfully.
Resolution
UPDATED: September 4, 2017Ensure a '-output filename' is supplied to the qsxt data build command.