BookmarkSubscribeRSS Feed
Rhys
Obsidian | Level 7

I'm running a proc cluster on a linux sas server. and producing a proc tree png which gets exported to a windows location. During this process the height and width of the pixels gets reset and the dendrogram is unreadable. 

 

I've given up trying to fix that as I've noticed a few problems when converting files from linux to windows using base sas code, where as exports seem to work fine.

 

So my question is, can I create a loop in Enterprise Guide; SAS Step to run cluster and tree, an export step, next loop, with a work table to control the loops?

 

Rhys

2 REPLIES 2
ballardw
Super User

Try defining heights and widths in terms of a different unit, cm or in. Pixels are always dependent on the display system.

And maybe sent the result to RTF. You don't mention which output destination you are actually using.

Reeza
Super User

Yes, this would be a basic macro loop. The other option, create a macro and use CALL EXECUTE within a dataset to execute N times. 

See documentation under Call Execute for an example.

 

I think when transferring files from Linux to Windows you need to do a binary transfer to ensure it comes across correctly. I think I recall hearing this, but if it sounds like gibberish please ignore this.

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
  • 688 views
  • 0 likes
  • 3 in conversation