08-01-2012 02:20 PM
I am using the FCMP proc. when I try to write a string matrix to a dataset, I get a message that "can not convert char to numeric. Why can' t use write_array to write a text matrix to a dataset?
08-01-2012 03:39 PM
Code example needed for troubleshooting.
Since FCMP lets you write a custome routine unless we know what it does we can't tell why it gets that error.
08-02-2012 04:32 PM
It is not really in the documentation and prior to 9.3 the error messages are not very good, but the write_array function is only available for numeric arrays, they same for read_array and dynamic_array, as well as the other matrix functions, but since those are arithmetic it is more obvious. I had SAS created a usage note about it a while ago.