Get Started. It's Free
or sign up with your email address
Rocket clouds
DI ETL by Mind Map: DI ETL

1. General Troubleshooting

1.1. Check process log tables to identify fail cause

1.1.1. SELECT * FROM NWMStaging .[NWM].[ProcessLogDetails] NOLOCK ORDER BY ProcessLogDetailsId DESC

1.1.2. SELECT * FROM NWMStaging .[NWM].[ProcessLog] NOLOCK ORDER BY ProcessLogId DESC

1.2. View NWM_Daily_ETL history to see which step failed

1.3. Check the Excel file of historic issues encountered to find similar scenarios

1.3.1. http://0105sps01/sitedirectory/EnterpriseSolutions/InformationManagement/Data Integrity Process/DI Troubleshoot Log.xlsx

1.4. Search in code for

1.4.1. Keyword in C:\Projects\DataWarehouse

1.4.2. _SP folder in VS Team Project

1.5. Before rerunning an ETL step

1.5.1. Write endDateTime to ProcessStatus UPDATE [NWMStaging].[NWM].[ProcessStatus] SET EndDateTime = GETDATE() WHERE ProcessName = 'uspNWMProcess'

1.6. Rerun from failed step

1.6.1. Right click job NWM_DailyETL Start from step Select #

2. 18 DI ETL Jobs

2.1. ETL Process

2.1.1. Custodian to Source 1. ETL - Check NWM_SSIS jobs Check that custodian jobs completed successfully SSIS Jobs 2. ETL - Check for holiday select @IsHoliday = dbo.[udfIsHoliday](convert(date,getdate())) if (@IsHoliday = 1) raiserror ('No ETL on holiday date', 16,1) Long Weekend or STAT Holiday 3. ETL - Wait for data select @sdate = [nwmlanding].[dbo].[udfSourceDate]('ETL') if (@sdate is null) begin raiserror ('Already processed ETL for today.', 16,1) end 4. ETL - Check for TD metadata change Custodian metadata changed (e.g. new columns?) - if so, send alert

2.1.2. Source to DW 5. ETL - Source to DW This step will update NWMSource with current day data from various custodian/non-custodian sources and launch Source to DW ETL. Troubleshoot 6. ETL - Source to DW Reconciliation This step will reconcile processed DW data against custodian sources. This steps has two parts. Troubleshoot 7. ETL - Wait for global account creation This step will pause the job until global accounts are created in JNFG.

2.1.3. DW to JNFG 8. ETL DW to JNFG This step will publish current day data from DW to JNFG

2.2. 9. ETL - Investment success notification

2.2.1. This step notify Datawarehouse Group when the job completes successfully (Investment).

2.3. 10. ETL - Post process

2.3.1. Generates DI reports for backdated transactions Troubleshoot: NWMStaging.NWM.uspDIReportBackdatedTransactions.

2.3.2. Generates DI reports for cancel/reversal transactions Troubleshoot NWMStaging.uspDIReportCancelAndReversal

2.3.3. Generate QTrade product prices from TD prices Troubleshoot 0105SQL01.JNFG.dbo.uspDICreateQtradeProductPricesFromTd

2.3.4. Uptdate total unit and market value Troubleshoot 0105SQL01.JNFG.dbo.uspDIUpdateTotalUnitsAndMarketValue

2.4. DI Process

2.4.1. JNFG 11. Sample Client This checks Ian Hass base client JNFG records against Sample Client and updates JNFG to match. (InvestTrans, InvestHolding, InvestUserDef) If there is a new client added or removed from the base client, the process will stop with an error. You have to go into CRM and create the missing client or remove

2.4.2. NWMODS Refresh NWMODS to DW JNFG to DW 12. ETL - Client Process Refresh NWMODS with the latest data from JNFG, FiscalReports, etc. etc. Push data from NWMODSSource to DW Push JNFG data to DW Populates (if applicable) the ProcessLog table and executes the cooresponding stored procs as indicated in the ProcessOrder table. Checks to see if previous updates were successful before continuing. Restrict to the following tables only DW tables that will be populated in NWMStaging.NWM.ProcessOrder: DW tables that will be refreshed when missing accounts are added 13. ETL - Client success notification This sproc sends email notification to stakeholders

2.4.3. DW to DM 14. ETL - DM Process Replication is disabled prior to load to DM, then enabled after completion Populates (if applicable) the sysProcessLog table and executes the cooresponding stored procs as indicated in the sysProcessOrder table. Checks to see if previous updates were successful before continuing Troubleshoot 15. ETL - Post DM Process Auto runs the checks after DM ETL is finished.

2.4.4. Client360 Data refresh 16. Refresh Client 360 after DM ETL Refreshes data in dwh03 Client360DM database from NWMReportingDM source. Also triggers snapshot replication from dwh03 Client360DM to dwh04 Client360DM. 17. Refesh Internal WebODS Triggers snapshot replication from dwh03 Client360DM to 0005sql01 WebODS for Client 360 dashboard. 18. Refresh External WebODS after DM ETL Triggers snapshot replication from dwh03 Client360DM to 0105c3sql01 WebODS for Client Website.

3. Tracking

3.1. Automatic process

3.1.1. Starts 06:15

3.1.2. Takes about 1.5 hours

3.2. Notifications

3.2.1. Information Management Inbox

3.2.2. Normal status

3.2.3. Error status

4. Data files

4.1. Schedule

4.1.1. Download data Night before at 10pm 9:30PM the earliest Next morning if not If weekend files may be on Sat. night

4.2. Where to find

4.2.1. NBIN files from

4.3. What to do

4.3.1. Save cabinet zipped file

4.3.2. Copy file to local computer

4.3.3. Run uffv3.bat from local computer Extract files to C:\uffrvc2\Output

4.3.4. Copy the 4 output files Files OUTPUTA.TXT OUTPUTB.TXT OUTPUTC.TXT OUTPUTD.TXT If a file is missing make an empty file with that name Destination here

4.3.5. Rename files in output folder Prefix with YYYY-MM-DD Sample: 2019-08-29 OUTPUTA.TXT


5.1. Server: 0105DWH03

5.2. Steps

5.2.1. Logon to 0105DWJ03 server User: nicolftp E:/SSIS/SSC

5.2.2. Run WinSCP

5.2.3. Check for todays file Outgoing/Prices_pre-aprproval If mor than 1 file Contact NWM Fund Admin Delete wrong file If file is missing Notify NWM Fund Admin

5.2.4. Run step 1 NWM_SSIS_SSC job

5.3. General info

5.3.1. Server: 0105DWH03

5.3.2. File arrival ETA Monday: 08:45 Any other day: 08:15 No file after stat holiday

5.3.3. NWM Fund Admin Toby Lee

5.3.4. Completion time 15 mins

6. Missing Global Accounts

6.1. General info

6.2. When Global Account is missing

6.2.1. Steps Wait for NAT team to create the account in FDP Usually before 8am