Need a little HP 3000 script help.
Ken Langendock
ken.langendock at rogers.com
Fri Feb 28 08:43:31 CST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sowder.com/pipermail/powerh-l/attachments/20140228/47a4b40a/attachment.htm>
More information about the powerh-l
mailing list