|
Hi Sagar,
Here it works fine (SAS 9.1.3 and 9.2):
data _null_;
file _webout;
PUT 'First line';
run;
data _null_;
file _webout mod;
PUT 'Second line';
run;
data _null_;
file _webout mod;
PUT 'Third line';
run;
produces file _webout.dat with contents:
First line
Second line
Third line
Regards - Jim.
--
Jim Groeneveld, Netherlands
Statistician, SAS consultant
http://jim.groeneveld.eu.tf
On Thu, 21 Jul 2011 00:35:01 -0400, SUBSCRIBE SAS-L sagar
<sagar.s@SATVIKINC.COM> wrote:
>hi this is the issue
>
>
>data _null_;
> file _webout;
> ....do all the PUT statements....
>run;
>
>the above works great!
>
>Now comes the question:
>
>data _null_;
> file _webout;
> ....do all the PUT statements for chunk1....
>run;
>
>data _null_;
> file _webout mod;
> ....do all the PUT statements for chunk2....
>run;
>
>data _null_;
> file _webout mod;
> ....do all the PUT statements for chunk3....
>run;
>
>This produces no errors but you only get
>text output from chunk1, and nothing from
>chunk2 or chunk3. =20
>
>Evidently, _webout and MOD don't work???
>
>(substituting a regular filespec for _webout,
>the MOD works just fine outputing all three
>chunks to a single file, as is should)
>
>So How can get aggregate data set chunk1,chunk2,chunk3 in _webout
|