Cynthia, two follow-up questions, please:
1) Your code as provided produces two adjacent columns (columns 2 and 3), "numrows" and "cnt". I would like to see as column 4 the product of those two columns, c2*c3, called, perhaps, "rows_x_cols". What would be the additional code to produce that?
2) Most columns resulting contain way too many decimal places, making things a little hard to read. What would be the additional code to format various columns as having just three (3) decimal places?
[Edit:] I see now, from other posts, that I could add the following toward the top:
format _numeric_ 9.3;
Adding this works to change the format of the report columns. Super! However, I would like to change the format of the exported dataset as well. Should I do that as a subsequent data step?
Thanks very much!
... View more