HP3000-L Archives

May 2007, Week 5

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:
MICHAEL CAPLIN <[log in to unmask]>
Reply To:
MICHAEL CAPLIN <[log in to unmask]>
Date:
Thu, 31 May 2007 14:20:55 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
%PURGE @(EOF=0)
-----Will purge INDFILE1.PGMC.OPTICTST (code "", type FA, EOF 0, 0
sectors)
-----Will purge MIKE10K.PGMC.OPTICTST (code "", type FA, EOF 0, 0
sectors)
-----Will purge MIKE15K.PGMC.OPTICTST (code "", type FA, EOF 0, 0
sectors)
-----Will purge MIKE30K.PGMC.OPTICTST (code "", type FA, EOF 0, 0
sectors)
-----Will purge MIKE32K.PGMC.OPTICTST (code "", type FA, EOF 0, 0
sectors)
-----Will purge MIKE55.PGMC.OPTICTST (code "KSAM", type FA, EOF 0, 256
sectors)
-----Will purge /OPTICTST/PGMC/OPTICTST (code "", type HBD, EOF 0, 32
sectors)
-----Will purge OUTPUT.PGMC.OPTICTST (code "", type FB, EOF 0, 0
sectors)
-----Will purge /OPTICTST/PGMC/hfsfiles (code "", type HBD, EOF 0, 32
sectors)
320 sectors will be saved
OK to purge 9 files (y/N)? N

>>> Stefan Thibeault <[log in to unmask]> 5/31/2007 2:41 PM
>>>
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 *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2