BookmarkSubscribeRSS Feed
jaiganesh
Obsidian | Level 7

Hello,

 

 

Can anybody please clarify me the below question.

 

"How would you determine how far down on a page you have printed in order to print out footnotes? "

 

 

Regards,

Jai

9 REPLIES 9
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Footnotes will appear where you have told them to.  If you use the footnote statement, and have put the in the footnotes area, then the renderer of the document should show them in that area irrespective of the data.  

If you mean that you are printing data and then want some text printed after it which could be considered footnotes even though not in the footnotes area, then simplay check how many observations get to get printed and multiply that by any wrapping that might occur - i.e. if its one line of data, and no wrapping, then footnotes will appear around line 3.  Its a vague question though.

jaiganesh
Obsidian | Level 7
Thanks for clarification, Could you please elaborate this with small program. Program would help to understand this better ways.
ChrisNZ
Tourmaline | Level 20

> Could you please elaborate this with small program. Program would help to understand this better ways.

 

Indeed a small program would.

 

How about you try different combinations and output formats to see what happens?

Astounding
PROC Star
This question almost certainly refers to a customized style of reporting that uses PUT statements within a DATA step. In that case the answer would be to add as part of the FILE statement:

LL=varname

That creates a variable holding the number of lines left on the page. A similar option answers the question:

LINE=varname2

It creates a variable showing which line you are currently writing to
jaiganesh
Obsidian | Level 7
This for clarification, If you could explain this with small program, Which help to understand this in better ways.
ballardw
Super User

@jaiganesh wrote:
This for clarification, If you could explain this with small program, Which help to understand this in better ways.

You should provide more context about why you are asking this question as there really isn't a single answer in my opinion.

Who asked this question and why?

Was example data provided?

Was any specific procedure required?

Was any desired output appearance specified?

 

Since the destination you are sending data to and how you are creating it changes. For a brief example change styles for any output that uses a different font size. Then the number of lines displayed per vertical space changes. So where a "footnote" goes changes.

The destination can change behavior quite drastically . ODS HTML doesn't have a "page" concept but ODS RTF and PDF do. So page size can become an issue especially when you have output that may span more than one "page".

 

Astounding
PROC Star

It can't be done in a small program.  Even in a medium size program, there are complex issues that would take too long to explain.  You will need to do a search on "customized reporting" to find examples ... that's the SAS terminology for creating a report using FILE and PUT statements in a DATA step.

jaiganesh
Obsidian | Level 7
Thanks for replay, I would work on it and update to you if anything else needed.
Tom
Super User Tom
Super User

Sounds like you are looking SAS questions from about 1980.  You might want to find a newer source to study.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

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
  • 9 replies
  • 1064 views
  • 1 like
  • 6 in conversation