ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to write to file using java

Post new topic  Reply to topic
 How to write to file using java « View previous topic :: View next topic » 
Author Message
brgmo
PostPosted: Mon Apr 11, 2005 2:21 am    Post subject: How to write to file using java Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Hi

Can anubody send me some sample code which takes arguments from the esql and calls a java program to write to a file.I have java program ready but don't know how to call it from esql.I have CSD04 installed.

brgmo.
Back to top
View user's profile Send private message
_dave_
PostPosted: Mon Apr 11, 2005 3:04 am    Post subject: Reply with quote

Apprentice

Joined: 08 Apr 2005
Posts: 33
Location: IBM Hursley

Hi, I don't have an example, but the following topic in the online help is what you need:

http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/ak04970_.htm

The example they show there is:

CREATE PROCEDURE myProc2( IN P1 INTEGER, OUT P2 INTEGER, INOUT P3 INTEGER )
LANGUAGE JAVA
EXTERNAL NAME "com.ibm.broker.test.MyClass.myMethod2";

You must use the following ESQL to invoke myProc2:

CALL myProc2(intVar1, intVar2, intVar3);
Back to top
View user's profile Send private message
waugh
PostPosted: Fri Apr 15, 2005 5:21 am    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

Yes, i also need a working example...if anybody has it...

Please post before CSD05 arrives......
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to write to file using java
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.