Problem:
I have a flat file with 10 columns, one column is a date-field. This is input to a transform-stage. Then, I have a
hash-file with a single record, containing a date-field.
This is input to the same transform as a 'reference'. I
want to get all the records from the flat-file where it's
date-field is equal to or less than (<=) the date that is
in the hash-file. Can somebody help ?
I've tried using the 'constraints', but for some reason
nothing gets written to the output file, unless I tie up
the hash-file date with the flat-file date-field using the
"key-expression". The problem with this, it defaults to an
equi-join, and I only get output records whose dates are
equal to the hash-file date. I want all records whose date
is <= hash-file date. Thanks in advance.
I have a flat file with 10 columns, one column is a date-field. This is input to a transform-stage. Then, I have a
hash-file with a single record, containing a date-field.
This is input to the same transform as a 'reference'. I
want to get all the records from the flat-file where it's
date-field is equal to or less than (<=) the date that is
in the hash-file. Can somebody help ?
I've tried using the 'constraints', but for some reason
nothing gets written to the output file, unless I tie up
the hash-file date with the flat-file date-field using the
"key-expression". The problem with this, it defaults to an
equi-join, and I only get output records whose dates are
equal to the hash-file date. I want all records whose date
is <= hash-file date. Thanks in advance.