<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:768549375;
        mso-list-template-ids:-728587658;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[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><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ken, something swallowed a quote mark…typically this would suggest that a previous command got its closing “ swallowed up or had a variable that gave an unmatched one.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Robert Thwaites</span><span lang=EN-CA style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Seward Consulting</span><span lang=EN-CA style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>(780) 426-4876</span><span lang=EN-CA style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="mailto:robert.thwaites@sewardconsulting.com"><span lang=EN-CA style='font-size:10.0pt;font-family:"Arial","sans-serif"'>robert.thwaites@sewardconsulting.com</span></a></span><span lang=EN-CA style='color:#1F497D'><o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> powerh-l-bounces+robert.thwaites=sewardconsulting.com@lists.sowder.com [mailto:powerh-l-bounces+robert.thwaites=sewardconsulting.com@lists.sowder.com] <b>On Behalf Of </b>Matt Ohmes<br><b>Sent:</b> Friday, February 28, 2014 7:49 AM<br><b>To:</b> Ken@Langendock.com<br><b>Cc:</b> powerh-l@lists.sowder.com<br><b>Subject:</b> Re: Need a little HP 3000 script help.<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p><span style='font-family:"Arial","sans-serif"'>It's been about 20 years since I wrote an HP3000 script, but it looks like a problem with the continuation character (&). This is just a flat out guess. You could try using two & instead of just one.</span><br><span style='font-family:"Arial","sans-serif"'>"Shot in the dark" Matt</span><br><br><img border=0 width=16 height=16 id="_x0000_i1025" src="cid:image001.gif@01CF345F.66195F30" alt="Inactive hide details for "Ken Langendock" ---02/28/2014 08:44:46 AM---Hello all, I know this is not an HP list server, but I n"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#424282'>"Ken Langendock" ---02/28/2014 08:44:46 AM---Hello all, I know this is not an HP list server, but I need help with my job script that runs my Pow</span><br><br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>From: </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>"Ken Langendock" <<a href="mailto:ken.langendock@rogers.com">ken.langendock@rogers.com</a>></span><br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>To: </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><<a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a>>, </span><br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Date: </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>02/28/2014 08:44 AM</span><br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Subject: </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Need a little HP 3000 script help.</span><br><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F'>Sent by: </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'><a href="mailto:powerh-l-bounces+mohmes=us.ibm.com@lists.sowder.com">powerh-l-bounces+mohmes=us.ibm.com@lists.sowder.com</a></span><o:p></o:p></p><div class=MsoNormal><hr size=2 width="100%" noshade style='color:#8091A5' align=left></div><p class=MsoNormal><br><br><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Hello all, I know this is not an HP list server, but I need help with my job script that runs my Powerhouse Programs.</span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Can anyone tell me why this script would not work on one machine but work fine on another?</span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Courier New"'>!COMMENT *************************************************************</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>!COMMENT * Set variables used to archive and send files</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>!COMMENT *************************************************************</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>!SETVAR CURRDATE RHT("00!HPYEAR",2) &</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>! + RHT("00!HPMONTH",2) &</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>! + RHT("00!HPDATE",2)</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>!SETVAR CURRTIME RHT("00!HPHOUR",2) &</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>! + RHT("00!HPMINUTE",2)</span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>When I run the code in a small job by itself it works every time when I run it in the nightly job I get this:</span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Courier New"'>> :COMMENT *************************************************************</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>> :COMMENT * Set variables used to archive and send files</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>> :COMMENT *************************************************************</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>> :SETVAR CURRDATE RHT("00!HPYEAR",2) &</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>A string operator was expected but none was found. (CIERR 9755) (PARM=-31)</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>> : + RHT("00!HPMONTH",2) &</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>Invalid first character in command name. (CIERR 9090)</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>> : + RHT("00!HPDATE",2)</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>Invalid first character in command name. (CIERR 9090)</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>> :SETVAR CURRTIME RHT("00!HPHOUR",2) &</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>A string operator was expected but none was found. (CIERR 9755) (PARM=-31)</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>> : + RHT("00!HPMINUTE",2)</span><br><span style='font-size:10.0pt;font-family:"Courier New"'>Invalid first character in command name. (CIERR 9090)</span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>I have checked everywhere I can on the web;</span> <o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>- Found additional comma’s that were not needed from one site </span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>- Changed the variable names to NOT include “HP” in the name according to another site.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>I have no idea now.</span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'>Ken</span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><br><span style='font-size:10.0pt;font-family:"Calibri","sans-serif"'> </span><tt><span style='font-size:10.0pt'>--</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>= = = = = = = = = = = = = = = = = = = = = = = = = = = =</tt><br><tt>Mailing list: <a href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a></tt><br><tt>Subscribe: 'subscribe' in message body to <a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a></tt><br><tt>Unsubscribe: 'unsubscribe &lt;password&gt;' in message body to <a href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a></tt><br><tt><a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a></tt><br><tt>This list is closed, thus to post to the list you must be a subscriber.</tt><br><tt>Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.</tt></span><o:p></o:p></p></div></body></html>