Professional Documents
Culture Documents
1
Confidential
Ab Initio EME
CONTENTS
INTRODUCTION
HISTORY
ENVIRONMENT STRUCTURE
EME DATA STORE/REPOSITORY CONNECTION SETTINGS
PROJECT
SANDBOX
PARAMETERS
VERSION CONTROL -- CHECK IN , CHECK OUT
WORKING WITH PREVIOUS VERSIONS OF GRAPHS/OBJECTS
KNOWN PROBLEMS
Confidential
Ab Initio EME
INTRODUCTION
What is EME?
EME, Enterprise Meta Environment, is an object oriented data storage
system that version controls and manages various kinds of information
associated with Ab Initio applications, which may range from design
information to operational data. In simple terms, it is a repository, which
contains data about data metadata.
Why EME?
Avoid setup scripts, use EME parameters -- more standardisation
Source Control
dependency and impact analysis for the graphs in the repository
Confidential
Ab Initio EME
A Bit of History
These two products are now bundled together with a new name EME
Confidential
Ab Initio EME
Environment Structure
stdenv (Standard
Environment)
Public Sandboxes
(Optional)
Data Area
EME
Repository
User
Sandboxes
Check in
Check out
Inclusion of public projects/
Reference to public sandboxes
(Optional)
_REPO Variables
Inclusion of stdenv
5
Confidential
Ab Initio EME
6
Confidential
Ab Initio EME
After filling in the detail press on the Connect button to test the connection. If the
details are filled in correctly you will get a message box confirming the connection.
7
Confidential
Project in EME
Ab Initio EME
Project
A Project is a collection of related graphs and its associated elements like
dml, xfr etc in the EME Datastore.
Project structure
Typically a project should contains maximum of 5 to 10 graphs. This helps in
organising the code efficiently within EME. With increase in the number of graphs in
a Project, the time taken to perform dependency analysis on the graphs and related
data increases. Before adding a Project to an existing application, which already has
a number of Projects in place, the impact it might have on other Projects and on the
Application as a whole must be considered.
8
Confidential
Ab Initio EME
/Projects
Project1
mp
run
xfr
dml
db
bin
sql
Project2
9
Confidential
Ab Initio EME
10
Confidential
Ab Initio EME
11
Confidential
Concept of Sandbox
Ab Initio EME
What is a Sandbox?
Projects held in the EME Datastore cant be manipulated directly. To work on
Projects, they must be checked out to a working area on the file system where
we can develop and modify code. This working area on the file system is known
as a Sandbox. It has exactly the similar directory structure as that of a Project
in the Datastore.
Each object that needs to be worked on is checked out to a sandbox where
modifications or enhancements are carried out. After the changes are complete
the code is checked in from the sandbox area to the EME Datastore.
This action creates a new version of the code in the EME Datastore.
12
Confidential
Ab Initio EME
Sandboxes are work areas used to develop, test or run code associated with a given
project. Only one version of the code can be held within the sandbox at any time.
The EME Datastore contains all versions of the code that have been checked into it.
A particular sandbox is associated with only one Project where as a Project can be
checked out to a number of sandboxes.
Project in EME Datastore
User Sandbox
Check-in
Project1
Project1
v5
File1
Check-out
v1
File1
File1
v2
v3
File1
File1
v4
v5
File1
13
Confidential
Parameters
Ab Initio EME
14
Confidential
Parameters
Ab Initio EME
Project parameters
Project parameters are inherited by all the graphs in the Project and are accessed
from the GDE by the sandbox parameter editor in Project>Edit
Sandbox>Parameters. This shows a dialog box prompting to enter the sandbox
path. Choose the correct host and the sandbox path and press OK to open the
sandbox parameter editor, which exactly like the graph parameter editor shown as
above.
15
Confidential
Parameters
Ab Initio EME
Editing parameters
To add a new Project parameter or to modify the value of an existing one, we
should first lock the parameters in the sandbox parameter editor by clicking the
lock button on the menu. If nobody has locked it in their sandboxes, then the lock
symbol turns green indicating a successful lock. This implies we can add or modify
the parameters now. If a lock is already there before, then while opening the
parameter editor it shows a warning saying the parameters are already locked and
the lock symbol is red in such a case. After getting a lock, others are disabled from
editing the parameters.
16
Confidential
Ab Initio EME
Scope: Scope of a parameter can be formal or local. A local parameter is internal to the
sandbox and most of the parameters have their scope as local. Its value is taken from
the value column in the parameter editor. A formal parameter is one whose value can
be set from outside, i.e. from the environment where the graph is run. Its value is
supplied from the command line. A green diamond can identify the formal parameters
with an arrow mark.
Kind: If scope is local, kind is left unspecified, but if it is formal, the kind is automatically
set to keyword.
Type: This determines the nature of the parameter. Project parameters have four types
as string, common Project, switch and dependent. Graph parameters have different set
of types.
Export: When this check box is checked, the corresponding parameter value is
exported as an environment variable, otherwise it is generated as a local shell variable.
Private Value: If a parameter is specified as a private value, any subsequent
changes to it remain private to the local sandbox and are not checked in into the EME.
This is useful when different users want different values for the same parameter.
17
Confidential
Ab Initio EME
18
Confidential
Ab Initio EME
Each object under EME source control, which may be a file, a directory or a Project,
exist as a series of versions, each of which is a representation of what was checked
in by some user. It can optionally have a textual description attached to it called a
tag and a description as a comment. Each version is separately numbered and can
be accessed by either the version number or the tag attached to it. Version
numbers, which are integers and tags, are global to the whole EME datastore. Tags
are the basic units during migration of code across EME datastore instances.
19
Confidential
Ab Initio EME
20
Confidential
Ab Initio EME
Check out
The Ab Initio GDE provides wizards to check out code from the EME to
sandbox.Check out updates the sandbox with the particular version of code that is
being checked out from the EME. By default the latest version of any object is
checked out, but we can check out any version of code we want. Any object that is
version controlled in the EME datastore can be checked out to a sandbox, which
may be pre-existing or may be created during check out process itself. While
checking out a Project or any objects belonging to the Project to a sandbox, stdenv
and any common Projects associated with it also need to be referenced in the
sandbox. If the sandbox to which you are checking out is an existing one, it would
have the information as to where to reference for the common projects (The stdenv
sandbox and the public sandboxes). In case it is a new sandbox, during check out
we have to point to the stdenv and public sandbox (if any) paths.
21
Confidential
Ab Initio EME
Select the Project /directory or file you want to check out by browsing to the
particular Project /directory or file.
In sandbox host dropdown list select the host on which the sandbox resides.
Enter the path to an existing sandbox (the sandbox must be associated with the
concerned Project, which is being checked out) or mention a new one in the
directory field, which would be created during check out.
22
Confidential
Ab Initio EME
The first two options specify whether to check out the required files from the
parent project and whether to check out required files from the common Projects.
The default is check out the required files from the parent project. A file is required
if it is directly referenced in a graph or if it is referenced in an include in a dml or xfr.
While checking out a whole project these two options are disabled as shown above.
Run host setup script makes sure to run the host profiles set up script before
check out and mark files read only on check out does exactly what it says. The
default is on for both of these options.
23
Confidential
Ab Initio EME
We can select a particular tagged version of the object we want to check out from
the tag drop down list. By default the latest version is checked out.
On clicking next, if the sandbox doesnt exist then a confirmation is asked whether
to create the new sandbox or not. Clicking yes creates the sandbox and checks out
the object mentioned to this sandbox.
24
Confidential
Ab Initio EME
You will be prompted to enter the sandbox locations of stdenv and any common
projects associated with the project, unless the sandbox has already these values
specified or the sandbox is a pre-existing one.
25
Confidential
Ab Initio EME
26
Confidential
Locking
Ab Initio EME
27
Confidential
Ab Initio EME
Once the project files have been edited and updated they need to be checked in to
create a new version in the EME datastore, which will be available for other users.
Check in wizard is invoked by navigating to Project>Check in. Before starting the
check in wizard, it checks for any unsaved file in the sandbox and prompts whether to
save them or not. The check in wizard looks as follows:
28
Confidential
Ab Initio EME
29
Confidential
Ab Initio EME
The analysis tab specifies how much dependency analysis is done and on which
objects during check in.
30
Confidential
Ab Initio EME
31
Confidential
Ab Initio EME
After filling in the tag information, on clicking next in the check in wizard a check
in ready dialog is displayed.
Clicking on Do Checkin performs the actual check in and displays a window similar to the
check out finished window with the results of check in and dependency analysis (if specified
in the advanced option).
32
Confidential
Ab Initio EME
Many a time a previous version of a graph may be required to check out and update
rather than working with the latest or current version of the graph as available in the
EME data store. Using check out wizard in GDE, you may check out a tagged
version of a graph, which is not the latest version available. But GDE doesnt allow
locking such versions. In such a case, the procedure to be followed is:
33
Confidential
Ab Initio EME
Check out the required previous tagged version of the graph to your sandbox.
(V1 in figure below).
Check it back in with Force Overwrite in advanced option in check in wizard.
This will make it the current version in the data store. (V4 in figure below).
Lock the graph now to make the changes.
Check in the graph back to the EME data store. This updated version will
become the latest version in the EME data store. (V5 in figure below)
User Sandbox
V1
V2
V3
V4
Updated
V5
Check in +force overwrite
Check in
Check out
34
Confidential
Ab Initio EME
35
Confidential
Ab Initio EME
Help on EME
EME documentation kit . TBD ??
36
Confidential
Ab Initio EME
THANK YOU
37
Confidential