CFF Selection Criteria Default

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
rwierdsm
Premium Member
Premium Member
Posts: 209
Joined: Fri Jan 09, 2004 1:14 pm
Location: Toronto, Canada
Contact:

CFF Selection Criteria Default

Post by rwierdsm »

Hey Folks!

I'm having lots of fun coding my first CFF stage. I've created my first copy book in over 15 years, but this time I'm enjoying it more!

A question for the rich and famous out there, is there a way to code a 'default' or 'else' stream from the CFF stage? I have a number of record types embedded in a single file, which the CFF is so conveniently splitting up for me, however, what happens if I get an unexpected record type? There are lots of way to code this outside the CFF of course, but to keep it clean, I thought I should be able to enter an 'else' value on the Selection Criteria tab.

Is what I want to do possible in the CFF?

Thanks a million!

Rob Wierdsma
Rob Wierdsma
Toronto, Canada
bartonbishop.com
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
If you open your docs I believe the documented behaviour says that only records containing the mentioned value will go down the specific link.
What happens when you run into a record that does not fit any spec you have in your output links? (Test and see)

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply