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

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!

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.

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
  • 685 views
  • 1 like
  • 2 in conversation