How to browse/print big format

Reply
Super Contributor
Posts: 266

How to browse/print big format

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!

 

 

Super User
Posts: 21,481

Re: How to browse/print big format

Posted in reply to GeorgeSAS

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

Super User
Posts: 12,148

Re: How to browse/print big format

[ Edited ]
Posted in reply to GeorgeSAS

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.

 

 

 

 

 

Trusted Advisor
Posts: 1,683

Re: How to browse/print big format

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.

Ask a Question
Discussion stats
  • 3 replies
  • 102 views
  • 0 likes
  • 4 in conversation