HP3000-L Archives

November 1998, 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:
Andreas Schmidt <[log in to unmask]>
Reply To:
Date:
Fri, 20 Nov 1998 16:41:48 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
try the following:

IF NOT FINFO("file",0) THEN
     COMMENT File doesn't exist
     COMMENT gracefully end
     EOJ
ENDIF
COMMENT Continue ... file exists ...

Best regards, Andreas Schmidt, CSC, Germany





[log in to unmask] on 11/20/98 03:42:01 PM

Please respond to [log in to unmask]

To:   [log in to unmask]
cc:    (bcc: Andreas Schmidt/HI/CSC)
Subject:  need help with MPE commands




I have a job stream which I want to close or abort "naturally" if a file is
no found.  I know if I do a listf on the file in the job, it will abort
before processing, but  our operations people see that and call someone in
the middle of the night.
How can I do the lists, the if it can't find the file, then stop processing
and end the job without getting the "job flushed" stuff.  If it finds the
file, I would like the job to continue on.
Thanks,
Jon

ATOM RSS1 RSS2