You seem to be looking for PICK - eg   pick w8 >> ,20140225,

The classic approach would be to inject a dummy record in the stream, sort
on date, and ignore all records before the dummy.

PS It would be cheating to remind you of the AFTER option on LISTFILE ;-)


On 27 June 2014 16:14, Gentry, Steve <steve.gen...@westernsouthernlife.com>
wrote:

> In a  CMS environment, I have a list of files, created by LISTFILE.  The
> format of the file_type, in this list, will be DATE('S')  yyyymmdd
> I want to take a predetermined date, already in DATE('S') format, and
> compare it to the above mentioned file_type.  If the file type date is less
> than or equal to the predetermined date  I want to ignore it.  Or if the
> file type date is greater than the predetermined date, I want to pass it on
> to the next stage.   I was hoping for a PIPE stage that would do this type
> of logical compare but I didn't find one, or at least one with an obvious
> name/function.  If there is a stage, please let me know.  However, if there
> isn't a stage to do this, I think I'll have to do this with a SPEC stage.
>  While I've gotten better at writing pipe code, the SPEC stage is still a
> challenge for me and hence the need for a SPECS guru.
> Could someone help with this SPECs stage?
> Thanks,
> Steve
>

Reply via email to