<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">Ken, <br><br>I think you have a hidden display character.<br><br>Can you cut and paste the small job that works, into the job that doesn't?<br><br>If you know the trick to turn on display characters or<br><br>FCOPY FROM=JOBSTREAM;TO=;HEX;CHAR<br><br>To see if you can spot the hidden characters.<br><br>-Craig<br><br><div><span><br></span></div><div><br></div> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Robert Thwaites <robert.thwaites@sewardconsulting.com><br> <b><span
style="font-weight: bold;">To:</span></b> 'Matt Ohmes' <mohmes@us.ibm.com>; Ken@Langendock.com <br><b><span style="font-weight: bold;">Cc:</span></b> powerh-l@lists.sowder.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, February 28, 2014 7:30 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> RE: Need a little HP 3000 script help.<br> </font> </div> <div class="y_msg_container"><br><div id="yiv0564230355"><style><!--
#yiv0564230355
_filtered #yiv0564230355 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
_filtered #yiv0564230355 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
_filtered #yiv0564230355 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered #yiv0564230355 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv0564230355
#yiv0564230355 p.yiv0564230355MsoNormal, #yiv0564230355 li.yiv0564230355MsoNormal, #yiv0564230355 div.yiv0564230355MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv0564230355 a:link, #yiv0564230355 span.yiv0564230355MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv0564230355 a:visited, #yiv0564230355 span.yiv0564230355MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv0564230355 p
        {margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv0564230355 tt
        {font-family:"Courier New";}
#yiv0564230355 span.yiv0564230355EmailStyle19
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
#yiv0564230355 .yiv0564230355MsoChpDefault
        {font-size:10.0pt;}
_filtered #yiv0564230355 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv0564230355 div.yiv0564230355WordSection1
        {}
#yiv0564230355
_filtered #yiv0564230355 {}
_filtered #yiv0564230355 {font-family:Symbol;}
_filtered #yiv0564230355 {font-family:"Courier New";}
_filtered #yiv0564230355 {font-family:Wingdings;}
_filtered #yiv0564230355 {font-family:Wingdings;}
_filtered #yiv0564230355 {font-family:Wingdings;}
_filtered #yiv0564230355 {font-family:Wingdings;}
_filtered #yiv0564230355 {font-family:Wingdings;}
_filtered #yiv0564230355 {font-family:Wingdings;}
_filtered #yiv0564230355 {font-family:Wingdings;}
#yiv0564230355 ol
        {margin-bottom:0in;}
#yiv0564230355 ul
        {margin-bottom:0in;}
--></style><div><div class="yiv0564230355WordSection1"><div class="yiv0564230355MsoNormal"><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.</span></div><div class="yiv0564230355MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;"> </span></div><div><div class="yiv0564230355MsoNormal"><span style="font-size:10.0pt;font-family:"Arial", "sans-serif";color:#1F497D;" lang="EN-CA">Robert Thwaites</span><span style="color:#1F497D;" lang="EN-CA"></span></div><div class="yiv0564230355MsoNormal"><span style="font-size:10.0pt;font-family:"Arial", "sans-serif";color:#1F497D;" lang="EN-CA">Seward Consulting</span><span style="color:#1F497D;"
lang="EN-CA"></span></div><div class="yiv0564230355MsoNormal"><span style="font-size:10.0pt;font-family:"Arial", "sans-serif";color:#1F497D;" lang="EN-CA">(780) 426-4876</span><span style="color:#1F497D;" lang="EN-CA"></span></div><div class="yiv0564230355MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;"><a rel="nofollow" ymailto="mailto:robert.thwaites@sewardconsulting.com" target="_blank" href="mailto:robert.thwaites@sewardconsulting.com"><span style="font-size:10.0pt;font-family:"Arial", "sans-serif";" lang="EN-CA">robert.thwaites@sewardconsulting.com</span></a></span><span style="color:#1F497D;" lang="EN-CA"></span></div></div><div class="yiv0564230355MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri", "sans-serif";color:#1F497D;"> </span></div><div><div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in;"><div class="yiv0564230355MsoNormal"><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.</span></div></div></div><div class="yiv0564230355MsoNormal"> </div><div><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 id="yiv0564230355_x0000_i1025" src="cid:1.2288017980@web161804.mail.bf1.yahoo.com" 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" height="16" border="0" width="16"><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 rel="nofollow" ymailto="mailto:ken.langendock@rogers.com" target="_blank"
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 rel="nofollow" ymailto="mailto:powerh-l@lists.sowder.com" target="_blank" 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 rel="nofollow" ymailto="mailto:powerh-l-bounces+mohmes=us.ibm.com@lists.sowder.com" target="_blank" href="mailto:powerh-l-bounces+mohmes=us.ibm.com@lists.sowder.com">powerh-l-bounces+mohmes=us.ibm.com@lists.sowder.com</a></span></div><div class="yiv0564230355MsoNormal"><hr style="color:#8091A5;" align="left" size="2" width="100%" noshade=""></div><div class="yiv0564230355MsoNormal"><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> </div><div class="yiv0564230355MsoNormal" 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></div><div class="yiv0564230355MsoNormal"><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 rel="nofollow" ymailto="mailto:powerh-l@lists.sowder.com" target="_blank" href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a></tt><br><tt>Subscribe: 'subscribe' in message body to <a rel="nofollow" ymailto="mailto:powerh-l-request@lists.sowder.com" target="_blank" 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 rel="nofollow" ymailto="mailto:powerh-l-request@lists.sowder.com" target="_blank" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a></tt><br><tt><a rel="nofollow" target="_blank" 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></div></div></div></div><br>--<br>= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>Mailing list: <a ymailto="mailto:powerh-l@lists.sowder.com" href="mailto:powerh-l@lists.sowder.com">powerh-l@lists.sowder.com</a><br>Subscribe: 'subscribe' in message body to <a ymailto="mailto:powerh-l-request@lists.sowder.com"
href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br>Unsubscribe: 'unsubscribe &lt;password&gt;' in message body to <a ymailto="mailto:powerh-l-request@lists.sowder.com" href="mailto:powerh-l-request@lists.sowder.com">powerh-l-request@lists.sowder.com</a><br><a href="http://lists.sowder.com/mailman/listinfo/powerh-l" target="_blank">http://lists.sowder.com/mailman/listinfo/powerh-l</a><br>This list is closed, thus to post to the list you must be a subscriber.<br>Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.<br><br></div> </div> </div> </div></body></html>