Hi Quentin, thanx for your reply , I hoped that your recommendation would be useful but it didn't... Below the code and you can see the error log on the bottom. %macro master_test(papa); options autosignon=yes sascmd='sas -nosyntaxcheck -autoexec "C:\....\autoexec_for_MASTER.sas"'; %unquote(%NRSTR(%syslput _global_/like='papa' remote=EXTRCTN)); rsubmit process=EXTRCTN wait=yes persist=no; options autosignon=yes notes sascmd='sas -nosyntaxcheck -autoexec "C:\....\autoexec_for_MASTER.sas"'; %let e_construction_type=&papa; %unquote(%NRSTR(%syslput _global_/like='e_construction_type' remote=EUSD)); rsubmit process=EUSD wait=no persist=no; data a; a=&e_construction_type; run; endrsubmit; waitfor _all_ EUSD; endrsubmit; %mend; NOTE: Remote signon to EXTRCTN commencing (SAS Release 9.03.01M1P110211). NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead. NOTE: All profile changes will be lost at the end of the session. NOTE: Copyright (c) 2002-2010 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software 9.3 (TS1M1) Licensed to ############., Site ########. NOTE: This session is executing on the X64_S08R2 platform. NOTE: Updated analytical products: SAS/STAT 9.3_M1 NOTE: SAS initialization used: real time 0.09 seconds cpu time 0.10 seconds NOTE: AUTOEXEC processing beginning; file is C:\..........................\autoexec_for_MASTER.sas. NOTE: PROCEDURE PRINTTO used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: AUTOEXEC processing completed. NOTE: Remote signon to EXTRCTN complete. NOTE: Remote submit to EXTRCTN commencing. 1 options autosignon=yes notes sascmd='sas -nosyntaxcheck -autoexec "C:\.................\autoexec_for_MASTER.sas"'; 2 %unquote(%syslput _global_/like='e_construction_type' remote=EUSD); ERROR: Unrecognized option to the %SYSLPUT statement. 3 rsubmit process=EUSD wait=no persist=no; 4 data a; 5 a=&e_construction_type; WARNING: Apparent symbolic reference E_CONSTRUCTION_TYPE not resolved. 6 run; 7 endrsubmit; 8 waitfor _all_ EUSD; NOTE: Remote submit to EXTRCTN complete. NOTE: Remote signoff from EXTRCTN commencing. NOTE: Remote signon to EUSD commencing (SAS Release 9.03.01M1P110211). NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead. NOTE: All profile changes will be lost at the end of the session. NOTE: Copyright (c) 2002-2010 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software 9.3 (TS1M1) Licensed to #########, Site ###########. NOTE: This session is executing on the X64_S08R2 platform. NOTE: Updated analytical products: SAS/STAT 9.3_M1 NOTE: SAS initialization used: real time 0.07 seconds cpu time 0.07 seconds NOTE: AUTOEXEC processing beginning; file is C:\................\autoexec_for_MASTER.sas. NOTE: PROCEDURE PRINTTO used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: AUTOEXEC processing completed. NOTE: Remote signon to EUSD complete. NOTE: Background remote submit to EUSD in progress. NOTE: Remote submit to EUSD commencing. 1 data a; 2 a=&e_construction_type; - 22 WARNING: Apparent symbolic reference E_CONSTRUCTION_TYPE not resolved. ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, a missing value, INPUT, PUT. 3 run; NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set WORK.A may be incomplete. When this step was stopped there were 0 observations and 2 variables. NOTE: DATA statement used (Total process time): real time 0.01 seconds cpu time 0.00 seconds NOTE: Remote submit to EUSD complete. NOTE: Remote signoff from EUSD commencing. NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414 NOTE: The SAS System used: real time 0.41 seconds cpu time 0.21 seconds NOTE: Remote signoff from EUSD complete. NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414 NOTE: The SAS System used: real time 1.00 seconds cpu time 0.26 seconds NOTE: Remote signoff from EXTRCTN complete.
... View more