error Loading from Sequential File

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
cosec
Premium Member
Premium Member
Posts: 230
Joined: Tue May 08, 2007 8:10 pm

error Loading from Sequential File

Post by cosec »

Hi

DB2 Source - > Sequential File - > Target

If I set the sequential file(both input/output) to delimitted my job runs fine with no warnings but if i set it to fixed length I get the following warning :


djBatRcpt..DB2_UDB_API_3.IDENT2: At row 1, link 'DSLink4', while processing column 'ADJ_BAT_RCPT_ID', value truncated to ' 2006'.


Pls Help resolve this error.

Thanks
Sreedhar
Participant
Posts: 187
Joined: Mon Oct 30, 2006 12:16 am

Post by Sreedhar »

I understand from you posting that the job will run successfully with out any warnings if given as delimited, but fails when said as Fixed width.


With my exp I can only say that the fields declared as CHAR should be modified to VARCHAR. And also make user that the data is in accordance to the Metadata defined.


If that is an integer field or Numeric field make sure that you are giving it enough space to accommodate the input field

Do let us know the results(if there is any changes)
Regards,
Shree
785-816-0728
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Get the fixed widths RIGHT.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply