Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Difference between bind variables with ampersands vs. dollar signs?

  • 1.  Difference between bind variables with ampersands vs. dollar signs?

    Posted Tue September 14, 2021 01:14 AM
    Edited by System Admin Wed March 22, 2023 11:54 AM
    MAM 7.6.1.2:

    I've been using the $sysdate$ variable in Maximo attribute formulas. I noticed that $sysdate$ is surrounded by dollar signs.

    Whereas, other variables have ampersands: Bind Variables 
    Example: &DATE&  and  &DATETIME& .


    Question:
    What is the difference between bind variables with ampersands vs. dollar signs?

    Thanks.





    Related: What kind of variable is $sysdate$ ?

    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Difference between bind variables with ampersands vs. dollar signs?

    Posted Wed September 15, 2021 09:04 AM
    The dollar signs are only used by formulas but I don't know the actual reason behind it. Since they're using the $ to establish function names and other unique formula things it makes sense to keep it consistent and probably simplified the code (as they have to find everything with a $ and invoke the necessary logic for them).

    ------------------------------
    Steven Shull
    ------------------------------