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:
Reply To:
Date:
Fri, 22 Sep 2000 16:04:41 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (89 lines)
Hi,
What you need to do is

      setvar hperrstolist false
      setvar hpmsgfence 1
      listfile  (!fileset),6 > afileset
      setvar hperrstolist true
      setvar hpmsgfence 0

       If there are no qualifying files, afileset will have an eof of zero,
       and there are no warning messages displayed.

Try it.

Rgds, Tad.





Internet

From:     [log in to unmask] on 22/09/2000 06:39 GMT



Pour :    HP3000-L

cc :

ccc:  Tad BOCHAN

Objet :   [HP3000-L] LISTFILE ,6 Question




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]





___________________________________________________________

This message and any attachments (the "message") are intended solely for
the addressees and are confidential.  If you receive this message in error,
please delete it and immediately notify the sender.

Any use not in accord with its purpose, any dissemination or disclosure,
either whole or partial, is prohibited except formal approval.

The internet can not guarantee the integrity of this message.  BNP PARIBAS
(and its subsidiaries) shall (will) not therefore be liable for the message
if modified.
                       --------------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le "message") sont
etablis a l'intention exclusive de ses destinataires et sint confidentiels.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur.

Toute utilisation de ce message non conforme a sa destination, toute
diffusion ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse.

L'internet ne permettant pas d'assurer l'integrite de ce message, BNP
PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
___________________________________________________________

ATOM RSS1 RSS2