<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1518537625399_18554"><span>Hi</span></div><div id="yui_3_16_0_ym19_1_1518537625399_20796" dir="ltr"><span id="yui_3_16_0_ym19_1_1518537625399_20795">I have to run an awk script giving two different files as input to the awk statement. Ie the input to awk script has to be fed dynamically. <br></span></div><div dir="ltr"><span>For this I am reading the files using ncl and using sytemfunc command. <br></span></div><div id="yui_3_16_0_ym19_1_1518537625399_20794" dir="ltr"><span id="yui_3_16_0_ym19_1_1518537625399_20793">I have tried two ways (as shown in the lines 17 and 29 of my NCL code). But none seems to work. <br></span></div><div id="yui_3_16_0_ym19_1_1518537625399_20773" dir="ltr"><br><span></span></div><div id="yui_3_16_0_ym19_1_1518537625399_20754" dir="ltr"><span id="yui_3_16_0_ym19_1_1518537625399_20750">I have sent the input files (untitled1 and 2), awkfile and my NCL script. </span></div><div id="yui_3_16_0_ym19_1_1518537625399_18553"><div id="yui_3_16_0_ym19_1_1518537625399_21028" dir="ltr"><span id="yui_3_16_0_ym19_1_1518537625399_20777">Can someone provide me the clue of what is going wroug???</span> </div></div><div id="yui_3_16_0_ym19_1_1518537625399_18552" class="signature">Geeta.</div></div></body></html>