Need a little HP 3000 script help.

Craig Lalley mr_lalley at yahoo.com
Fri Feb 28 11:00:52 CST 2014


Ken, 

I think you have a hidden display character.

Can you cut and paste the small job that works, into the job that doesn't?

If you know the trick to turn on display characters or

FCOPY FROM=JOBSTREAM;TO=;HEX;CHAR

To see if you can spot the hidden characters.

-Craig





________________________________
 From: Robert Thwaites <robert.thwaites at sewardconsulting.com>
To: 'Matt Ohmes' <mohmes at us.ibm.com>; Ken at Langendock.com 
Cc: powerh-l at lists.sowder.com 
Sent: Friday, February 28, 2014 7:30 AM
Subject: RE: Need a little HP 3000 script help.
 


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.
 
Robert Thwaites
Seward Consulting
(780) 426-4876
robert.thwaites at sewardconsulting.com
 
From:powerh-l-bounces+robert.thwaites=sewardconsulting.com at lists.sowder.com [mailto:powerh-l-bounces+robert.thwaites=sewardconsulting.com at lists.sowder.com] On Behalf Of Matt Ohmes
Sent: Friday, February 28, 2014 7:49 AM
To: Ken at Langendock.com
Cc: powerh-l at lists.sowder.com
Subject: Re: Need a little HP 3000 script help.
 
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

"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

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.
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
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/b1b178d3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.sowder.com/pipermail/powerh-l/attachments/20140228/b1b178d3/attachment-0001.gif>


More information about the powerh-l mailing list