Subject: | |
From: | |
Reply To: | Stigers, Greg [And] |
Date: | Fri, 17 Nov 2000 11:04:46 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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
|
|
|