BookmarkSubscribeRSS Feed
jaliu
Quartz | Level 8

For example, I don't see 'title' for many proc steps. And I don't see 'if' for data step. But they are options one can use in the software. I can't remember all the options so I need to use the documentation to succeed in the exam, and if there a multiple choice question I cannot see if something works or not. Is there any guide to understand how to use the documentation? It seems pretty complicated.

2 REPLIES 2
Reeza
Super User
TITLE is a global Statement (not option), an example of another is FOOTNOTES or FILENAME.
These are documented under GLOBAL statements
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lestmtsglobal/titlepage.htm

These are global because they can be used almost anywhere in the code and are not required to be in a data step or proc.

The Statements valid in DATA steps are documented here:
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lestmtsref/titlepage.htm


And then as you've noted each PROC has it's own documentation, but again, some of them have a general section if it applies to more than one procedure.
IE how categorical variables are handled is described centrally and duplicated somewhat in each proc as relevant.

Cynthia_sas
Diamond | Level 26
Hi:
And to add onto @Reeza's excellent response, statements that can be used by multiple procedures (such as TITLE, FOOTNOTE, FORMAT, LABEL or BY statements) will be found in the Dictionary of DATA step statements.
Cynthia.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

LIBNAME 101

Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1275 views
  • 4 likes
  • 3 in conversation