<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<link rel=File-List href="cid:filelist.xml@01CC72C2.7F897B00">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin-top:0in;
        margin-right:0in;
        margin-bottom:10.0pt;
        margin-left:0in;
        mso-pagination:widow-orphan;
        font-size:11.0pt;
        font-family:Calibri;
        mso-fareast-font-family:"Times New Roman";
        mso-bidi-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;
        letter-spacing:0pt;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hello folks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>New to Torque, used to run NQS&#8230;.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Concerning Torque&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have a small script:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>$ <span
class=GramE>more</span> <span class=SpellE>dn_test.sh</span><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
class=GramE><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>#!/</span></font></span><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>bin/<span class=SpellE>sh</span><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>#<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>PATH=/bin<span
class=GramE>:/</span>usr/bin:/usr/local/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
class=GramE><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>:/</span></font></span><span class=SpellE><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>sbin</span></font></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>:.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
class=GramE><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>export</span></font></span><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> PATH<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>DATE=`date
+%H%M`<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
class=GramE><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>echo</span></font></span><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> &quot;Hello&quot;<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
class=GramE><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>touch</span></font></span><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> /<span class=SpellE>tmp/dn_test</span>_${DATE}<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
class=GramE><font size=2 face=Arial><span style='font-size:10.0pt;font-family:
Arial'>sleep</span></font></span><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> 90<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>When I
submit the script:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
class=SpellE><span class=GramE><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>qsub</span></font></span></span><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> -V -l nodes=1 -q <span
class=SpellE>dn</span> <span class=SpellE>dn_test.sh</span><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>It runs
fine.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>But I need
to run batch&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I created a
text file &#8220;dn_test.txt&#8221;<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>That
contains:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>/home/<span
class=SpellE>zarnocda/torque/scripts_test/dn_test.sh</span><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>When I run:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><span
class=SpellE><span class=GramE><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>qsub</span></font></span></span><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'> -V -l nodes=1 &#8211;q
<span class=SpellE>dn</span> dn_test.txt<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>It appears to process the file:<o:p></o:p></span></font></p>

<p class=MsoNormal><span class=SpellE><span class=GramE><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>qstat</span></font></span></span><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> &#8211;s<o:p></o:p></span></font></p>

<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><font size=2
color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red;font-weight:bold;mso-bidi-font-weight:normal'>Job id<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>Name<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>User<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>Time Use S Queue<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><font size=2
color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red;font-weight:bold;mso-bidi-font-weight:normal'>-------------------------
---------------- --------------- -------- - -----<o:p></o:p></span></font></b></p>

<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><font size=2
color=red face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:red;font-weight:bold;mso-bidi-font-weight:normal'>7592<span class=GramE>.usphl1ora002.amer</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>dn_test.txt<span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
class=SpellE>zarnocda</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>0 R <span class=SpellE>dn</span><span
style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'>But it doesn&#8217;t
excute the script within:<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt'><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>/home/<span
class=SpellE>zarnocda/torque/scripts_test/dn_test.sh</span><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'>Any help!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'>Thanks!<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'>Dave<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'>Dave Zarnoch<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'>UNIX Systems
Administration<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'>(215)200-0911<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy;mso-no-proof:yes'>Dave.Zarnoch@sykes.com</span></font><font
size=3 face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman";
mso-no-proof:yes'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>