BookmarkSubscribeRSS Feed
Sai
Calcite | Level 5 Sai
Calcite | Level 5
Hi All,

I have written a macro using %window options. It works well in local system
but when i try to execute through remote system i get below errors

ERROR: Unable to open window macro file test
ERROR: Unable to open window macro file test.
ERROR: The macro test1 name will stop executing.

Could someone help me on this please?

Many Thanks in Advance
Sai
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
The SAS support website http://support.sas.com/ has a technote on this item, found doing a search there. Your window macro is not supported with rsubmit.

Scott Barry
SBBWorks, Inc.

http://support.sas.com/techsup/technote/ts697.pdf
deleted_user
Not applicable
you can set up the %window macro up to be called on the client, but rsubmit all the heavy lifting.... you'll need to "push" local macro variables to the server. for example, to push MacroVar1 to the server, just add this
[pre]%syslput MacroVar1=&MacroVar1;[/pre]

do this with all macro parameters needed.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 2 replies
  • 1112 views
  • 0 likes
  • 3 in conversation