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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.