hi
i m facing the same issue, i 'm trying to use the EXPORT function in the PROC INFOMAPS and read it through a XML MAP in order to keep the data structure and get the dataitems and expression values.
Elsewhere you could try to parse the log from PROC INFOMAPS(LIST) to get the values you need.
Bye
Giorgio
Have you looked at using the SQL Dictionary Tables for the INFOMAPS LIBNAME engine? The tables contain additional information on the information map (including the folder path in which the item is contained).
Daniele,
I just recently had this problem myself. You can put the output from the log into a rudimentary dataset using the code below:
path = %sysfunc(pathname(work)); /*find out the work directory of current session*/
%put &path;
printto log="&path/temp.log" new; /*Create a new log file in the work directory*/
run;
proc infomaps;
open infomap "<Infomapname>" mappath = <map location in SAS internal foldr system>";
list;
run;
printto log = log; /*Go back to a new log window*/
run;
/*Input log fiel from infomap into a dataset*/
data infomap_metadata;
infile "&path/temp.log" dsd dlm = '`'; /*Nothing in the file is dlm = '`' so whole row will be in one column*/
input log:$1000.; /*I want the whole row in one column so I use a large value*/
if index(log,":") > 0; /*Get rid of rows without good data*/
run;
That gets you a dataset that can be manipulated.
Sumner
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.