| |
GeekInterview.com > Interview Questions > Data Warehousing > Abinitio
| Print | |
Question: Parametrization of MFS
Answer: I want to use an Ab Initio parameter to control whether I am in serial or MFS mode. Basically, I will have an $AI_MFS_PARTS variable. If it is set to 1, then we are running serial. If it is set to 4, then we are running 4-way MFS. Will the data need to be located in physically different locations using different control files? |
| July 07, 2008 12:15:04 |
#1 |
| sixto.dsilva |
CRM Expert Member Since: March 2008 Total Comments: 49 |
RE: Parametrization of MFS |
I think you can set you parameter like this $AI_MFS_PARTS= `if [[<you input file > == *.gz ||<input file> == *.cdat || <input file> == *.clkp ]] then echo 1 else echo 0 fi`
hope this helps. |
| |
Back To Question | |