BookmarkSubscribeRSS Feed
GeorgeSAS
Lapis Lazuli | Level 10

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!

 

 

3 REPLIES 3
Reeza
Super User

Did you try exporting it to a data set and working with it there?

ballardw
Super User

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.

 

 

 

 

 

Shmuel
Garnet | Level 18

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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 418 views
  • 0 likes
  • 4 in conversation