BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Deonjpret
Fluorite | Level 6

Hi all, I f

have a simple peace of code:

/*Grid Enabling section*/
%let rc=%sysfunc(grdsvc_enable(_all_,resource=SASAppCore));
%let rc=%sysfunc(grdsvc_nnodes(resource=SASAppCore));
%put Number of Grid Nodes=&rc;
options autosignon;
/*End of Enablement Signon*/

%put %sysfunc(pathname(work));

rsubmit task1 wait=no ;
%put %sysfunc(pathname(work));
OPTIONS FULLSTIMER SOURCE SOURCE2 MSGLEVEL=I MPRINT NOTES;
Data TEST2;
X=1;
Run;
endrsubmit;

Data TEST1;
x=10;
Run;

signoff task1;

We are running SAS Grid 9.4 on Linux.  

1. I need to share the two work sessions created, because I may have a dataset in one which I would like to merge with Test1.

2. I would like to have two sets of logs, parent and child (test1.log and test2.log)

3. If task 1 has an error, I would like the dataset Test1 not to execute 

 

please help. Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20
1. Use a separate libref for data that should be shared. INHERITLIB= SIGNON option can make that easier. Or download the remote saswork data to the local session. Or use the pathname info to assign a new library from the local session to the remote saswork (hint: see %syslput and %sysrput).
2. See the LOG= option for the SIGNON statement.
3.Then why have wait=no?
Data never sleeps

View solution in original post

1 REPLY 1
LinusH
Tourmaline | Level 20
1. Use a separate libref for data that should be shared. INHERITLIB= SIGNON option can make that easier. Or download the remote saswork data to the local session. Or use the pathname info to assign a new library from the local session to the remote saswork (hint: see %syslput and %sysrput).
2. See the LOG= option for the SIGNON statement.
3.Then why have wait=no?
Data never sleeps

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1001 views
  • 1 like
  • 2 in conversation