19. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/31/2018 11:26:35 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

19.1 Files compared

# Location File Last Modified
1 BMS_Source.zip\Source\Sources\Database\BMSv2Updates\2.1.6.3\Database 2.0.031 Job [BMS-Reports Full].sql Thu Aug 30 15:11:46 2018 UTC
2 BMS_Source.zip\Source\Sources\Database\BMSv2Updates\2.1.6.3\Database 2.0.031 Job [BMS-Reports Full].sql Thu Aug 30 19:19:19 2018 UTC

19.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 362
Changed 1 2
Inserted 0 0
Removed 0 0

19.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

19.4 Active regular expressions

No regular expressions were active.

19.5 Comparison detail

  1   USE [msdb]
  2   GO
  3  
  4   /****** Ob ject:  Job  [BMS-Repo rts Full]     Script  Date: 5/3/ 2016 10:41 :21 PM *** ***/
  5   EXEC msdb. dbo.sp_del ete_job @j ob_name=N' BMS-Report s Full', @ delete_unu sed_schedu le=1
  6   GO
  7  
  8   /****** Ob ject:  Job  [BMS-Repo rts Full]     Script  Date: 5/3/ 2016 10:41 :21 PM *** ***/
  9   BEGIN TRAN SACTION
  10   DECLARE @R eturnCode  INT
  11   SELECT @Re turnCode =  0
  12   /****** Ob ject:  Job Category [ [Uncategor ized (Loca l)]]    Sc ript Date:  5/3/2016  10:41:21 P M ******/
  13   IF NOT EXI STS (SELEC T name FRO M msdb.dbo .syscatego ries WHERE  name=N'[U ncategoriz ed (Local) ]' AND cat egory_clas s=1)
  14   BEGIN
  15   EXEC @Retu rnCode = m sdb.dbo.sp _add_categ ory @class =N'JOB', @ type=N'LOC AL', @name =N'[Uncate gorized (L ocal)]'
  16   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  17  
  18   END
  19  
  20   DECLARE @j obId BINAR Y(16)
  21   EXEC @Retu rnCode =   msdb.dbo.s p_add_job  @job_name= N'BMS-Repo rts Full',  
  22                    @ena bled=1, 
  23                    @not ify_level_ eventlog=0
  24                    @not ify_level_ email=2, 
  25                    @not ify_level_ netsend=0,  
  26                    @not ify_level_ page=0, 
  27                    @del ete_level= 0, 
  28                    @des cription=N 'No descri ption avai lable.', 
  29                    @cat egory_name =N'[Uncate gorized (L ocal)]', 
  30                     @owner_log in_name=N' DN S         \
D NS     HORND0', 
  31                    @not ify_email_ operator_n ame=N'314C  SQL DBA',  @job_id =  @jobId OU TPUT
  32   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  33   /****** Ob ject:  Ste p [Start j ob full]     Script D ate: 5/3/2 016 10:41: 21 PM **** **/
  34   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobst ep @job_id =@jobId, @ step_name= N'Start jo b full', 
  35                    @ste p_id=1, 
  36                    @cmd exec_succe ss_code=0,  
  37                    @on_ success_ac tion=3, 
  38                    @on_ success_st ep_id=0, 
  39                    @on_ fail_actio n=2, 
  40                    @on_ fail_step_ id=0, 
  41                    @ret ry_attempt s=0, 
  42                    @ret ry_interva l=0, 
  43                    @os_ run_priori ty=0, @sub system=N'T SQL', 
  44                    @com mand=N'dec lare @d da tetime', 
  45                    @dat abase_name =N'BMS_DS'
  46                    @out put_file_n ame=N']', 
  47                    @fla gs=4
  48   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  49   /****** Ob ject:  Ste p [Check s tate job i ncremental ]    Scrip t Date: 5/ 3/2016 10: 41:21 PM * *****/
  50   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobst ep @job_id =@jobId, @ step_name= N'Check st ate job in cremental'
  51                    @ste p_id=2, 
  52                    @cmd exec_succe ss_code=0,  
  53                    @on_ success_ac tion=3, 
  54                    @on_ success_st ep_id=0, 
  55                    @on_ fail_actio n=2, 
  56                    @on_ fail_step_ id=0, 
  57                    @ret ry_attempt s=0, 
  58                    @ret ry_interva l=0, 
  59                    @os_ run_priori ty=0, @sub system=N'T SQL', 
  60                    @com mand=N'exe c dbo.usp_ Check_Job  ''BMS Incr emental'''
  61                    @dat abase_name =N'BMS_DS'
  62                    @fla gs=4
  63   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  64   /****** Ob ject:  Ste p [Call st ored proce dure sp_in foworld_pa tchet_full ]    Scrip t Date: 5/ 3/2016 10: 41:21 PM * *****/
  65   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobst ep @job_id =@jobId, @ step_name= N'Call sto red proced ure sp_inf oworld_pat chet_full'
  66                    @ste p_id=3, 
  67                    @cmd exec_succe ss_code=0,  
  68                    @on_ success_ac tion=3, 
  69                    @on_ success_st ep_id=0, 
  70                    @on_ fail_actio n=2, 
  71                    @on_ fail_step_ id=0, 
  72                    @ret ry_attempt s=0, 
  73                    @ret ry_interva l=0, 
  74                    --@o s_run_prio rity=0, 
  75           @s ubsystem=N 'TSQL', 
  76                    @com mand=N'EXE C sp_infow orld_pache t_full', 
  77                    @dat abase_name =N'BMS_DS'
  78                    @fla gs=4
  79   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  80   /****** Ob ject:  Ste p [Shrink  BMS_DS]     Script Da te: 5/3/20 16 10:41:2 1 PM ***** */
  81   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobst ep @job_id =@jobId, @ step_name= N'Shrink B MS_DS', 
  82                    @ste p_id=4, 
  83                    @cmd exec_succe ss_code=0,  
  84                    @on_ success_ac tion=3, 
  85                    @on_ success_st ep_id=0, 
  86                    @on_ fail_actio n=2, 
  87                    @on_ fail_step_ id=0, 
  88                    @ret ry_attempt s=0, 
  89                    @ret ry_interva l=0, 
  90                    @os_ run_priori ty=0, @sub system=N'T SQL', 
  91                    @com mand=N'--D BCC SHRINK FILE (2,1) ;', 
  92                    @dat abase_name =N'BMS_DS'
  93                    @fla gs=4
  94   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  95   /****** Ob ject:  Ste p [Clear d ata from D W]    Scri pt Date: 5 /3/2016 10 :41:21 PM  ******/
  96   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobst ep @job_id =@jobId, @ step_name= N'Clear da ta from DW ', 
  97                    @ste p_id=5, 
  98                    @cmd exec_succe ss_code=0,  
  99                    @on_ success_ac tion=3, 
  100                    @on_ success_st ep_id=0, 
  101                    @on_ fail_actio n=2, 
  102                    @on_ fail_step_ id=0, 
  103                    @ret ry_attempt s=0, 
  104                    @ret ry_interva l=0, 
  105                    @os_ run_priori ty=0, @sub system=N'T SQL', 
  106                    @com mand=N'EXE C usp_ETL_ Clear_Data ', 
  107                    @dat abase_name =N'BMS_DW'
  108                    @fla gs=4
  109   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  110   /****** Ob ject:  Ste p [Call fu ll stored  procedure  on DW]     Script Dat e: 5/3/201 6 10:41:21  PM ****** /
  111   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobst ep @job_id =@jobId, @ step_name= N'Call ful l stored p rocedure o n DW', 
  112                    @ste p_id=6, 
  113                    @cmd exec_succe ss_code=0,  
  114                    @on_ success_ac tion=3, 
  115                    @on_ success_st ep_id=0, 
  116                    @on_ fail_actio n=2, 
  117                    @on_ fail_step_ id=0, 
  118                    @ret ry_attempt s=0, 
  119                    @ret ry_interva l=0, 
  120                    @os_ run_priori ty=0, @sub system=N'T SQL', 
  121                    @com mand=N'EXE C usp_ETL_ ProcessFul l', 
  122                    @dat abase_name =N'BMS_DW'
  123                    @fla gs=4
  124   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  125   /****** Ob ject:  Ste p [Copy us ers in his tory datab ase]    Sc ript Date:  5/3/2016  10:41:21 P M ******/
  126   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobst ep @job_id =@jobId, @ step_name= N'Copy use rs in hist ory databa se', 
  127                    @ste p_id=7, 
  128                    @cmd exec_succe ss_code=0,  
  129                    @on_ success_ac tion=3, 
  130                    @on_ success_st ep_id=0, 
  131                    @on_ fail_actio n=2, 
  132                    @on_ fail_step_ id=0, 
  133                    @ret ry_attempt s=0, 
  134                    @ret ry_interva l=0, 
  135                    @os_ run_priori ty=0, @sub system=N'T SQL', 
  136                    @com mand=N'EXE C usp_Inse rt_Users',  
  137                    @dat abase_name =N'BMS_DW'
  138                    @fla gs=4
  139   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  140   /****** Ob ject:  Ste p [Clear d ata from D S]    Scri pt Date: 5 /3/2016 10 :41:21 PM  ******/
  141   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobst ep @job_id =@jobId, @ step_name= N'Clear da ta from DS ', 
  142                    @ste p_id=8, 
  143                    @cmd exec_succe ss_code=0,  
  144                    @on_ success_ac tion=1, 
  145                    @on_ success_st ep_id=0, 
  146                    @on_ fail_actio n=2, 
  147                    @on_ fail_step_ id=0, 
  148                    @ret ry_attempt s=0, 
  149                    @ret ry_interva l=0, 
  150                    @os_ run_priori ty=0, @sub system=N'T SQL', 
  151                    @com mand=N'EXE C usp_Clea r_Data
  152   go', 
  153                    @dat abase_name =N'BMS_DS'
  154                    @fla gs=4
  155   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  156   EXEC @Retu rnCode = m sdb.dbo.sp _update_jo b @job_id  = @jobId,  @start_ste p_id = 1
  157   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  158   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobsc hedule @jo b_id=@jobI d, @name=N 'BMS-Repor ts Full', 
  159                    @ena bled=1, 
  160                    @fre q_type=4, 
  161                    @fre q_interval =1, 
  162                    @fre q_subday_t ype=1, 
  163                    @fre q_subday_i nterval=0,  
  164                    @fre q_relative _interval= 0, 
  165                    @fre q_recurren ce_factor= 0, 
  166                    @act ive_start_ date=20160 330, 
  167                    @act ive_end_da te=9999123 1, 
  168                    @act ive_start_ time=22000 0, 
  169                    @act ive_end_ti me=235959,  
  170                    @sch edule_uid= N'c6bc465a -69aa-4e9e -9143-2280 0bcc038d'
  171   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  172   EXEC @Retu rnCode = m sdb.dbo.sp _add_jobse rver @job_ id = @jobI d, @server _name = N' (local)'
  173   IF (@@ERRO R <> 0 OR  @ReturnCod e <> 0) GO TO QuitWit hRollback
  174   COMMIT TRA NSACTION
  175   GOTO EndSa ve
  176   QuitWithRo llback:
  177       IF (@@ TRANCOUNT  > 0) ROLLB ACK TRANSA CTION
  178   EndSave:
  179  
  180   GO
  181  
  182