Ab Initio - Session6
Ab Initio - Session6
Ab Initio - Session6
ABINITIO
AB INITIOCONFIDENTIAL
CONFIDENTIAL AND
AND PROPRIETARY
PROPRIETARY 1
AB INITIO EME
The
Enterprise
Meta>Enviro
nment
for Ab Initio Developers
Overview
Overview
What is the
Enterprise Meta>Environment?
meta>environment:
an environment for metadata
meta>environment:
an environment for metadata
organization
management
use
meta>environment:
an environment for metadata
organization storage
management manipulation
use analysis
Ab Initio-related
graphs, dml, xfr, db, etc.
= Technical metadata
Everything else
= Business metadata
by type
db
db - database-related
dml - record formats
dml
mp - graphs mp
into projects
ACC CUS SHD_EDW
conceptually
for logical coherence
organizationally
for manageability
project metadata:
parameters
name-value pair
logical-physical mapping
AI_DML $PROJECT_DIR/dml
AI_RUN $PROJECT_DIR/run
AI_XFR $PROJECT_DIR/xfr
public projects
intended to be included
private projects
not to be included
mp - graphs mp $AI_MP
analogs
Sandbox1
Project Sandbox2
EME File
system
AB INITIO CONFIDENTIAL AND PROPRIETARY 21
AB INITIO EME
Users
Each user
has their own sandbox(es)
one to a project
$AI_DML
dml dml
EME File
system
AB INITIO CONFIDENTIAL AND PROPRIETARY 24
AB INITIO EME
Checking Out
Graph
Repository
Sandbox
Check Out
to look at (latest) version
before modifying
Sandbox directory
Modifying a graph
Client
EDW_populate_from_catalog_cust_info.mp
lock
To edit the graph, one must lock it so
that others cannot edit it at the same
time.
No branching or merging.
EDW_populate_from_catalog_cust_info.mp
Checking In
Graph
Repository
Sandbox
Check In
for source code control
to share code
Host profile
Filename
Project
EDW_populate_from_catalog_cust_info.mp
Enables
differencing
reverting
promoting
Click here
to set tag.
Tag page
Undefined parameter
Resolve by
defining parameters
fixing errors
Sandboxes
mp - graphs mp $AI_MP
analogs
Sandbox1
Project Sandbox2
EME File
system
AB INITIO CONFIDENTIAL AND PROPRIETARY 60
AB INITIO EME
Users
Each user
has own sandbox(es)
one to a project
Permissions
allow read-only access
block access
Using parameters
HOUSEHOLD $AI_MFS/household.dat
INDIVIDUAL $AI_MFS/individual.dat
STORE_ACCOUNT $AI_MFS/store_account.dat
/Projects/basic/cus.
Use parameters
to enhance portability
to promote flexibility
to simplify communication
Examples:
Metadata directories (dml, xfr)
Data directory names (serial or MFS)
Database Names and install locations
mp - graphs mp $AI_MP
a common project.
CUS CRM
in a project that
other projects include. CUS CRM
Classes of commands
repository
project
sandbox
object
For example,
export AB_AIR_ROOT=$PWD/repo_training
EME listing:
air ls -l <rpath>
Remove an EME
air repository destroy
Project information
air project show <project-name>
Parameter evaluation
air project parameter <proj> -eval <parm>
Check In
air project import <proj> -basedir <root>
Check Out
air project export <proj> -basedir <root>
Tagging
for configuration
management
Check in
Check out
Check out
Check out
EME
Developers
checkin and checkout code
run Dependency Analysis to prepare for
promotion
Dependency Analysis enables the EME to
understand the required objects for a given
graph.
Two approaches:
Check Out tagged objects to staging
sandbox, detach sandbox (if needed),
Check In to new EME