BookmarkSubscribeRSS Feed
sophia_SAS
Obsidian | Level 7

I'd like to use proc greplay and would like to see which templates SAS offers for this procedure.  Can you please point to the best location to find this information?

Here's my base code using files from a previous procedure stored in the "test" folder in my a1 library.

proc greplay igout=a1.test tc=sashelp.templat

  template=D3d nofs;

treplay 1:test1 2:test2 3:test3 4:test4;

run;

quit;

Thanks,

Becky

2 REPLIES 2
ballardw
Super User

The default SAS supplied templates are in the SASHELP library in the TEMPLT catalog. If you click on the template you will get a text description of the layout in the log.  These examples all create non-overlapping areas of roughly uniform size but there is no requirement for either. If you use overlapping ones you probably don't want the boundary to show though.

Making templates for Greplay is pretty easy after you've done once or twice. I always found getting the text size in the original graph to work well in the replayed space was the tricky bit.

You can create upto 99 spaces within a single template but be careful.

GraphGuy
Meteorite | Level 14

I typically create my own greplay templates, so I can get the spacing (around the outside border, and between the graphs) exactly like I want it.

But, I did a Google search on a few of the predefined template names that I happened to have in my head, and turned up the following page which might help you do what you were asking for:

SAS FAQ: How can I view built-in templates for proc greplay?

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 2 replies
  • 948 views
  • 0 likes
  • 3 in conversation