this is a publicly traded partnership. if so you should have been getting and reporting the k-1 info for each year you held it. the partnership should have furnished you with a supplemental schedule to compute your capital gain or loss and ordinary income on sale. the capital gain portion gets reported on the 1099-B worksheet. do not use the broker's basis, it is wrong. the ordinary income portion, if any, it will be on the supplemental schedule, gets report by using the linkage for disposition on the k-1 worksheet. what gets enter here is that for the sales price enter the ordinary income, the cost basis is 0 and ordinary income is the same as the sale price