Desktop productivity for business analysts and programmers

rsubmit problem

Reply
N/A
Posts: 0

rsubmit problem

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.
Super User
Posts: 5,378

Re: rsubmit problem

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
Ask a Question
Discussion stats
  • 1 reply
  • 118 views
  • 0 likes
  • 2 in conversation