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:
"Inghram, Don" <[log in to unmask]>
Reply To:
Inghram, Don
Date:
Fri, 20 Nov 1998 08:29:15 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
Jon,
   We use the following kind of code to test for presence of a file and
abort the job if it isn't there.

!SETJCW CIERROR=0
!CONTINUE
!LISTF <filename>;$NULL
!IF CIERROR = 907 THEN
   !<<TELL SOMEBODY THAT JOB IS ABORTING.>>
   !EOJ
!ENDIF

Hope this helps.

        Don Inghram, Systems Mgr.
        The Christian & Missionary Alliance
        Colorado Springs, CO  (719) 265-2154
        [log in to unmask]


> -----Original Message-----
> From: Jon Temple [SMTP:[log in to unmask]]
> Sent: Friday, November 20, 1998 7:42 AM
> To:   [log in to unmask]
> 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