SQR Production Reporting Studio supports a command-line option to update layout templates in a batch mode. This is a great benefit if you have many report layouts created from a single template.
The batch mode process connects to the data source. If you have reports from more than one data source, make a separate update.dat file for each of them; otherwise you will see a message stating, “Cannot locate user.”
Table 21. SQR Production Reporting Studio Switches
For example, assume you have the following update.dat file to update your reports:
c:\Hyperion\products\biplus\bin\SQR\Studio\samples\report1.srm c:\Hyperion\products\biplus\bin\SQR\Studio\samples\report2.srm c:\Hyperion\products\biplus\bin\SQR\Studio\samples\report3.srm c:\Hyperion\products\biplus\bin\SQR\Studio\samples\report4.srm
You could use this update.dat file in the following command to update your layout templates in a batch mode:
developer -Tupdate.dat -Q
If you have reports from more than one datasource, make a separate update.dat file for each of them. For example, assume you have the following reports:
To update these reports in a batch mode:
Create two update.dat files, each containing the reports for one data source.
Run the update script for each of the update.bat files.
When a script runs, SQR Production Reporting Studio lists the data sources used for all reports in the file. This is why separate files are necessary for each data source.