HP3000-L Archives

June 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:
"Emerson, Tom # El Monte" <[log in to unmask]>
Reply To:
Emerson, Tom # El Monte
Date:
Thu, 22 Jun 2000 17:42:12 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (98 lines)
%filter "listf @[log in to unmask]@(ondevice(bad_disk)),6","." >$null
%calc mpexprintlinesfound

How it works:
  %filter <cmd>,<search> performs the command, then does a "print;search="
on the output
   in this case, the "search" term is a single dot, which is "guaranteed" to
appear in every line of a "listf,6" output
   the actual %PRINT command is redirected to $null [since we don't care
about it, it could just as easily be redirected to a real file for use as an
"indirect fileset" when you get around to storing/restoring the file(s)]
   the %PRINT command sets a JCW to indicate the number of lines found in a
;SEARCH= clause
   [or, if you saved the output to a file for use later, the EOF of the file
would be that number as well...]

> -----Original Message-----
> From: Jean Huot [mailto:[log in to unmask]]
> Sent: Thursday, June 22, 2000 2:57 PM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] Any program to count # of files on a
> particular
> LDEV?
>
>
> Hi Leonard,  I may sound fussy, but is there any way to get
> simply the total
> of files instead of an ongoing everlasting list of files
> displayed on the
> screen?
>
> Jean
> ----- Original Message -----
> From: "Leonard S. Berkowitz" <[log in to unmask]>
> To: <[log in to unmask]>
> Sent: Thursday, June 22, 2000 3:46 PM
> Subject: Re: [HP3000-L] Any program to count # of files on a
> particular
> LDEV?
>
>
> > MPEX has it:
> >
> > LISTF fileset(ONDEVICE(n)),listf_mode
> >
> > ===================
> > Leonard S. Berkowitz
> > Perot Health Care Systems
> > (Harvard Pilgrim Health Care account)
> > voice: 617-509-1212
> > fax:   617-509-3737
> > pager: 781-226-2431
> >
> >
> >
> >
> >
> >
> >
> > Jean Huot <[log in to unmask]> on 06/22/2000 05:31:29 PM
> >
> > Please respond to Jean Huot <[log in to unmask]>
> >
> >
> >
> >
> >
> >
> >
> >
> >  To:      [log in to unmask]
> >
> >  cc:      (bcc: Leonard Berkowitz/CORP/HPHC)
> >
> >
> >
> >  Subject: [HP3000-L] Any program to count # of files on a
> >           particular LDEV?
> >
> >
> >
> >
> >
> >
> >
> >
> >   I am looking for a program either in Vesoft or a MPEiX
> command thant can
> count
> > # of files that is store on a particular LDEV    I need to replace.
> >
> > Any suggestions,
> >
> > Jean Huot
> > Northern Credit Bureaus Inc.
> >
>

ATOM RSS1 RSS2