<html><body>
<p><font size="3" face="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.</font><br>
<font size="3" face="sans-serif">"Shot in the dark" Matt</font><br>
<br>
<img width="16" height="16" src="cid:1__=09BBF61EDFC2B4978f9e8a93df938@us.ibm.com" border="0" 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"><font size="2" color="#424282" face="sans-serif">"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</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:        </font><font size="1" face="sans-serif">"Ken Langendock" <ken.langendock@rogers.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif"><powerh-l@lists.sowder.com>, </font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:        </font><font size="1" face="sans-serif">02/28/2014 08:44 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:        </font><font size="1" face="sans-serif">Need a little HP 3000 script help.</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by:        </font><font size="1" face="sans-serif">powerh-l-bounces+mohmes=us.ibm.com@lists.sowder.com</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="2" face="Calibri">Hello all, I know this is not an HP list server, but I need help with my job script that runs my Powerhouse Programs.</font><br>
<font size="2" face="Calibri"> </font><br>
<font size="2" face="Calibri">Can anyone tell me why this script would not work on one machine but work fine on another?</font><br>
<font size="2" face="Calibri"> </font><br>
<font size="2" face="Courier New">!COMMENT *************************************************************</font><br>
<font size="2" face="Courier New">!COMMENT * Set variables used to archive and send files</font><br>
<font size="2" face="Courier New">!COMMENT *************************************************************</font><br>
<font size="2" face="Courier New">!SETVAR CURRDATE RHT("00!HPYEAR",2) &</font><br>
<font size="2" face="Courier New">! + RHT("00!HPMONTH",2) &</font><br>
<font size="2" face="Courier New">! + RHT("00!HPDATE",2)</font><br>
<font size="2" face="Courier New">!SETVAR CURRTIME RHT("00!HPHOUR",2) &</font><br>
<font size="2" face="Courier New">! + RHT("00!HPMINUTE",2)</font><br>
<font size="2" face="Calibri"> </font><br>
<font size="2" face="Calibri">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:</font><br>
<font size="2" face="Calibri"> </font><br>
<font size="2" face="Courier New">> :COMMENT *************************************************************</font><br>
<font size="2" face="Courier New">> :COMMENT * Set variables used to archive and send files</font><br>
<font size="2" face="Courier New">> :COMMENT *************************************************************</font><br>
<font size="2" face="Courier New">> :SETVAR CURRDATE RHT("00!HPYEAR",2) &</font><br>
<font size="2" face="Courier New">A string operator was expected but none was found. (CIERR 9755) (PARM=-31)</font><br>
<font size="2" face="Courier New">> : + RHT("00!HPMONTH",2) &</font><br>
<font size="2" face="Courier New">Invalid first character in command name. (CIERR 9090)</font><br>
<font size="2" face="Courier New">> : + RHT("00!HPDATE",2)</font><br>
<font size="2" face="Courier New">Invalid first character in command name. (CIERR 9090)</font><br>
<font size="2" face="Courier New">> :SETVAR CURRTIME RHT("00!HPHOUR",2) &</font><br>
<font size="2" face="Courier New">A string operator was expected but none was found. (CIERR 9755) (PARM=-31)</font><br>
<font size="2" face="Courier New">> : + RHT("00!HPMINUTE",2)</font><br>
<font size="2" face="Courier New">Invalid first character in command name. (CIERR 9090)</font><br>
<font size="2" face="Calibri"> </font><br>
<font size="2" face="Calibri">I have checked everywhere I can on the web;</font>
<ul style="padding-left: 36pt"><font size="2" face="Calibri">- Found additional comma’s that were not needed from one site </font><br>
<font size="2" face="Calibri">- Changed the variable names to NOT include “HP” in the name according to another site.</font></ul>
<font size="2" face="Calibri"> </font><br>
<font size="2" face="Calibri">I have no idea now.</font><br>
<font size="2" face="Calibri"> </font><br>
<font size="2" face="Calibri">Ken</font><br>
<font size="2" face="Calibri"> </font><br>
<font size="2" face="Calibri"> </font><tt><font size="2">--<br>
= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>
Mailing list: powerh-l@lists.sowder.com<br>
Subscribe: 'subscribe' in message body to powerh-l-request@lists.sowder.com<br>
Unsubscribe: 'unsubscribe &lt;password&gt;' in message body to powerh-l-request@lists.sowder.com<br>
</font></tt><tt><font size="2"><a href="http://lists.sowder.com/mailman/listinfo/powerh-l">http://lists.sowder.com/mailman/listinfo/powerh-l</a></font></tt><tt><font size="2"><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.</font></tt><br>
</body></html>