HP3000-L Archives

September 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Chris Bartram <[log in to unmask]>
Reply To:
Date:
Thu, 2 Sep 1999 14:20:09 -0400
Content-Type:
Text/Plain
Parts/Attachments:
Text/Plain (25 lines)
 In <[log in to unmask]> [log in to unmask] writes:

> Has anyone done any work with enabling a cobol program to act as a listening
> process on the 3000 to handle requests from a VB application?
>
> I have a program that our support people can run to gather statistical
> information about the applications, but they have to logon to each machine
> to run it.  Now that we have grown from 2 3000s to 5 (and more to follow) it
> makes more sense to organize this information somehow and provide a
> convenient way to access it, so I thought of a listener process that can
> run.  Then the support people just fire up a client and get the information
> they want.

While you can certainly write a network server in COBOL (look to the NetIPC
programmers manual for examples) you'll likely save yourself alot of time and
trouble by using either:
 1) Apache and invoking your program via a CGI or PERL script
 2) Pick up the QWEBS server which integrates easily (and very efficiently)
    with COBOL code on the host

Then your clients just use a web browser (which they probably all already have
) rather than needing a custom client to talk to your custom server.

      -Chris Bartram

ATOM RSS1 RSS2