BookmarkSubscribeRSS Feed
zscott1
Calcite | Level 5

I am outputing data to pdf, but I don't want my tables to split, if possible I could do a table per line.  Which option would do this?

5 REPLIES 5
Scott_Mitchell
Quartz | Level 8

What do you mean you don't want your tables to split?

zscott1
Calcite | Level 5

I want a table to start on a page and end on the same page.  The startpage= option doesn't seem to be helping me accomplish this.

Thanks

Scott_Mitchell
Quartz | Level 8

Can you provide the code you are using at present, so I can recreate exactly what you are attempting to do?  Some simulated data would be great too.

Regards,

Scott

zscott1
Calcite | Level 5

ods pdf file="C://users/zscott1/finalmens.pdf" style=journal;

data menstennis20122013; input win n nd rn tw am df rf tb jd jt rg sw;

cards;

99 106 1 -1 0 0 0 0 0 0 0 0 0

2 8 1 0 -1 0 0 0 0 0 0 0 0

5 9 1 0 0 -1 0 0 0 0 0 0 0

4 5 1 0 0 0 -1 0 0 0 0 0 0

3 5 1 0 0 0 0 -1 0 0 0 0 0

7 8 1 0 0 0 0 0 -1 0 0 0 0

6 8 1 0 0 0 0 0 0 -1 0 0 0

6 6 1 0 0 0 0 0 0 0 -1 0 0

4 4 1 0 0 0 0 0 0 0 0 -1 0

4 4 1 0 0 0 0 0 0 0 0 0 -1

75 81 0 1 -1 0 0 0 0 0 0 0 0

0 2 0 1 0 -1 0 0 0 0 0 0 0

7 7 0 1 0 0 -1 0 0 0 0 0 0

4 6 0 1 0 0 0 -1 0 0 0 0 0

6 6 0 1 0 0 0 0 -1 0 0 0 0

2 2 0 1 0 0 0 0 0 -1 0 0 0

3 4 0 1 0 0 0 0 0 0 -1 0 0

2 2 0 1 0 0 0 0 0 0 0 -1 0

3 3 0 1 0 0 0 0 0 0 0 0 -1

8 94 0 0 1 -1 0 0 0 0 0 0 0

14 137 0 0 1 0 -1 0 0 0 0 0 0

8 101 0 0 1 0 0 -1 0 0 0 0 0

19 123 0 0 1 0 0 0 -1 0 0 0 0

13 105 0 0 1 0 0 0 0 -1 0 0 0

18 109 0 0 1 0 0 0 0 0 -1 0 0

20 100 0 0 1 0 0 0 0 0 0 -1 0

21 97 0 0 1 0 0 0 0 0 0 0 -1

4 6 0 0 0 1 -1 0 0 0 0 0 0

3 6 0 0 0 1 0 -1 0 0 0 0 0

3 7 0 0 0 1 0 0 -1 0 0 0 0

0 1 0 0 0 1 0 0 0 -1 0 0 0

3 3 0 0 0 1 0 0 0 0 -1 0 0

2 3 0 0 0 1 0 0 0 0 0 -1 0

3 5 0 0 0 1 0 0 0 0 0 0 -1

0 3 0 0 0 0 1 -1 0 0 0 0 0

1 2 0 0 0 0 1 0 -1 0 0 0 0

4 5 0 0 0 0 1 0 0 -1 0 0 0

2 2 0 0 0 0 1 0 0 0 -1 0 0

3 4 0 0 0 0 1 0 0 0 0 -1 0

2 4 0 0 0 0 1 0 0 0 0 0 -1

2 4 0 0 0 0 0 1 -1 0 0 0 0

6 8 0 0 0 0 0 1 0 -1 0 0 0

4 6 0 0 0 0 0 1 0 0 -1 0 0

2 2 0 0 0 0 0 1 0 0 0 -1 0

4 4 0 0 0 0 0 1 0 0 0 0 -1

1 3 0 0 0 0 0 0 1 -1 0 0 0

4 6 0 0 0 0 0 0 1 0 -1 0 0

