Difference between revisions of "UC4"

From Vital Soft Wiki
Jump to: navigation, search
>Jeremyb
>Jeremyb
(EOM Example Job)
Line 40: Line 40:
  
  
== EOM Example Job ==
+
== EOM Job Example ==
 
<pre>
 
<pre>
 
## MEMBERSHIP_ANALYSIS EOM
 
## MEMBERSHIP_ANALYSIS EOM

Revision as of 22:40, 31 October 2012

Vital Signs relies on nightly run UC4 jobs to extract the Core data which is warehoused and provided to the applications

These jobs fall into two categories, daily and EOM. The Daily is made up of 2 jobs, History and Membership Analysis.

Job Schedules

Daily

  • History
    • Run between 12:01 and 1am every day.
  • Membership Analysis
    • Run prior to 5am

EOM

  • Membership Analysis
    • Run after report databases have been created


Daily Job Examples

Note: There is no need to have your job plans pause and wait for completion of these jobs before continuing with the next step

    ## HIST DAILY
    ## Run nightly- between 12:01 and 1 am, including weekends
    ## Should be run prior to the MEMBERSHIP_ANALYSIS DAILY
    ## Login as bolive
    set -e
    cd /var/summit/spectrum/LIVE
    /VSJOBS/JVSLOAD_HIST

	
    ## MEMBERSHIP_ANALYSIS DAILY
    ## Run nightly – after JVSLOAD_HIST and prior to 5am
    ## Do not run on days when the EOM job (see below) is scheduled
    ## Login as bolive
    set -e
    cd /var/summit/spectrum/LIVE
    /VSJOBS/JVSLOAD_MBRSHLN


EOM Job Example

## MEMBERSHIP_ANALYSIS EOM
## Run after report databases have been created
## Login as bolive
set -e
cd /var/summit/spectrum/LIVE
/VSJOBS/JVSLOAD_MBRSHLN eom &YYYYMMDD
#Where &YYYYMMDD is a UC4 variable containing the last day of the month

Note: There is no need to have your job plans pause and wait for completion of these jobs before continuing with the next step