Writing Data to Text File

Thanks Jim.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
jckinneman
Sent: Wednesday, February 06, 2013 6:41 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Writing Data to Text File





vLogFilename = vLogFilename + "-" + string(year(today)) +
string(month(today)) + string(day(today),"99") + ".log".

output to value(vLogFilename) append keep-messages.

This will redirect all output so that nothing shows up in the server log.

Jim Kinneman
Encompass Solutions, Inc

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> , "Kevin
Simon" wrote:
>
> Please ignore my below email. For some reason, I coulda swore the "PUT
> UNFORMATTED" echoed the message to the app server log. Good thing I didn't
> put money on it.
>
>
>
>
>
>
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
> simstrak
> Sent: Wednesday, February 06, 2013 1:42 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Writing Data to Text File
>
>
>
>
>
> I am using a couple methods to write data to a text file, but in each
case,
> it echoes the data to the app server logs. Does anyone have a method or
> options you use to NOT write to the app server log.
>
> Typically, I do an "OUTPUT TO VALUE(FileName)" to open the output file.
> Then, I use either the MESSAGE statement or the PUT UNFORMATTED statement
to
> write data to the file.
>
> Some of the files I write are rather large, and I'd really not like to
have
> all that data duplicated to the app server log.
>
> Thanks.
> Kevin Simon
>
>
>
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]
I am using a couple methods to write data to a text file, but in each case, it echoes the data to the app server logs. Does anyone have a method or options you use to NOT write to the app server log.

Typically, I do an "OUTPUT TO VALUE(FileName)" to open the output file. Then, I use either the MESSAGE statement or the PUT UNFORMATTED statement to write data to the file.

Some of the files I write are rather large, and I'd really not like to have all that data duplicated to the app server log.

Thanks.
Kevin Simon
Please ignore my below email. For some reason, I coulda swore the "PUT
UNFORMATTED" echoed the message to the app server log. Good thing I didn't
put money on it.







From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
simstrak
Sent: Wednesday, February 06, 2013 1:42 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Writing Data to Text File





I am using a couple methods to write data to a text file, but in each case,
it echoes the data to the app server logs. Does anyone have a method or
options you use to NOT write to the app server log.

Typically, I do an "OUTPUT TO VALUE(FileName)" to open the output file.
Then, I use either the MESSAGE statement or the PUT UNFORMATTED statement to
write data to the file.

Some of the files I write are rather large, and I'd really not like to have
all that data duplicated to the app server log.

Thanks.
Kevin Simon





[Non-text portions of this message have been removed]
vLogFilename = vLogFilename + "-" + string(year(today)) + string(month(today)) + string(day(today),"99") + ".log".

output to value(vLogFilename) append keep-messages.

This will redirect all output so that nothing shows up in the server log.

Jim Kinneman
Encompass Solutions, Inc

--- In vantage@yahoogroups.com, "Kevin Simon" wrote:
>
> Please ignore my below email. For some reason, I coulda swore the "PUT
> UNFORMATTED" echoed the message to the app server log. Good thing I didn't
> put money on it.
>
>
>
>
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
> simstrak
> Sent: Wednesday, February 06, 2013 1:42 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Writing Data to Text File
>
>
>
>
>
> I am using a couple methods to write data to a text file, but in each case,
> it echoes the data to the app server logs. Does anyone have a method or
> options you use to NOT write to the app server log.
>
> Typically, I do an "OUTPUT TO VALUE(FileName)" to open the output file.
> Then, I use either the MESSAGE statement or the PUT UNFORMATTED statement to
> write data to the file.
>
> Some of the files I write are rather large, and I'd really not like to have
> all that data duplicated to the app server log.
>
> Thanks.
> Kevin Simon
>
>
>
>
>
> [Non-text portions of this message have been removed]
>