Blank Rows are not Read by Datastage

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
KFajardo
Participant
Posts: 17
Joined: Mon May 11, 2015 7:22 pm
Location: Philippines

Blank Rows are not Read by Datastage

Post by KFajardo »

Hi guys,

good evening.

I have a problem on extracting a flat file on datastage.

The blank rows are ignored when extracting the data from a flat file.

is there a way that Datastage will consider those blank rows as NULL?

Any help please?

Thanks,
keith
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:!: Just a quick note. When you have a question about Parallel jobs you should be posting them in the EE/PX forum. Saves me from having to move everything for you as I've been doing. Thanks.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Define "blank row" for us. Complete empty, all spaces or ???
-craig

"You can never have too many knives" -- Logan Nine Fingers
KFajardo
Participant
Posts: 17
Joined: Mon May 11, 2015 7:22 pm
Location: Philippines

Post by KFajardo »

Ah, sorry for that. I will next time.

OK, blank rows.

In my sequential file, it is only blank.

I think it has a line feed so it is not null.

When i extract in on datastage, Datastage neglects the "blank" rows and proceeds to the next row.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not neglected but rather rejected since they did not match the metadata. They can either be captured via a reject link and processed separately or in your case you should check into the "Reject Mode" property of the stage, see if one there would help with this.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply