Abinitio Interview Questions 31 m_eval commands


Abinitio Interview Questions 31 m_eval commands


Watch my YouTube video for explanation :

           
            


Quick Commands in Abinitio


35.1 concatenation of sring

m_eval 'string_concat("abc","cde")'
abccde







35.2

m_eval -print-type -no-print-value 3.14159

double




35.3 quick testing of functions

m_eval -include $AI_XFR/myfunctions.xfr 'getRate(1890,'JAN')'




35.4 in the context of pset

cat .project.pset
DML|En|||sandbox/dml

m_eval -context .project.pset "'\$DML is ' +  \$DML"

"$DML is sandbox/dml"




35.5 m_eval 'lookup("ProductList","908").description'

SSD Drive 987



35.6 m_eval '(date("YYYYMMDD")) (today() -10)'  for example if today=20230520
20230510

For more Abinitio, AWS and data engineering videos please subscribe , view , like and share my YouTube channel 

Click DataPundit




Comments

Popular posts from this blog

Abinitio Interview Question # 1 - Write Multiple Files in Abinitio

Next In Sequence in ABinitio | How next_in_sequence() works in MFS