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:
Jeff Vance <[log in to unmask]>
Reply To:
Jeff Vance <[log in to unmask]>
Date:
Fri, 20 Nov 1998 10:39:16 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
On Nov 20,  7:42am, Jon Temple wrote:
> I have a job stream which I want to close or abort "naturally" if a file is
> not found.

First read about the ESCAPE and RETURN commands (help escape, help return)

I would do this:
  !job....
  !if not finfo(file_you_want,"exists") then
  !   echo some message to $stdlist...  -- or -- tellop ... etc.
  !   escape [error_number]   --or--
  !   return
  !endif
  !# execute the rest of the job ...


regards,
Jeff Vance, CSY

--

ATOM RSS1 RSS2