HP3000-L Archives

July 2001, Week 2

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:
Michael Berkowitz <[log in to unmask]>
Reply To:
Michael Berkowitz <[log in to unmask]>
Date:
Thu, 12 Jul 2001 07:46:15 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
Leonard (no relation, but I've met him several times) Berkowitz writes


I am looking for a suggestion on how to trap a DBUTIL error in a batch job.
I
find nothing in the manual about this. I've tried making errors and checking
JCWs and variables, but nothing turns up.

My particular need is to restore part of a data base to another system and

   DISABLE data base FOR INDEXING.

 It would be big help if the $STDLIST did not need to be checked manually to
verify that this step was successful.
------------------------------------------------
Well, check this out and see if it helps.

:LISTF NODB,2
Non-existent file. (CIERR 907)
:SETJCW JCW 0
:SETJCW CIERROR 0
:SHOWJCW
CIERROR = 0
JCW = 0
:DBUTIL
HP30391C.08.02 TurboIMAGE/XL:  DBUTIL (C) COPYRIGHT HEWLETT-PACKARD COMPANY
1987

>>DISABLE NODB FOR INDEXING
  Root file does not exist.
>>EXIT
:SHOWJCW
CIERROR = 0
JCW = 99  <<< There you go  >>>

Mike Berkowitz
Guess? Inc.

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

ATOM RSS1 RSS2