Reject Output Link - how to amend

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
StuM
Participant
Posts: 17
Joined: Thu Mar 23, 2006 10:45 am
Location: London

Reject Output Link - how to amend

Post by StuM »

Hi All,

I have a relatively simple job and part of it is to take two sequential files and put through a funnel to combine them. They have different attributes on input, so I wanted to set the output columns to a single fixed width field (the same for both files) and then put through the funnel.

However... when creating output links from the sequential files, the links are defaulting to 'Reject Links' and thus preventing me from playing around with any of the column properties.

Any help/guidance is much appreciated.

Regards
StuM
ashwin141
Participant
Posts: 95
Joined: Wed Aug 24, 2005 2:26 am
Location: London, UK

Post by ashwin141 »

Try chaging the link type or check the reject option. Your problem is still not clear.

Regards
Ashwin
StuM
Participant
Posts: 17
Joined: Thu Mar 23, 2006 10:45 am
Location: London

Post by StuM »

ashwin141 wrote:Try chaging the link type or check the reject option. Your problem is still not clear.
Thanks.

Basically the job functions are:

* Read in a sequential file
* Use a transform to split:

1. Header to another transform, which converts the format and writes out to a sequential file.
2. Data to a sequential file which is then sorted (in partitioning).

What I want to do is pull the two files (header date and data) into a funnel to combine into a single output file.

When I draw a link from the sequential files to the funnel, they appear as dotted lines and are defined as reject links.

Where would I find the setting to re-define the link to regular output, not reject?

Thanks
StuM
ashwin141
Participant
Posts: 95
Joined: Wed Aug 24, 2005 2:26 am
Location: London, UK

Post by ashwin141 »

Are you trying to do this in PX or Server?
StuM
Participant
Posts: 17
Joined: Thu Mar 23, 2006 10:45 am
Location: London

Post by StuM »

ashwin141 wrote:Are you trying to do this in PX or Server?
In PX...

Thanks
StuM
ashwin141
Participant
Posts: 95
Joined: Wed Aug 24, 2005 2:26 am
Location: London, UK

Post by ashwin141 »

Hi

If you are trying to do this in PX then it is not possible. Sequentila file doesn't allow two links, as in one output and one input link. Though it can have a second reject link. Modify your job design and remove those sequential files. Directly funnel the two links. I hope it will solve your problem.

Regards
Ashwin
StuM
Participant
Posts: 17
Joined: Thu Mar 23, 2006 10:45 am
Location: London

Post by StuM »

Brilliant! Thanks for your help Ashwin, I will modify it accordingly.

Kind regards
StuM
chandra
Participant
Posts: 88
Joined: Sun Apr 02, 2006 6:50 pm
Location: India

i have some bad records in dataset

Post by chandra »

how can i caputer the bad records from dataset.
suppose i have 10 records .
6th and 7th records are bad records .
how to achive this any clues?
chandra ,
Hyd
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Re: i have some bad records in dataset

Post by us1aslam1us »

chandra wrote:how can i caputer the bad records from dataset.
suppose i have 10 records .
6th and 7th records are bad records .
how to achive this any clues?

Hey chandra

This is not fair to hack someone's post. You should post a new one.

Thanks
Sam
chandra
Participant
Posts: 88
Joined: Sun Apr 02, 2006 6:50 pm
Location: India

Post by chandra »

im sorry !
our questions are allmost all same ..
so i tought better write in same
chandra ,
Hyd
Post Reply