HP3000-L Archives

November 2000, Week 3

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:
"Stigers, Greg [And]" <[log in to unmask]>
Reply To:
Stigers, Greg [And]
Date:
Fri, 17 Nov 2000 11:04:46 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
X-no-Archive:yes
As stated, when set to true, it allows job steps to continue on error. The
default is false.

Where I use this is before a while loop that I want to continue even if it
errors on one iteration:
!#Note the existing value of HPAUTOCONT
!SETVAR HPAUTOCONT TRUE
!WHILE some condition
!   cmd2
!   cmd2
!ENDWHILE
!SETVAR HPAUTOCONT AUTOCONT

Since CONTINUE affects the behavior of ESCAPE, I would expect setting
HPAUTOCONT to true to do so as well. HELP on CONTINUE does have a nice
example of using CONTINUE to prevent a job from aborting on an error, then
testing appropriate variables / JCWs and having the job act appropriately,
TELLing success or failure and ESCAPEing on failure. Conceivably, there are
situation where HPAUTOCONT could be used for the same purpose, although you
would need to SETVAR HPAUTOCONT FALSE for ESCAPE to abort the job.

Greg Stigers
http://www.cgiusa.com

-----Original Message-----
From: Larry Barnes [mailto:[log in to unmask]]
Sent: Friday, November 17, 2000 9:39 AM
To: [log in to unmask]
Subject: hpcontinue


What is the purpose/value of the hpcontinue variable?  Doing a help on
this var didn't help much.

: HELP HPCONTINUE ALL
HPCONTINUE  A variable used by the CI that shows the CI's continue
            state, where FALSE=inactive and TRUE=active; initial value
            is inactive (FALSE).  Type= R B PL

--
Larry Barnes
Director of I.T.
Mitek Corp.
602-438-4545 x1366
Phoenix, AZ 85040

Check Us Out !
http://www.mitekcorp.com

ATOM RSS1 RSS2