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

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!

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