BookmarkSubscribeRSS Feed
kingCobra
Obsidian | Level 7

Hi,

 

May be a very basic question.

 

How many Style GraphData statements are allowed in a Proc template?

 And could you send me a link to the documentation for Template procedure - creating style template for ODS Graphics. The new look of the SAS documentation make it so difficult to find the right documentations.

 

Thanks you.

 

1 REPLY 1
ballardw
Super User

AS far as I know you could add as many graphdata elements to a style template as you want though most of the SAS supplied ones define or inherit 12 or fewer.

 

I think that you might have a bit more luck listing out a base style and examining the syntax for likely changes than wading from whole cloth through Proc Template documentation.

 

proc template;
   source styles.normal;
   source styles.meadow;
run;

will send the proc template source for the two styles listed to the log.

 

I included Meadow as it inherits from Normal and you can see how to override or use inheritance.

Then you would have specific syntax to search for instead of wandering through the documentation at random.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1020 views
  • 0 likes
  • 2 in conversation