Over the weekend we restored a set of production files to two different
test accounts. The jobs are the same, just differ by the logon account.
Our jobs check the JCWs set by BackPack to determine whether everything was
restored satisfactorily. If not the job is supposed to abend via the ESCAPE
command. It turns out that one of the data bases to be restored was not on
the tape.
The first job behaved as expected:
:IF BPREJECTED > 0 THEN
*** EXPRESSION TRUE
: TELLOP !HPJOBNAME !BPREJECTED FILES WERE REJECTED
: TELLOP !HPJOBNUM WILL ABORT; CONTACT DBA ON-CALL
: ESCAPE
REMAINDER OF JOB FLUSHED.
The second job found the condition to be TRUE, but did not abend. Can
anyone tell me why? I
:IF BPREJECTED > 0 THEN
*** EXPRESSION TRUE
: TELLOP !HPJOBNAME !BPREJECTED FILES WERE REJECTED
: TELLOP !HPJOBNUM WILL ABORT; CONTACT DBA ON-CALL
: ESCAPE
:ENDIF
Thanks.
===================
Leonard S. Berkowitz
Perot Health Care Systems
(Harvard Pilgrim Health Care account)
voice: 617-509-1212
fax: 617-509-1955
pager: 781-226-2431
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *