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:
Barry Lake <[log in to unmask]>
Reply To:
Barry Lake <[log in to unmask]>
Date:
Tue, 18 Apr 2000 23:47:15 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
At 12:31 AM -0400 4/19/00, [log in to unmask] wrote:
>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
>


A different approach might be to do something like

  %setvar hpmsgfence 2
  %listf fileset,6 > tmpfil
  %if finfo('tmpfil','eof') > 0
  %  repeat
     ...
  %  forfiles fileset
  %endif

ATOM RSS1 RSS2