ODS option to prevent tables from splitting?

Reply
Contributor
Posts: 30

ODS option to prevent tables from splitting?

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?

Super Contributor
Posts: 297

Re: ODS option to prevent tables from splitting?

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

Contributor
Posts: 30

Re: ODS option to prevent tables from splitting?

Posted in reply to Scott_Mitchell

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

Super Contributor
Posts: 297

Re: ODS option to prevent tables from splitting?

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

Contributor
Posts: 30

Re: ODS option to prevent tables from splitting?

Posted in reply to Scott_Mitchell

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 j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1 0 0 0 -1 0 0

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

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

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

4 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

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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=menstennisclay20122013;

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 clay court mens tennis w dummy and top seed using logistic regression';

run;

ods pdf close;

Super Contributor
Posts: 297

Re: ODS option to prevent tables from splitting?

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

Ask a Question
Discussion stats
  • 5 replies
  • 236 views
  • 0 likes
  • 2 in conversation