Warning

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
Prashantoncyber
Participant
Posts: 108
Joined: Wed Jul 28, 2004 7:15 am

Warning

Post by Prashantoncyber »

Hi All,

I am getting following warning

Sequential_File_4,0: Field "job_lvl" has import error and no default value; data: {j o b _ l v l}, at offset: 40

Job is very simple

just loading the data from sequential file to another seq file while appending some column in between at Transfermormer.

Taking cue from the previous discussion , i changed datatype "integer" to "Varchar" but stil warning is persisting.

can any body suggest?

thanks

Prashant[/code]
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
could it be that you have a first line of column headers and failed to flag it in the file format option?

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
Lali_swam
Participant
Posts: 39
Joined: Thu May 05, 2005 3:39 am
Location: Bangalore
Contact:

Re: Warning

Post by Lali_swam »

I got this error one time. Maybe this particular column job_lvl datatype in the DataStage is different from what is in the Table is the Database.
For. Eg
In the Datastage I had a Prod_id Char(5) and in the Oracle Table it was only Char(4). I had changed it to char(5) manually in the DS thinking I had it char(5) in the table..Then I realized the error and corrected it. Also maybe, if you change Integer to Varchar you shd get the value in quotes( I think). Hope this helps. :lol:
Lalitha
Prashantoncyber
Participant
Posts: 108
Joined: Wed Jul 28, 2004 7:15 am

Re: Warning

Post by Prashantoncyber »

Lali_swam wrote:I got this error one time. Maybe this particular column job_lvl datatype in the DataStage is different from what is in the Table is the Database.
For. Eg
In the Datastage I had a Prod_id Char(5) and in the Oracle Table it was only Char(4). I had changed it to char(5) manually in the DS thinking I had it char(5) in the table..Then I realized the error and corrected it. Also maybe, if you change Integer to Varchar you shd get the value in quotes( I think). Hope this helps. :lol:
Thanks lati...

But its simple migration from sequential file to another no database is in pictuer.

i also tried from interger to varchar.

Also tried as suggested by ray.......its still persisting........

Thanks
Prashant
elavenil
Premium Member
Premium Member
Posts: 467
Joined: Thu Jan 31, 2002 10:20 pm
Location: Singapore

Post by elavenil »

Is there any null value for that particular column? If you have null value, the import would fail so specify a default value and transform it in the transformer stage.

TIWH.

Regards
Saravanan
thebird
Participant
Posts: 254
Joined: Thu Jan 06, 2005 12:11 am
Location: India
Contact:

Post by thebird »

Prashant,

If you leave the field length for this particular field empty, when defining it as a varchar in the sequential file, you problem should be solved.

This happens when a numeric field is defined for a particular length in a comma delimited file, and while trying to read the data, the delimiter is not found at the particular field position.

Hope this helps.

Regards,

The Bird.
Post Reply