converting variable length to fixed length file
Posted: Wed May 08, 2013 6:10 am
Hi,
I have a file with variable length of records.Maximum length is 2000 bytes.
I want to convert the file to fixed width. ie., I want to convert all the records to equal length of 2000 bytes by adding spaces.
I have shell script for the above conversion, however, the converted file occupies more momery in DS server. So I'm looking for better option that, whether can we do it n DS itself?
Could you please help me on this?
Regards,
I have a file with variable length of records.Maximum length is 2000 bytes.
I want to convert the file to fixed width. ie., I want to convert all the records to equal length of 2000 bytes by adding spaces.
I have shell script for the above conversion, however, the converted file occupies more momery in DS server. So I'm looking for better option that, whether can we do it n DS itself?
Could you please help me on this?
Regards,