 Output File can be created in VB with 000 length. Say if all fields contain full data without spaces then whole 000 lenth would be full. If all length fields data without spaces + 0 pipes(|) is less than 000 then remaining positions after last field(EMP-SALARY) can be filled with spaces.  