UC4

From Vital Soft Wiki
Revision as of 22:41, 31 October 2012 by >Jeremyb (Daily Job Examples)
Jump to: navigation, search

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

    ## 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

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

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