Help using Base SAS procedures

page break within text file

Reply
Super Contributor
Posts: 400

page break within text file

Hello,

I'm helping a colleague with an issue they are having with having SAS create the proper page breaks for a text file.

They are opening the text file in Microsoft Word and the data crosses pages.

What is the best way to approach this issue to where each set of data is on a separate page?  I started to look at creating the report with data _null_ and use the _page_ in a put statement but that doesn't split it correctly.  Should I use the pagesize option?  If so what should the value be?

How to handle over lapping of data on multiple pages? 

Thank you for any help you can give me.put

Super User
Super User
Posts: 7,083

Re: page break within text file

Posted in reply to jerry898969

Are you just dumping the data or are you generating a report (using PROC PRINT or PROC REPORT)?

If you want to generate a WORD file then look at ODS RTF or similar functionality to generate a file that is already formatted for WORD.

Super Contributor
Posts: 400

Re: page break within text file

Hi Tom,

Thank you so much for you reply.  In this case I did eventually do an ODS report.

Thank you

Ask a Question
Discussion stats
  • 2 replies
  • 273 views
  • 4 likes
  • 2 in conversation