Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Iseries Data Queue

36 views
Skip to first unread message

eb

unread,
Mar 8, 2009, 8:38:32 PM3/8/09
to
Does anyone have an example or sample piece of Visual Basic 6 code for
reading or writing to an Iseries data queue, that they wouldn't mind
sharing?

I would like to send data to a pc and it sounds like a data queue
would be good for this.

Thanks,

Ralph

unread,
Mar 9, 2009, 10:53:50 AM3/9/09
to

"eb" <emc...@yahoo.com> wrote in message
news:3a5671d5-bb47-4bfc...@c36g2000yqn.googlegroups.com...

> Does anyone have an example or sample piece of Visual Basic 6 code for
> reading or writing to an Iseries data queue, that they wouldn't mind
> sharing?
>

Check out the examples on the IBM Web site.
(Sorry don't have the full link)

You should also have several examples on the IBM Access Client CD, which
also has the ActiveX control you will need. If you don't have the CD,
everything is also available for download from their sit.

However, ...

> I would like to send data to a pc and it sounds like a data queue
> would be good for this.
>

This sounds like you want to create your own data queue. For that
investigate Windows own COM+ data queue services.

-ralph


eb

unread,
Mar 11, 2009, 5:09:18 PM3/11/09
to
On Mar 9, 10:53 am, "Ralph" <nt_consultin...@yahoo.com> wrote:
>
> Check out the examples on the IBM Web site.
> (Sorry don't have the full link)
>
> -ralph

The IBM links to the VB data queue examples are dead or non-
functioning, but I think I may have figured out barely enough to make
my program work.

There are only 1 extremely basic example of each a write and a read on
the cd. I have not been able to find any useful documentation on IBM
site and hardly any examples on the web using the cwbx.dll

If I knew or had time to learn Java there appears to be a lot more
information available.

Ralph

unread,
Mar 11, 2009, 5:29:30 PM3/11/09
to

"eb" <emc...@yahoo.com> wrote in message
news:077360ae-0c93-4bc4...@y38g2000prg.googlegroups.com...

-------------------------------------------

Are you or your company a currently registered user of AS/400 or another IBM
product?

It's possible you may need special permission (password) to access these
sites. (Vaguely remember them being on an FTP server. ?) If so contact IBM
support or whomever is the liason for your company to gain access.

The supplied examples are pretty simple - mostly just creating the object
and reading and writing to a queue, but once you have done that then 90% of
the job is done. For additional methods just check with the documentation.
(also available online)

Note: Recently most examples/samples on the web are for VB.Net. However,
while the specific code used is different - the calls/methods/parameters/etc
of using the data queue is identical to how you would go about it with VB6 -
ie, it is an ActiveX control.

The same goes for Java examples. The code obviously is different, but
methods called and parameters used are identical.

-ralph

0 new messages