Padding data with spaces
Posted: Tue Mar 16, 2004 9:40 am
I 've got a simple problem about padding data with spaces. Say, I have a record of 2000 chars long and I want to assign spaces from position 1000 to position 1500. The way I would do this is with smaller size data is through transfer stage and an assign command. However when we are talking about a data of size it appears to be a problem. (actually two).
The QS GUI won't take any spaces more than 40 chars in the assign command. If I want to press space once for a field that is 500 chars long, it will put only one space and a CR/LF after that which screws up the data.
Does anyone have a solution to this? I know it is unusual to assign spaces this long, but client wants us to take care of this in QS to avoid going back and forth between QS and DS.
Thanks..
The QS GUI won't take any spaces more than 40 chars in the assign command. If I want to press space once for a field that is 500 chars long, it will put only one space and a CR/LF after that which screws up the data.
Does anyone have a solution to this? I know it is unusual to assign spaces this long, but client wants us to take care of this in QS to avoid going back and forth between QS and DS.
Thanks..