Maybe I'm missing something, but couldn't you use the PRINT command to omit
the last three file names, as in:
:listf @.group,6 > flist1
:print flist1;page=0;start=1;end=-4 > flist2
which would copy all but the last three records of flist1 to flist2.
John
At 2002-10-29 01:00 PM, Johnson, Tracy wrote:
>Larry Barnes came up with a winning solution, the command assumes
>you have CHGROUPed to the group to the files are:
>
>Larry wrote:
>Since you have MPEX, and since you want to just delete the last 3 files in a
>listing; presumable because they are the oldest files based on your example,
>try this:
>
>run main.pub.vesoft,mpex
> LISTF TR######,6;nopagehead;nototals > listf6
> setlvar end veftempinfo('listf6').eof -3
> print listf6;end=!end > prg
> listf ^prg,2
> yespurge ^prg
>
>
>BT
>NNNN
>Tracy Johnson
>MSI Schaevitz Sensors
>
> >
>
>* 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 *
|