You use this program to:
Create the SSIS packages in the MSDB database
Create and maintain the SQL Server Agent jobs
Run diagnostics to assist in troubleshooting
This program can be run standalone, or from the Administration tab in the SYSPRO Analytics Setup program.
Once you have successfully configured your Analytics Servers and Sites, as well as enabled your companies and operators, you are then ready configure your jobs.
Field | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tools | |||||||||||||||
Logging |
|
||||||||||||||
Options | Change any of the SYSPRO Analytics options. | ||||||||||||||
Help | |||||||||||||||
Contents | Open the SYSPRO Help window. | ||||||||||||||
About SYSPRO Analytics | View information regarding the version of SYSPRO Analytics installed on the client workstation. | ||||||||||||||
Main Menu | Show the Menu pane (left pane) if this pane was closed. | ||||||||||||||
Summary List | Show the Task pane (right pane) if
this pane was closed. This only applies to Setup and Administration. |
||||||||||||||
Master Database Settings | Select this to:
|
A SYSPRO Analytics job refers to the process of extracting data from the SYSPRO database and transferring that data to the SYSPRO Analytics data warehouse.
The job also transforms and cleans some of the data, ensuring that there are valid links between the Dimension and Transaction tables.
The final step of the job is to load the data into the Analytics cubes and process it so that the data becomes available for analysis (the ETL process).
The more regularly the job is executed, the more recent data is available. Therefore it is good practice to execute this job automatically using the scheduler, once a day during non-productive hours.
Field | Description | ||||
---|---|---|---|---|---|
New | Add a new SYSPRO Analytics job. When you select this, the SYSPRO Analytics Job Wizard is displayed. |
||||
Delete | Delete a job.
|
||||
Save | Save a job. | ||||
Refresh | Refresh the list of existing jobs as well as the
history displayed in the History
pane. You can use this to monitor the progress of the job in the History pane as it is executed. |
||||
Start | Start the job. If the job immediately fails on the first step:
|
||||
Stop | Stop the job. |
When you select New, the SYSPRO Analytics Job Wizard is displayed.
This wizard helps you to create a job whereby you select the following:
site against which the job will run
job details (i.e. the build type and dimension process type)
job step options
the companies to which the job applies
the cubes for which you want data transferred
the job schedule
Field | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Site Selection | |||||||||||||
Analytics site name | Select the name of the previously created SYSPRO Analytics site that you want to create the job for. | ||||||||||||
Job Details | |||||||||||||
Job name | Enter a name for the job. | ||||||||||||
Description | Enter a description for the job (optional). | ||||||||||||
SQL category | Enter a SQL category (optional). | ||||||||||||
Enable job | Enable the job as soon as it is created. If a job is disabled, then the SQL Server Agent will not execute it. |
||||||||||||
Build type | Select the type of objects that you want to
process. You can select either Cubes or Analysis Objects. By default you should select Cubes as this will build the cubes and ensure that the data is available in the SYSPRO Analytics Viewer. |
||||||||||||
Dimension Process type | Select how you would like to process the
dimensions:
|
||||||||||||
Recreate SSIS packages | Enable this option to recreate all the SSIS
packages. If this is the first time that the job is going to be executed, you need to select this to ensure that all the required SSIS packages are created. |
||||||||||||
Run ETL within transaction | Enable this option to run the ETL process within a SQL transaction. | ||||||||||||
Job Step Options | You need to select at least one of the job step
options, otherwise there will be no steps to add to the job
and you cannot add a job without steps.
|
||||||||||||
Process ETL packages | Add steps to the job to execute the ETL packages in
order to extract, transform and load data from the SYSPRO
database to the Analytics database.
|
||||||||||||
Process Dimensions | Add steps to process the dimensions that affect the
cubes selected.
|
||||||||||||
Process Cubes | Add steps to process the cubes.
|
||||||||||||
Companies | A list of SYSPRO companies that you enabled (in the
Company Details pane in the
SYSPRO Analytics Setup window) is
displayed. Select the SYSPRO companies that you require the job to extract data from. A set of ETL packages for each company will be created. The Dimensions and Cubes packages are not company-specific. |
||||||||||||
Cubes | A list of all the available cubes is
displayed. Select the cubes you require the job to update. If you are executing the job for the first time, Select All to ensure that all the cubes are updated. |
||||||||||||
Schedules | A list of available schedules is
displayed. Select one of the applicable existing schedules. If none of the existing schedules are appropriate, then you can create your own. This is an optional step, and if you do not select or create any schedules, then the job will be run manually. |
||||||||||||
New | Add a new schedule. When you select this, the Add New Schedule window is displayed. |
||||||||||||
Change | Change an existing schedule. When you select this, the Maintain Schedule: SYSPRO Analytics window is displayed, which is similar to the Add New Schedule window. |
||||||||||||
Delete | Delete an existing schedule. |
If you select an existing job, then the job's details are displayed in the Details pane.
Field | Description | ||||
---|---|---|---|---|---|
Job Details | |||||
Name | This indicates the name of the job. | ||||
Description | This indicates the description of the job. | ||||
Enabled | Enable or disable the job.
|
If you select an existing job, then a list of all the existing schedules is displayed in this pane. You can select or deselect the job schedules that you want to maintain.
Field | Description |
---|---|
Add | Add a job schedule. |
Change | Maintain the selected job schedule. |
Delete | Delete the selected job schedule from the SQL Server Agent in SQL Server Management Studio. |
If you select an existing job which has been executed before, then a list of the job history is displayed in this pane.
A line entry is created every time a job is executed. If you collapse the line entry, you can view the details per step executed.
When a job is busy executing, then In-progress is displayed in the Status column against the job.
Field | Description |
---|---|
Delete | Delete the history entry of a job from the SQL Server Agent in SQL Server Management Studio. |
When you select New in the Schedules pane, then the Add New Schedule window is displayed.
Field | Description | ||||||
---|---|---|---|---|---|---|---|
Schedule name | Enter a unique name for the schedule. | ||||||
Schedule type | Select the schedule type. You can select either Recurring or One time. |
||||||
Enabled | Enable or disable the job.
|
||||||
One-time occurrence | If you selected One time as the schedule type, indicate the Date and Time that the job must be executed. | ||||||
Frequency | |||||||
Occurs | Select how often the job must be executed. | ||||||
Recurs every | Select how often the job execution must
recur. Depending on your selection at the previous option, different options are available. |
||||||
Daily Frequency | |||||||
Occurs once at | If the job must be executed at a specific time, indicate the time that it must be executed. | ||||||
Occurs every | Select the job execution interval (e.g. every 4
hours).
|
||||||
Duration | Select the Start and End date of the date period that the job schedule is valid for, or if the job schedule is valid indefinitely. | ||||||
Summary | |||||||
Description | Description of all the scheduling options you have selected. | ||||||
Create/Update | Create the new job or update the existing job that you have changed. | ||||||
Cancel | Cancel out of the program. |
Once the Add New Schedule wizard is complete, it will do the following:
Create the SSIS packages on the SQL server defined as the Integration Server against the SYSPRO Analytics site configuration. These SSIS packages are created within the MSDB database.
You can view these packages in SQL Server Management Studio within the Integration Services SQL Server (\Server\Stored Packages\MSDB\SYSPRO Analytics\SYSPRO Analytics Site 1\Company 1).
These packages are created per company selected.
Create a job, including:
job steps to run the SSIS packages per company
job steps to run the stored procedures and SQL views
job steps to process the dimensions (one step per dimension). These steps are configured as SQL Server Analysis Services XML commands
job steps to process the cubes (one step per cube). These steps are configured as SQL Server Analysis Services XML commands.
The data is therefore extracted from the data source (normally the SYSPRO SQL database), transformed and loaded into the SYSPRO Analytics OLAP database.
You can view the job, job steps and details within the SQL Server Agent in SQL Server Management Studio.
If you select Run ETL with transaction within Job Details, then you must ensure that the Distributed Transaction Coordinator service (which is not started by default) has been started on the Analytics server.
If this service is not running, the job will fail on the first step.
If the company you are looking for is not displayed in the Companies window, then:
check if the company is included in the SYSPRO Analytics site
check if the company is enabled for analysis.
Ensure you have enabled the job, otherwise it will not be processed.
If you select the Recreate SSIS packages option, then all SSIS packages will be overwritten, including customized packages. If there are customized SSIS packages it is good practice to rename the packages so that they are not overwritten.
If you select the Run ETL with transaction option, then you must ensure that the Distributed Transaction Coordinator service (which is not started by default) has been started. This allows for roll back if there is an interruption when transferring data (i.e server crash).
SQL Server will roll back the transaction including updating the sysaf_SourceFilters table. This ensures that when you next transfer data there will be no duplicates.