Coding Standards
Coding Standards
Coding Standards
May, 2006
Submitted By
1.1Mappings
The naming convention for mappings which relate to specific systems could be like this:
m_<Project name>_<System name>_<Description>
Example:
m_trex_rps_create_transaction_stf_format
1.2Mapplets
Example:
mplt_acr_report_generation
1.3Workflows
Workflows should being with ‘wf_’ and represent the functionality of the workflow.
1.4Sessions
The name of a session is derived from the mapping it is based upon. By default the session
name generated by Informatica will be ‘s_’+mapping name. The default name should be
used as the session name.
For example: A session based on the mapping m_gsr_dim_geography will be named as
s_m_trex_gsr_dim_geography.
If one mapping is being used by two sessions then the session name should be suffixed
suitably to indicate the need for using the same mapping for two or more sessions.
Example:
s_ m_trex_rps_create_transaction_stf_format
1.5For Variables
• A variable name should be easy to read and convey the purpose of the variable. This
helps when a number of variables are defined in a single transformation.
• Variable names should follow the sentence case format i.e. the first letter of the name
will be in upper case.
• The use of an underscore is recommended as part of a variable name for clarity and
readability.
• e.g.: The variable for first quarter sales should be named as Q1_sales instead of Q1sales.
Example:
Prm_<description>
Example:
Prm_RPS_010_job.prm
1.8Server Variables
1.10Miscellaneous standards:
1.11Reference:
S.No. Description
1.
PerformanceTips