Date: Thu, 21 Jul 2011 05:24:18 -0700
Reply-To: Jim Groeneveld <jim.1stat@yahoo.com>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <jim.1stat@YAHOO.COM>
Subject: Re: option for _webout in sas process
In-Reply-To: <CAOd5dU3Pvm=feGnB1Tn1NC6e6ax1KZYHk5LgTeEjTm2qAdr5uQ@mail.gmail.com>
Content-Type: text/plain; charset=iso-8859-1
Hi Sagar,
I'm sorry, maybe someone else on SAS-L can help you further.
Good luck - Jim.
--
Jim Groeneveld, Netherlands
Statistician, SAS consultant
http://jim.groeneveld.eu.tf
________________________________
From: sagar.s <sagar.s@satvikinc.com>
To: Jim Groeneveld <jim.1stat@yahoo.com>
Sent: Thursday, 21 July 2011, 11:28
Subject: Re: option for _webout in sas process
hi,
The issue is that when I am trying to create store process foe the code , I am getting error that the File is in use _webout
Thanks
sagar
On Thu, Jul 21, 2011 at 1:54 PM, Jim Groeneveld <jim.1stat@yahoo.com> wrote:
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
>
|