Yup, I believe that is the program R calls as part of the R package rhdf5. The solution I've settled on is calling the h5dump function in R (which in turn calls the h5dump tool you linked to, I think) from Proc IML. The bit64 package is also used because, at least in my case as I'm running 32-bit SAS 9.4, integer64 data types are created in R from the HDF5 files. SAS does not recognize the integer64 data type on SAS 9.4 32-bit, maybe 64-bit would work. Since I am getting integer counts from instruments, I was able to safely convert the integer64 data to regular integers before importing into SAS. Anyway, here is the code I've used and it appears to work. proc iml; submit / R; library(rhdf5) x <- h5dump("c:\\data\\Counts.h5",bit64conversion='bit64') s <- do.call(cbind,x$Hist) ss <- as.integer.integer64(s) endsubmit; run ImportMatrixFromR(ss,"ss"); *** Create data set work1 from the IML matrix ss. ***; create work1 from ss; append from ss; close work1; quit;
... View more