You can use SuperCROSS to carry out batch processing.
When SuperCROSS is configured to use this mode, it acts like a server. It will regularly poll a specific directory (referred to as the "interchange directory") to check for any new TXD or SCS format files. If it finds a new file in the interchange directory, SuperCROSS will automatically process the job, running the cross tabulation and creating output files with the results of the tabulation. When you set up batch processing, you can specify which output formats you want to generate and SuperCROSS will automatically create output files in all of these formats.
If you make the interchange directory a shared network directory, then other users in your organisation will be able to use SuperCROSS for batch processing; they can copy their source TXD file to the shared network directory, wait for SuperCROSS to process the tabulation and then collect the tabulated files from the output directories.
This section describes how to set up SuperCROSS for batch processing.
Create a directory somewhere on your computer for use as the interchange directory. This can have any name you like and can be located anywhere.
When you configure batch processing, SuperCROSS will automatically scan four sub directories inside this directory, as follows (SuperCROSS will create these directories automatically if they do not already exist):
|Error||Used if there is an error during table processing. If an error occurs, SuperCROSS moves the source file to this directory, and creates a log file in this directory with details of the error.|
This is the input directory. SuperCROSS will check this directory at regular intervals for new TXD and SCS files to process.
SuperCROSS removes the source file from this directory when processing is complete.
|Mandatory||You can choose which output formats you want to create by specifying them as mandatory. After running the cross tabulation, SuperCROSS creates all these output formats and saves them in this directory.|
After SuperCROSS has run the cross tabulation, it saves the file in SuperCROSS SCS format in this directory.
Add the following section (or edit the existing section if it already exists):
[BatchProcessing] InterchangeDirectory=D:\STR\Interchange Catalogue=C:\ProgramData\STR\SuperSERVER SA\databases
Make sure the directory paths match the appropriate locations on your system:
Start SuperCROSS and select File > Client/Server Connection.
The Client/Server Connection dialog displays.
In the Check For Tables Every section, enter a value greater than 0, for example 60.
This specifies how frequently SuperCROSS will check for new source files to process (if it is set to 0, SuperCROSS will not check for new files).
Select all of the output formats that you want to be created each time SuperCROSS process a job, then click OK.
If you intend to use batch processing to create SDMX output, then you should make sure that you have configured SuperCROSS not to show the Saving to SDMX options dialog.
If SuperCROSS is configured to display this dialog then it will interrupt the batch processing, as it will pop up and wait for your input:
To ensure that the dialog does not display:
Search the file for the
[SDMX] section and make sure that the
ShowDialog setting is set to
|If there is no |
Save your changes.
SuperCROSS is now ready to run in batch processing mode. Test the configuration by copying a TXD file to the Input directory within your interchange directory. If everything has been configured correctly, it will process the source file and create the output files in the Mandatory and Output directories.
The SuperCROSS application must be running in order for batch processing to take place.