1 3 0 0 0 0 0 0 1 0 0 -1 0

1 3 0 0 0 0 0 0 1 0 0 0 -1

2 4 0 0 0 0 0 0 0 1 -1 0 0

3 3 0 0 0 0 0 0 0 1 0 -1 0

1 1 0 0 0 0 0 0 0 1 0 0 -1

1 1 0 0 0 0 0 0 0 0 1 -1 0

2 3 0 0 0 0 0 0 0 0 1 0 -1

0 1 0 0 0 0 0 0 0 0 0 1 -1

;

proc genmod data=menstennis20122013;

model win/n= nd rn tw am df rf tb jd jt rg sw/dist=bin noint link=logit covb;

title 'Bradley-Terry Model for 2 year mens tennis w dummy and top seed using logistic regression';

run;

data menstennishard20122013; input win n nd tw rn am df rf tb jd jt rg sw;

cards;

57 61 1 -1 0 0 0 0 0 0 0 0 0

1 3 1 0 -1 0 0 0 0 0 0 0 0

5 7 1 0 0 -1 0 0 0 0 0 0 0

4 5 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6 0 0 0 0 0 1 0 -1 0 0 0

4 5 0 0 0 0 0 1 0 0 -1 0 0

1 1 0 0 0 0 0 1 0 0 0 -1 0

4 4 0 0 0 0 0 1 0 0 0 0 -1

0 1 0 0 0 0 0 0 1 -1 0 0 0

4 6 0 0 0 0 0 0 1 0 -1 0 0

1 3 0 0 0 0 0 0 1 0 0 -1 0

1 2 0 0 0 0 0 0 1 0 0 0 -1

2 3 0 0 0 0 0 0 0 1 -1 0 0

2 2 0 0 0 0 0 0 0 1 0 -1 0

0 0 0 0 0 0 0 0 0 1 0 0 -1

1 1 0 0 0 0 0 0 0 0 1 -1 0

0 0 0 0 0 0 0 0 0 0 1 0 -1

0 0 0 0 0 0 0 0 0 0 0 1 -1

;

proc genmod data=menstennishard20122013;

model win/n= nd tw rn am df rf tb jd jt rg sw/dist=bin noint link=logit covb;

title 'Bradley-Terry Model for 2 year hardcourt mens tennis w dummy and top seed using logistic regression';

run;

data menstennisclay20122013; input win n nd rn tw am df rf tb jd jt rg sw;

cards;

1 5 1 -1 0 0 0 0 0 0 0 0 0

24 26 1 0 -1 0 0 0 0 0 0 0 0

0 0 1 0 0 -1 0 0 0 0 0 0 0

0 0 1 0 0 0 -1 0 0 0 0 0 0

2 2 1 0 0 0 0 -1 0 0 0 0 0

1 2 1 0 0 0 0 0 -1 0 0 0 0

0 0 1 0 0 0 0 0 0 -1 0 0 0

2 2 1 0 0 0 0 0 0 0 -1 0 0

0 0 1 0 0 0 0 0 0 0 0 -1 0

1 1 1 0 0 0 0 0 0 0 0 0 -1

43 45 0 1 -1 0 0 0 0 0 0 0

0 0 0 1 0 -1 0 0 0 0 0 0 0

7 7 0 1 0 0 -1 0 0 0 0 0 0

1 1 0 1 0 0 0 -1 0 0 0 0 0

2 2 0 1 0 0 0 0 -1 0 0 0 0

1 1 0 1 0 0 0 0 0 -1 0 0 0

2 2 0 1 0 0 0 0 0 0 -1 0 0

1 1 0 1 0 0 0 0 0 0 0 -1 0

3 3 0 1 0 0 0 0 0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g sw/dist=bin noint link=logit covb;

title 'Bradley-Terry Model for 2 year mens clay court mens tennis w dummy and top seed using logistic regression';

run;

ods pdf close;

Scott_Mitchell
Quartz | Level 8

Here is a post from 2006 that Cynthia wrote on the matter.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1549 views
  • 0 likes
  • 2 in conversation