BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jaheuk
Obsidian | Level 7

hi folks,

is there some kind of PROC or options for PROC PRINT/REPORT to have a FSEDIT like ouput (this is 1 obs per page) ?

so you have a quick look on all vars of one obs on one page!!

GreetZ,

Hermie

1 ACCEPTED SOLUTION

Accepted Solutions
data_null__
Jade | Level 19

 

proc fsbrowse printall data=sashelp.class;

   run;

View solution in original post

6 REPLIES 6
Patrick
Opal | Level 21

You can always set the page size to 1line:

Options ps=1;

data_null__
Jade | Level 19

 

proc fsbrowse printall data=sashelp.class;

   run;

Jaheuk
Obsidian | Level 7

hi data _null_;

nearly perfect Smiley Happy

on screen sas organizes all  vars so they can been seen on one screen. (in order from top to bottom and left to right).

with your example, on paper, sas puts all vars below each other so we can have an overflow :smileycry:

do you have a solution for this too?

GreetZ,

Herman

data_null__
Jade | Level 19

You may be able to get something better looking with the options below.  Or create a custom SCREEN.  I haven't done this is 20 years, about all I remember is what I put in my first post.

display-options

provide control over the appearance of the FSEDIT window. All of the following options except NOBORDER and NR= are ignored if an existing SCREEN entry is specified with the SCREEN= option.

LABEL
NC=n
NOBORDER
NR=n
STCOL=n
STROW=n
TAB=n
Alpay
Fluorite | Level 6

You can do that with a proc report statement.

Need a variable to break records row by row.

In this example, Idx varianble is used to break report one page per observation but not shown in the output.

data x;

  set sashelp.class;

  Idx + 1;

run;

proc report data=x nowd missing;

  column Idx Name Sex Age Height Weight;

  define Idx / order noprint;

  define Name / display;

  define Sex / display;

  define Age / display;

  define Height / display;

  define Weight / display;

  break after Idx / page;

run;

Ksharp
Super User

How about:

data _null_;
 set sashelp.class;
 put (_all_) (=);
 put _page_;
run;


Ksharp

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

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.

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
  • 6 replies
  • 1237 views
  • 2 likes
  • 5 in conversation