HP3000-L Archives

September 2000, Week 4

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:
Ric Merz <[log in to unmask]>
Reply To:
Date:
Thu, 21 Sep 2000 23:39:42 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
To All,

I am looking for a "clean" solution to the following problem.  It must be in MPE/iX JCL.  Please, no 3rd party software solutions.

I am using ListFile ,6 >*MyMsg to create a list of files to process.  This works great, except when there aren't any files in the target directory that match my selection.  Then I get two records in my msg file telling me the ListFile command and the fact that there aren't any files found.  This is a pain to test for (using cierror 920).

Is there a ListFile option that will only display the file names selected, and provide an empty file when none of the files matches the selection?  This would make scripting much easier.  (Don't you just hate it when commands do things other than what the documentation says they do!!!!!?)

Thanks for any help.

Ric
[log in to unmask]

ATOM RSS1 RSS2