War - 'Data that exceeds maximum length has been truncated'

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
anshumangupta1206
Participant
Posts: 42
Joined: Tue Jan 24, 2006 9:11 am

War - 'Data that exceeds maximum length has been truncated'

Post by anshumangupta1206 »

Hello All,
I have creatde a sequential file with total columns length as 1200 for a record.When I am looking into the file with 'View Data' option , getting a warning stating - 'Data that exceeds maximum length has been truncated'.

Can anybody explain me the reason for the same with solution.

Whether there is any relation to the maximun length?

Thanks
wed
sb_akarmarkar
Participant
Posts: 232
Joined: Fri Sep 30, 2005 4:52 am
Contact:

Post by sb_akarmarkar »

You need to set display lenght also


Thanks,
Anupam
anshumangupta1206
Participant
Posts: 42
Joined: Tue Jan 24, 2006 9:11 am

Post by anshumangupta1206 »

Display length is already defined and it is same as Length field.

sb_akarmarkar wrote:You need to set display lenght also


Thanks,
Anupam
wed
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

There is a maximum number of characters the GUI will display, something quite large. You probably have a row with a column thousands of characters wide.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Woth
Participant
Posts: 24
Joined: Thu Mar 18, 2004 8:18 pm

Post by Woth »

depending on the version you are using, there is an option in the stage that permits you to eliminate that warning
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

But i dont think this is something that you need to worry about. The job will run just fine. If you have to view the records, do it from the unix level by using the head and tail options.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

DSguru2B wrote:But i dont think this is something that you need to worry about. The job will run just fine. If you have to view the records, do it from the unix level by using the head and tail options.
Data getting truncated is nothing to worry about? If it is getting truncated in "view data" it will be passed on truncated. Correct me if i am wrong.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

You're all wrong except DSGuru2B. It's the GUI that can't display the full contents of a column. The job is fine.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply