Subject: | |
From: | |
Reply To: | |
Date: | Thu, 31 May 2007 14:25:17 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Stefan
In MPEX you can say PURGE @(EOF=0) and purge all files with no records.
Robert Schlosser
Global Business Systems
Premier Farnell plc
T 864 487-1362
F 864.487.1904
E [log in to unmask]
> Your #1 source for RoHS compliant products & information.
www.newark.com
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Stefan Thibeault
Sent: Thursday, May 31, 2007 2:41 PM
To: [log in to unmask]
Subject: [HP3000-L] Deleting Empty Files
Hello,
I hope someone can help me out with the following:
I have a group that contains flat files that get FTPed to our network by a
job on the HP3000.
Before FTPing the files, I would like the job to delete files that are
empty(IE: no records), but
the problem is that the file name is never the same (file name contains a
sequential number).
Is there a way with MPE or MPEX to determine which files in the group are
empty and delete them?
Something along the lines of a LISTF that gets piped to FIFO which then
purges the empty files.
Thanks,
Stefan
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
RT4U4qztuMBDtvPH8DKRugMKGrHX0zQz5exjdqrRw==
Click on the link above to report this email as spam to BlackSpider.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|