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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 697 views
  • 0 likes
  • 2 in conversation