Input buffer overrun
Posted: Fri Nov 05, 2010 12:31 pm
000255 000431 C BC
R SKD 1740 OUT 1925 G/T D23A PSV 1925 CGO 1819 R MEL RTG N 390 MEL.'\n'
000125 000139 888'\n'
02000 002014 CO 888'\n'
001435 001508 O K AC CREW REPORTS LH FAIRING TO FUSELAGE RETRACTABLE'\n'
Above is fixed width file except for the last record which can be variable. So have defined them as varchar with null field value as Null.The two records in the middle are being reject with Input buffer overrun at field because the last field is null.
I am not sure how to get around this, can someone please advice.
R SKD 1740 OUT 1925 G/T D23A PSV 1925 CGO 1819 R MEL RTG N 390 MEL.'\n'
000125 000139 888'\n'
02000 002014 CO 888'\n'
001435 001508 O K AC CREW REPORTS LH FAIRING TO FUSELAGE RETRACTABLE'\n'
Above is fixed width file except for the last record which can be variable. So have defined them as varchar with null field value as Null.The two records in the middle are being reject with Input buffer overrun at field because the last field is null.
I am not sure how to get around this, can someone please advice.