<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Geeta,<br>
<br>
first, you should read the documentation of systemfunc which tells
you that it is a function and returns the result of your system
call. Have you ever tried to run the script? You mixed shell and NCL
scripting language, so have a closer look at that, too.<br>
<br>
-Karin<br>
<br>
<div class="moz-cite-prefix">Am 15.02.18 um 07:09 schrieb Geeta
Geeta:<br>
</div>
<blockquote type="cite"
cite="mid:831823989.879643.1518674989571@mail.yahoo.com">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
</body>
</html>