Desktop productivity for business analysts and programmers

Specify maximum number of output data sets for tasks independently

Reply
Contributor
Posts: 23

Specify maximum number of output data sets for tasks independently

In Properties for EG project I can specify maximum number of data sets to add to the project.

Can I specify maximum number of output data sets for tasks independently. For example, for task "SAS Code 1" - maximum 10 output data sets, for task "SAS Code 2" - maximum 2 sets, e.t.c.


Best wishes,

Dmitry  

SAS Super FREQ
Posts: 307

Re: Specify maximum number of output data sets for tasks independently

Hi Dmitry,


Currently, no, there is not a way to specify the maximum number of output data sets for each task.  However, if there are output data sets you do not want added to the project/process flow, you can write them to a temp library, unassign the library at the end of your task/program code, and they will not get added to the project.  For example:

libname blah 'c:\temp';

data addToProject; x=1; run;
data blah.doNotAddToProject; x=1; run;

libname blah clear;


In this example, the first data set (addToProject) will get added to the project, but the second data set (doNotAddToProject) will not.

Casey

Contributor
Posts: 23

Re: Specify maximum number of output data sets for tasks independently

Thank you very much, Casey!

Ask a Question
Discussion stats
  • 2 replies
  • 439 views
  • 3 likes
  • 2 in conversation