Hello all;
I have a very large SAS format(more than 1 G).I want to look at it. but after I double clicked it the SAS will terminated,the log shows me not enough memory.
How I can browse or print at lease one page of the format?
Thanks!
Did you try exporting it to a data set and working with it there?
I have to assume this is a continuation of https://communities.sas.com/t5/General-SAS-Programming/SAS-large-format/m-p/386829#M48966
First run proc catalog catalog=library.formats ;
contents;
run;
with the library your actual library name and if the format is not in the formats catalog then the actual name.
Post the results here.
If you get an error then post the log with the code and the entire error message. Best is to use a code box.
Since previously you said this was on a mainframe you might need to include JCL if any.
What do you mean by "large SAS format(more than 1 G)" ?
Assuming you have a format of too many lines you can do:
options obs=100;
proc format lib=library cntlout=cntl;
select format_name;
run;
options obs=max;
Otherwise you may mean a dataset with large number of variables and observations ?
still use options obs= to limit number of observations.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.