Need a little HP 3000 script help.

Matt Ohmes mohmes at us.ibm.com
Fri Feb 28 08:48:55 CST 2014


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.
"Shot in the dark" Matt



From:	"Ken Langendock" <ken.langendock at rogers.com>
To:	<powerh-l at lists.sowder.com>,
Date:	02/28/2014 08:44 AM
Subject:	Need a little HP 3000 script help.
Sent by:	powerh-l-bounces+mohmes=us.ibm.com at lists.sowder.com



Hello all, I know this is not an HP list server, but I need help with my
job script that runs my Powerhouse Programs.

Can anyone tell me why this script would not work on one machine but work
fine on another?

!COMMENT *************************************************************
!COMMENT * Set variables used to archive and send files
!COMMENT *************************************************************
!SETVAR CURRDATE RHT("00!HPYEAR",2) &
!              + RHT("00!HPMONTH",2) &
!              + RHT("00!HPDATE",2)
!SETVAR CURRTIME RHT("00!HPHOUR",2) &
!              + RHT("00!HPMINUTE",2)

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:

> :COMMENT *************************************************************
> :COMMENT * Set variables used to archive and send files
> :COMMENT *************************************************************
> :SETVAR CURRDATE RHT("00!HPYEAR",2) &
A string operator was expected but none was found. (CIERR 9755) (PARM=-31)
> :              + RHT("00!HPMONTH",2) &
Invalid first character in command name. (CIERR 9090)
> :              + RHT("00!HPDATE",2)
Invalid first character in command name. (CIERR 9090)
> :SETVAR CURRTIME RHT("00!HPHOUR",2) &
A string operator was expected but none was found. (CIERR 9755) (PARM=-31)
> :              + RHT("00!HPMINUTE",2)
Invalid first character in command name. (CIERR 9090)

I have checked everywhere I can on the web;
      -          Found additional comma’s that were not needed from one
      site
      -          Changed the variable names to NOT include “HP” in the name
      according to another site.

I have no idea now.

Ken

 --
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: 'subscribe' in message body to powerh-l-request at lists.sowder.com
Unsubscribe: 'unsubscribe &lt;password&gt;' in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sowder.com/pipermail/powerh-l/attachments/20140228/7a94d656/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.sowder.com/pipermail/powerh-l/attachments/20140228/7a94d656/attachment.gif>


More information about the powerh-l mailing list