Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Configuration File

The hashedFiles section of the S2PX configuration file allows you to set defaults for the Parallel DRS stage used to replace Server Hashed Files. Here’s an example:

...

S2PX takes these properties and generate a Parameter Set called SPXHashedFiles which contains each of these properties as a parameter with the default value for each of those parameter taken from the values specified in the configuration file. S2PX also creates a single values file called default which also has values taken from the values specified in the configuration file.

Generated Jobs expect parameters set passed

Top-level sequence also passes Parameter Set SPXHashedFiles to each Job task with the value file default.

Reason: If we don’t specify Value File we’ll use using Hashed Files will have the SPXHashedFiles Parameter Set added as a Job parameter.

Where a Server Job has been decomposed into multiple Parallel Jobs S2PX will generate a co-ordinating Job Sequence with the same name and parameters as the original Server Job. These Sequences will also pass the SPXHashedFiles Parameter Set to each of its Job Activities with the Value File default. The reason for this is that if DS2PX didn’t specify the Value File and used the Parameter Set default values which means then if you want wanted to change those parameter values later on you’ll you’d need to re-compile all the jobs Jobs which use that poaramete Parameter Set. A The use of a single value file Value File centralises the parameters in a single one location which can be easily altered without requiring a chance to your compiled Jobthe recompilation of all Jobs using Hashed Files.

Job Decomposition and Sequences

Where a Server Job has been As mentioned, Server Jobs decomposed into multiple Parallel Jobs S2PX will generate a are co-ordinating ordinated by a Job Sequences Sequence with the same name and parameters as the original Server Job. Where these Jobs use Hashed Files the This Sequence will not feature an instance of have the SPXHashedFiles Parameter Set as one of its parameters as this would change the signature of the Sequence , (which is intended as a drop-in replacement for the original Server Job) thereby rendering it incompatible with any other other Job Sequences or external scheduling mechanisms which call invoke it. In Within this case sequence each Job activity Activity is hard-coded to use the default Value File.

Schema Parameter

An additional optional parameter called schema can be specified to add a schema parameter to the SPXHashedFiles Parameter Set. When supplied this value is used as a prefix for all Hashed File table names. The . delimiter will be added automatically and does not need to be specified in the configuration file. If this value is omitted no schema parameter is added to the SPXHashedFiles Parameter Set.

...