Author |
Message
|
brgmo |
Posted: Mon Apr 04, 2005 1:52 am Post subject: How to write to file using ESQL |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
Hi All
Can somebody help me i writing a ESQL code with the help of which i can write to a file on the system.Please this is urgent.Any help is greatly appreciated.
Thanks
brgmo |
|
Back to top |
|
 |
JMB |
Posted: Mon Apr 04, 2005 3:49 am Post subject: |
|
|
Apprentice
Joined: 01 Apr 2002 Posts: 29
|
You will need to elaborate on exactly what you are attempting in order to get assistance with this. |
|
Back to top |
|
 |
Tibor |
Posted: Mon Apr 04, 2005 4:29 am Post subject: Re: How to write to file using ESQL |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Is a Trace node not appropriate?
Tibor |
|
Back to top |
|
 |
brgmo |
Posted: Mon Apr 04, 2005 8:32 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
I will get an error message which is generated by the application which i need to log on to a file as well as a database.Trace node can't hel here because it runs inside wbi domains. |
|
Back to top |
|
 |
brgmo |
Posted: Mon Apr 04, 2005 8:51 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 04, 2005 9:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
ESQL does not have any mechanisms for writing to files.
You can use other languages, that do have such mechanisms, in various ways. Which languages, and how you can use them depends on your version of the product.
But your all around best bet is to put your information into an MQ message, and have a separate, stand alone MQ application that reads that message, and does your database inserts and your file writing. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
brgmo |
Posted: Mon Apr 04, 2005 9:29 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
So,is it possible to have java language program to write to file and then call that java program in my esql code.
From where i can download the CSD4 for wbi because i think that will be required to run java program inside wbi esql. |
|
Back to top |
|
 |
|