|
![]() |
Property | Value |
Name | DimGlCodeLoad |
Description | This package will load any change to the DimGlCode dimension. The first step in this package is to truncate all the working tables needed to track new and updated records. The next step will load the data into a staged table in DWOperations. The data will be checked if there are any duplicate records and these will be flagged. The data in the Staged Table will be compared against that in the dimension and will be inserted or updated as required. If any duplicate records were found, a notification e-mail will be send to the appropriate staff |
Checkpoint File Name | |
Checkpoint Usage | Never |
Check Signature On Load | True |
Creation Date | Tuesday, May 08, 2012 4:11 PM |
Creator Computer Name | ipeterson |
Creator Name | ipeterso\hetgroup |
Debug Mode | False |
Delay Validation | False |
Disable | False |
Disable Event Handlers | False |
Enable Configurations | True |
Encrypt Checkpoints | False |
Fail Package On Failure | False |
Fail Parent On Failure | False |
Forced Execution Value | 0 |
Force Execution Value | None |
Description | False |
ID | f3200c5f-5534-4ec4-8a95-085d6cb8ed8c |
Interactive Mode | False |
Is Default Locale ID | False |
Isolation Level | Serializable |
Locale ID | 1033 |
Logging Mode | Enabled |
Max Concurrent Executables | -1 |
Maximum Error Count | 1 |
Offline Mode | False |
Package Type | DTSDesigner100 |
Protection Level | EncryptSensitiveWithUserKey |
Save Checkpoints | False |
Suppress Configuration Warnings | False |
Suspend Required | False |
Transaction Option | Supported |
Update Objects | False |
Version Build | 281 |
Version Comments | |
Version Guid | 8cb4af4a-c78f-4982-8c49-5f76f76c25b2 |
Version Major | 1 |
Version Minor | 0 |
Name | Type | Description |
Data Flow Task |
Data Flow Task |
|
Data Flow Task |
Data Flow Task |
|
Sequence |
Sequence Container |
|
Sequence |
Sequence Container |
|
Task |
Execute SQL Task |
|
Task |
Execute SQL Task |
|
Task |
Execute SQL Task |
|
Task |
Execute SQL Task |
Name | Description |
Name | Description |
Name | Value | Expression | Description |
Y |
Configuration setting in SSIS_Configurations that determines if Alerts will be send via e-mail in case of an abend or data problems |
||
DELETE
FROM
[EnterpriseDW] .[dbo].[DimGlCode]
WHERE GlCodeSK IN
(
SELECT GlCodeSK
FROM [dbo].[Obsolete_DimGlCode] obs
WHERE obs.DoNotDeleteFlag = 0
)
|
"
DELETE
FROM
" + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "] .[dbo].[DimGlCode]
WHERE GlCodeSK IN
(
SELECT GlCodeSK
FROM [dbo].[Obsolete_DimGlCode] obs
WHERE obs.DoNotDeleteFlag = 0
)
" |
This is the SQL Statement that will be used to delete records from the DimGlCode if they were deleted from the Source System. |
|
Configuration setting from SSIS_Configuration to specify the domain where the e-mail server is running. |
|||
EnterpriseDW |
Configuration setting in SSIS_Configurations that specifies the name of the Enterprise Data Warehouse. |
||
N/A |
If the Enterprise Data Warehouse resides on a different server from the DWStaging and DWoperations databases, a linked server must be defined and the name populated into the Var_EDWLinkedServername. If it resides on the same server, this setting must be set to ?N/A?. This is a configuration setting from SSIS_Configurations. |
||
The list of files to be attached to the e-mail detailing record counts and data validation issues. |
|||
Testing (text maintained in SSIS Configurations table) |
The text that will be coded in the body of the e-mail. This is an configuration setting in SSIS_Configurations that will be appended to the end of the e-mail. |
||
C:\DW Local Stuff\SSIS\ |
The directory on the File System where the files to be attached to the e-mail for notifications will be stored. This is a configuration setting from SSIS_Configurations. |
||
help@hetgroup.org |
Configuration setting from SSIS_Configurations that will specify the From E-mail address to be used in e-mail notifications. |
||
datawarehouse |
The configuration setting from SSIS_Configurations that specify the password used for the e-mail server when sending e-mail notifications. |
||
ipeterso@hetgroup.org |
The configuration setting from SSIS_Configurations that specify the To Email address when sending e-mail notifications. This cannot be multiple e-mail addresses, but can be a distribution list. |
||
windows |
The configuration setting from SSIS_Configurations that specify the userid used for the e-mail server when sending e-mail notifications. |
||
/* SQL INSERT into DimGCode from New Temp Table */
INSERT INTO [EnterpriseDW].[dbo].[DimGlCode]
(GlCodeAK
,Glc
,Qual2
,GlClassCode
,GlClass
,GlGroup ,GlCategoryCode
,GlCategory
,GlSubCategoryCode
,GlSubCategory
,GlcDescription
,GlCodeName
,GlCodeSubTotalCode
,GlCodeSubTotal
,HrClassification
,HrTimeStatus ,AccountSign
,RowIsCurrent
,RowStartDate
,RowEndDate)
SELECT GlCodeAK
,Glc
,Qual2
,GlClassCode
,GlClass
,GlGroup ,GlCategoryCode
,GlCategory
,GlSubCategoryCode
,GlSubCategory
,GlcDescription
,GlCodeName
,GlCodeSubTotalCode
,GlCodeSubTotal
,HrClassification
,HrTimeStatus ,AccountSign
,RowIsCurrent
,RowStartDate
,RowEndDate
FROM [dbo].[Staged_dbo_DimGlCode__New]
|
"
/* SQL INSERT into DimGCode from New Temp Table */
INSERT INTO " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimGlCode]
(GlCodeAK
,Glc
,Qual2
,GlClassCode
,GlClass
,GlGroup ,GlCategoryCode
,GlCategory
,GlSubCategoryCode
,GlSubCategory
,GlcDescription
,GlCodeName
,GlCodeSubTotalCode
,GlCodeSubTotal
,HrClassification
,HrTimeStatus ,AccountSign
,RowIsCurrent
,RowStartDate
,RowEndDate)
SELECT GlCodeAK
,Glc
,Qual2
,GlClassCode
,GlClass
,GlGroup ,GlCategoryCode
,GlCategory
,GlSubCategoryCode
,GlSubCategory
,GlcDescription
,GlCodeName
,GlCodeSubTotalCode
,GlCodeSubTotal
,HrClassification
,HrTimeStatus ,AccountSign
, |
This variable contains the string that will be used to insert any new rows into the DimGlCode table. |
|
DWOperations_Maintenance |
Configuration setting in SSIS_Configurations that specifies the name of the Operations Database. |
||
0 |
The number of rows that were loaded into the Dimension. This is will be compared against the row count from the source system. |
||
/*
Sample Update Type1 to Dim
*/
UPDATE [EnterpriseDW].[dbo].[DimGlCode]
SET GlCodeAK = SCD1.GlCodeAK
,Glc = SCD1.Glc
,Qual2 = SCD1.Qual2
,GlClassCode = SCD1.GlClassCode
,GlClass = SCD1.GlClass
,GlGroup = SCD1.GlGroup ,GlCategoryCode = SCD1.GlCategoryCode
,GlCategory = SCD1.GlCategory
,GlSubCategoryCode = SCD1.GlSubCategoryCode
,GlSubCategory = SCD1.GlSubCategory
,GlcDescription = SCD1.GlcDescription
,GlCodeName = SCD1.GlCodeName
,GlCodeSubTotalCode = SCD1.GlCodeSubTotalCode
,GlCodeSubTotal = SCD1.GlCodeSubTotal
,HrClassification = SCD1.HrClassification
,HrTimeStatus = SCD1.HrTimeStatus ,AccountSign = SCD1.AccountSign
FROM [EnterpriseDW].[dbo].[DimGlCode] AS [DIM]
INNER JOIN [dbo].[Staged_dbo_DimGlCode__Type1Update] AS SCD1
ON Dim.GlCodeAK = SCD1.GlCodeAK
|
"
/*
Sample Update Type1 to Dim
*/
UPDATE " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimGlCode]
SET GlCodeAK = SCD1.GlCodeAK
,Glc = SCD1.Glc
,Qual2 = SCD1.Qual2
,GlClassCode = SCD1.GlClassCode
,GlClass = SCD1.GlClass
,GlGroup = SCD1.GlGroup ,GlCategoryCode = SCD1.GlCategoryCode
,GlCategory = SCD1.GlCategory
,GlSubCategoryCode = SCD1.GlSubCategoryCode
,GlSubCategory = SCD1.GlSubCategory
,GlcDescription = SCD1.GlcDescription
,GlCodeName = SCD1.GlCodeName
,GlCodeSubTotalCode = SCD1.GlCodeSubTotalCode
,GlCodeSubTotal = SCD1.GlCodeSubTotal
,HrClassification = SCD1.HrClassification
,HrTimeStatus = SCD1.HrTimeStatus ,AccountSign = SCD1.AccountSign
FROM " + (@[User::EDWLinkedServerName] == "N/A" ? "" : "[" + @[User::EDWLinkedServerName]+"]." ) + "["+ @[User::EDWDBName] + "].[dbo].[DimGlCode] AS [DIM]
INNER JOIN [dbo].[Staged_dbo_DimG |
The SQL string that will update any changed rows in the DimGlCode dimension. |
|
c:\stubfile.txt |
Temporary file name that will be used to create the e-mail notifications. This is a configuration setting from SSIS_Configurations. |
||
25 |
The SMTPPort for the e-mail server to be used when sending notification e-mails. This is a configuration setting from SSIS_Configurations. |
||
www.ad.hetgroup.org |
The SMTP Server Name contains the name for the e-mail server. This is a configuration setting from SSIS_Configurations. |
||
0 |
This is the Row count from the Source System to compare against that of the DimCurriculum table to ensure that all records were copied. |
Name | Value | Expression | Description |
Powered by BI Documenter |