HP3000-L Archives

April 2000, 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:
Reply To:
Date:
Wed, 19 Apr 2000 00:31:32 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Watch out for side-effects - such as downstream sections in the job
expecting the CIERROR to be zero. It won't be after a failed LISTF. I
would do this.

   %SETJCW OLDCI,CIERROR
   %LISTF FILESET;$NULL
   %IF MPEXNUMSUCCEEDED = 0 THEN
   %   SETJCW CIERROR,OLDCI
   %ELSE
   %   REPEAT
       .
       .
   %   FORFILES FILESET
   %ENDIF

"Bailie, Jack" wrote:
>
> Thanks, that works.
>
> Jack Bailie
>
> Dave wrote:
>
>                 However, whether it's the right way or not, I would do a
> LISTF fileset;$NULL
>                 and then interrogate system variable MPEXNUMSUCCEEDED
>
>                 > Is there an easy way to tell if a fileset
>                 > is
>                 > empty?
>                 >
>                 >

ATOM RSS1 RSS2