HP3000-L Archives

January 2001, Week 1

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:
"VANCE,JEFF (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
VANCE,JEFF (HP-Cupertino,ex1)
Date:
Tue, 2 Jan 2001 14:19:47 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
...
> The command works well with the first time thru the loop, but
> then exits the loop and aborts.  Can anyone see what I'm doing wrong here?
...
> : while setvar(rec_cntr,rec_cntr+1) <= !jabrt
...
> :  hpemail
>    JOB ABORTED
>    !msg
>    [log in to unmask]
     ^^^^^ the above 3 lines are most likely the problem ^^^^^
>...
> : endwhile
...
> :eoj

You cannot provide "inline" data inside a CI while loop.
Try creating a temp input file for the HPEMAIL script, e.g.:
   ...
   echo JOB ABORTED >mailin
   echo !msg       >>mailin
   echo 602nnnn... >>mailin
   hpemail <mailin
   ...

regards,
 Jeff Vance, CSY

ATOM RSS1 RSS2