BookmarkSubscribeRSS Feed
deleted_user
Not applicable
options sascmd='D:\Program Files\SAS\SAS 9.1\sas.exe -nosyntaxcheck' autosignon=yes ;
%MACRO ABC();
signon first1;
%syslput rex_path=D:\BI ETL\Automation_Testing\Reg_ETL_Jobs;
%syslput rjname=BLCMExtInitCustomer;
rsubmit first1 sysrputsync=yes notify=no wait=no ;
LIBNAME AmdExStg "D:\ARVIND\AUTOMATE_TESTING\EXTRACTS";
%let trans_rc=;
%let job_rc=;
%include "&REX_PATH\&RJNAME..sas"; endrsubmit;
WAITFOR first1;
signoff first1;
%put &trans_rc;
%put &job_rc;
%MEND ABC();
%abc();

when BLCMExtInitCustomer.sas is run then it update value of trans_rc and job_rc macro variable.
but
%put &trans_rc;
%put &job_rc; are not printing updated value;

by default on my sas application server NODMR is in effect.
1 REPLY 1
LinusH
Tourmaline | Level 20
Those macro variables are created and set in the remote session.
Use %SYSRPUT to assign them in the client ("master") session.

/Linus
Data never sleeps

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1 reply
  • 789 views
  • 0 likes
  • 2 in conversation