BookmarkSubscribeRSS Feed
SriAshish1997
Calcite | Level 5

Hi,

I am using SAS Studio v9.4 m6 and my dictionary titles(Vtitle in SAS Help library) table is empty  and there is no default title associated with my SAS Studio. Can anyone provide me with the steps on how to set the default title "THE SAS System" in SAS Studio and how to update the Dictionary.titlles in the SAS Studio.

Thanks

4 REPLIES 4
Tom
Super User Tom
Super User

It does not matter what method (like SAS/Studio) you are using to submit the code.

The DICTIONARY.TITLES metadata (and the SASHELP.VTITLE view that points at it)  just reflects the current settings of the TITLE and FOOTNOTE statements.

If you have no titles or footnotes set

title;
footnote;

then it is empty.

If you want to set the first title back to 'The SAS System' then run a TITLE statement.

title  'The SAS System' ;

You can set up to 10 of each. When you set a particular one it automatically clears any after that one.

title1 'First title';
title4 'Fourth Title';
footnote2 'Third footnote';
proc print data=sashelp.vtitle;
run;

Tom_0-1660668174146.png

First title                                                                                        19:20 Monday, August 15, 2022   8


Fourth Title

     Obs    type    number         text

       1     T         1      First title
       2     T         2
       3     T         3
       4     T         4      Fourth Title
       5     F         1
       6     F         2      Third footnote














































Third footnote

 

SriAshish1997
Calcite | Level 5
Hi,

If I run the command "title 'The SAS System' " it will be updated for my session but could you provides steps to set the default title for my SAS Session, so that everytime any user who uses the SAS Studio can see the default title
Tom
Super User Tom
Super User

That IS probably the fault of using SAS/Studio as your interface for submitting code.

 

To check what is going on turn on the option to show all of the SAS code that the SAS/Studio application generates before and after the code you actually want to run.

Tom_0-1660669376877.png

Then you can see that SAS/Studio is turning off ALL of the titles.

  1          OPTIONS NOSYNTAXCHECK;
 2          TITLE;
 3          FOOTNOTE;
 4          OPTIONS LOCALE=en_US DFLANG=LOCALE;
 5          DATA _NULL_;
 6          RUN;

I so not know of anyway of overriding the code that SAS/Studio generates.

 

But if you push the button in SAS/Studio to go into "interactive mode" then it does not submit those lines. So any TITLE statements you submit in your session will be remembered in the next submission in the same session.

 NOTE: This session is in interactive mode.
 63         proc print data=sashelp.vtitle;
 64         run;
 
 NOTE: No observations in data set SASHELP.VTITLE.
 NOTE: There were 0 observations read from the data set SASHELP.VTITLE.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.00 seconds
       cpu time            0.01 seconds
       
 
 65         title2 'My title2';
 66         proc print data=sashelp.vtitle;
 67         run;
 
 NOTE: There were 2 observations read from the data set SASHELP.VTITLE.
 NOTE: The PROCEDURE PRINT printed page 1.

 

SriAshish1997
Calcite | Level 5
This is really helpful. Apart from this is there any way to set the dictionary.title(Sashelp.vtitle) table default value to "THE SAS SYSTEM" title through backend like updating the config file ? If yes can you share the steps ?

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 795 views
  • 0 likes
  • 2 in conversation