I guess i jumped the gun a little bit. My apologies. It works for the sample i provided, but the real file has almost 300 fields in each record..some of those values are populated and some aren't...so simply joining a "|" at the end doesn't work for the actual file.
is there a way to do what you did but instead of Joining one pipe at the end can we somehow join the remaining ~300 col values to each record?
row|1|CUSIP|35472T200|ARDIV|||20150112|||||||||||||||||||||||||||||||| +|||||||||||||||||||||20150321||||||G||||||||||||||||||||FR||||||||||| +||||||||||||||||||||||||||||||||||||X|||||||||||||||||||||||||||||||| +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +||||||||||||||||||||||||||||||||||||||||LIQ|||||||||||||||||||||||||| +||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +||||||||||||
Sorry for the incomplete data and thx again.
In reply to Re^2: one liner to capture value of field and insert in another field
by dirtdog
in thread one liner to capture value of field and insert in another field
by dirtdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |