Hi
I am writing a large varcharfield(2000) to a sequential file(fixed widh) but its truncating the value and writing. Is there any limitation on varchar field or fixed width file??
Thanks in advance
truncating varchar field
Moderators: chulett, rschirm, roy
-
- Charter Member
- Posts: 560
- Joined: Wed Jul 13, 2005 5:36 am
- Location: Ohio
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Size in the target
Is there any field size you have defined in the target sequential file?
If No, then it takes the default size of the varchar as 1024.
If No, then it takes the default size of the varchar as 1024.
Regards,
Novneet Jain
Novneet Jain
As per your question about the limit of varchar is concern it can handle up to 32,672 characters in length.
Do check what you have given in the target.
Also check what is the display value you have given in the metadata of the source.
These two check should help you to resolve the prob.
Do let us know your finding, which would help the entire dsxchange group.
Do check what you have given in the target.
Also check what is the display value you have given in the metadata of the source.
These two check should help you to resolve the prob.
Do let us know your finding, which would help the entire dsxchange group.
Regards,
Shree
785-816-0728
Shree
785-816-0728