$ & $$ in Mapping or Parameter File

What is the difference between $ & $$ in mapping or parameter file? In which cases they are generally used?

Questions by SayanSaha

Editorial / Best Answer

anshu.gangwar  

  • Member Since Sep-2008 | Sep 30th, 2008


$ prefixes are used to denote  session Parameter and variables and $$ prefixes are used to denote mapping parameters and variables

Showing Answers 1 - 51 of 51 Answers

Sudeep15

  • Sep 29th, 2008
 

The difference stated above is wrong. $$ is used both in variables as well as parameters. Please give the difference if anybody knows. Please do not give wrong answers.

  Was this answer useful?  Yes

mitta

  • Sep 30th, 2008
 

$ represent system defined variables.
$$ represent user defined variables


Correct me If I am wrong and also give if any one know more details.

Genarally parameters is used to flexibley run the session.
$ means = suppose we are using predefined variable then it comes $
                  Example :- $status=succeeded.

$$means= suppose we are using our own variables then it comes $$
                  Example : $$ABC=succeeded

Thanks & Regards
Suneel.kolamudi

  Was this answer useful?  Yes

$ - is used to denote Server level Variables/Parameters.
$$ - is used to denote Mapping level Variable/Parameter.

This is the convention that we generally follow to differentiate between Server Level/Mapping Level variables or parameters.

Thus anything related to a server or execution related activities we use $, this means whenever we define any file name or any database name we use a single $ and whenever there is some variable related to mapping or mapplet we use $$

harikr

  • Nov 18th, 2009
 

$VariableName is used and reserved for Pre-Defined Workflow/Mapping Variables.

$$VariableName is used for User-Defined Workflow/Mapping Variables.

AMARESHDAS

  • Feb 16th, 2010
 

$ : For Session level Varable/Parameter
(You can check when you provide connection string name for a Session)
$$ : For Mapping level Varable/Parameter
(You can check when you will create a parameter/Variable in Mapping level, it will come by default as prefix).

Any doubts, please tell.

  Was this answer useful?  Yes

ravindra

  • Jul 15th, 2011
 

$$: denotes mapping parameter/variable
$:denotes session variable
$$$: denotes system variables...

  Was this answer useful?  Yes

jagadeesh

  • Jul 18th, 2011
 

$is system defined variable,$$ are user defined variable

  Was this answer useful?  Yes

sravanthi

  • Jul 19th, 2011
 

$$.....>is used in mapping level
$......>is used in session level

  Was this answer useful?  Yes

Ranga Rao

  • Aug 4th, 2011
 

$ is used for Session parameters (there is no word of session variables)
$$ is used for mapping parameters and variables

  Was this answer useful?  Yes

SEHAJ

  • Aug 18th, 2011
 

$-This is d symbol for server o inbuilt variable.

$$-this is the symbol for the variables o parameters which v create

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions