the use of daysold in the spoolf and listfile commands would be a small step in the right direction. the expansion of this to a full set of MJD functions which could be used by any program would be a much better expansion. the selection of ask's MJD was only done because I had the code to do it. using the MJD which wirt suggests of 1 Jan 1900 would be a much better selection of a starting date. one of the nice things of using a starting date within the past 20-30 years would be the size of the integer and the fact that it could be a JCW for compatibility mode code. perhaps the date of 1 Jan 1960( since hp revision and serial numbers use this offset could be used). > -----Original Message----- > From: Jeff Vance [SMTP:[log in to unmask]] > Sent: Wednesday, December 30, 1998 7:06 PM > To: Simonsen, Larry > Cc: [log in to unmask] > Subject: Re: ci functions > > Hello Lary, > > Thanks for the example. > > On Dec 30, 3:21pm, Simonsen, Larry wrote: > ... > > Or > > ! SPOOLF O@;SELEQ=[dev=dlp AND ($today - DATE) > 7];SHOW;delete > > Would be nice if the SPOOLF command (and others) supported the > keyword DAYSOLD. Eg. > spoolf o@;seleq=[dev =dlp and daysold >7]... > > My SPOOK command file, available on jazz, implements 'daysold' in the > show, purge and alter commands. > > --