Multi Record type file issue

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
prasad v
Participant
Posts: 174
Joined: Mon Mar 30, 2009 2:18 am

Multi Record type file issue

Post by prasad v »

Hi

I am reading the Multi Record type file using CFF Stage.

File must have Header'H', Detail'D' and Trailer'T' as identifiers. If any other identifier comes like 'Z' or ... something other than above 3. those records should move into reject link.

I had connected rejected link and specified Save in CFF stage. I haven't got those records into reject link and it gave warning saying that Invalid tag 'K'.........

Can anyone suggest how do we captur these records into reject. After that we need to process them.
vijaykumarpj
Participant
Posts: 30
Joined: Sat Dec 19, 2009 5:19 am
Location: Manchester, UK

Post by vijaykumarpj »

Just specify, the constraints as H, D, T in the constraints tab of the CFF stage. However, you can see the other records except H,D,T in the reject file connected.
Thanks,
VJ.
prasad v
Participant
Posts: 174
Joined: Mon Mar 30, 2009 2:18 am

Post by prasad v »

Thanks Vijay,

I have done the same thing before i have posted here. but couldn't get the reject data and got the warning as
Complex_Flat_File_0,0: Tag value: K does not match any tagcase for tagged field "complex_flat_file_0_record_type"
Post Reply