To run job from a file with empty fields

Infosphere's Quality Product

Moderators: chulett, rschirm

Post Reply
loreandre
Participant
Posts: 13
Joined: Tue Mar 20, 2007 3:13 pm

To run job from a file with empty fields

Post by loreandre »

Hi all,
When running a QS job, I am getting the following error:

ERROR: Incomplete record read from file /Ascential/QualityStage/Projects/Data/MALDDR

Investigating I believe that it is possible to have that QS perdite not to load a file that comes with null data. That I can do on the matter?

Many thanks

Lore
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

LORE,

Your NULL data is not meeting the fixed-width requirement of your QualityStage job. Use some tool to substitute the appropriate number of space characters for the missing values (NULLS.) You can achieve this using DataStage, a Unix shell script, or possibly in whatever tool you are employing to generate your flat file.

HTH,
John.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
Post Reply