Developer Documentation Library > Interviewer - Server > Configuration and customization > Customized Interviewing reports > Writing and debugging custom interviewing reports in UNICOM Intelligence Professional
 
Writing and debugging custom interviewing reports in UNICOM Intelligence Professional
The TestCATIReport.mrs file contains an mrScriptBasic script that mimics the Interviewing activity. This script and a sample report called AppointmentDistribution.mrs are in:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\<version>\DDL\Scripts\General\mrScriptBasic
To run this report you can use the AppointmentDistribution.mdd file in:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\<version>\Interviewer Server\FMRoot\Shared\Cati\Reports for reporting text
It is your responsibility to provide translations in the .mdd file for any customized reports, so that any titles or annotations in the report show up in the correct language for the user.
All the reports below the line in the Interviewing activity are custom reports. You can see the scripts used to generate these reports in DPM and the .mdd files associated with these reports in the FMRoot\Shared\CATI\Reports folder.
To view the example report
1 Load TestCATIReport.mrs into UNICOM Intelligence Professional.
2 Set the constants in the INSTALLATION SPECIFIC and PROJECT SPECIFIC sections as specified.
3 Run the script.
To create a custom report
1 Create a new .mrs and .mdd file for the report (you can copy and rename the example).
The .mdd file must contain a Name and Description that can be displayed in the Interviewing activity's menu.
For information on the variables are available for a report and how to make new variables available for tabulation, see How the standard reports work.
For information on tables scripting, see Table scripting.
2 Update the REPORT SPECIFIC section of TestCATIReport.mrs to include your report.
3 Run TestCATIReport.mrs to test the output for your report.
4 When you are happy with the output, install the report in the Interviewing activity, and test from there. See Installing interviewing reports in the Interviewing activity.
See also
Customized Interviewing reports