Need a little HP 3000 script help.
Robert Thwaites
robert.thwaites at sewardconsulting.com
Fri Feb 28 09:30:55 CST 2014
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
<mailto:robert.thwaites at sewardconsulting.com> 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
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"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 <password>' 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/0b4224b6/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/0b4224b6/attachment-0001.gif>
More information about the powerh-l
mailing list