HP3000-L Archives

April 2005, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Greg Stigers <[log in to unmask]>
Reply To:
Greg Stigers <[log in to unmask]>
Date:
Fri, 29 Apr 2005 20:06:58 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
All kidding aside, when I try this command in a job, it fails, thus:
 :SH.HPBIN.SYS "-c 'callci SETVAR _WEEK `/bin/date +%U`'"
 SETVAR _WEEK 17  >U2D9.PUB.TEST
                      ^
 Unexpected character found in number. (CIERR 9810)callci: error
opening redirection file  :EOJ

Note that the first line is the command as it appears in the stdlist, and
the second is its expression in the stdlist. I am not redirecting. Instead,
well, I'm not sure what is happening instead other than getting the text
above, where 17 is substituted for the text between the back ticks. I do not
know what is happening within the job to create the U2D9.PUB.TEST. Does
anyone else know?

Greg Stigers

"donna garverick" wrote:
> --- Greg Stigers <[log in to unmask]> wrote:
>> Is there a handy way to tuck this into a variable?
>
> :sh.hpbin.sys "-c 'callci setvar foo `date +%U`'"
> :showvar foo
> FOO = 17
<snip>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2