How to initiate a Windows Service from a COBOL Mainframe - windows-services

We have a Windows Service running on one of our servers on premises. There is a business requirement to initiate/start this WinService from a mainframe that uses/runs COBOL based applications.
The requirements is perhaps vague but in essence we need to have a COBOL program(script?) that can talk to our server and start this service.
How do I get started on this ?

Related

Connecting Mainframe MQ manager from Microfocus Enterprise Server

I have a requirement where I need to get/put data from the queue at Mainframe manager. I know that I need to define local queue at mainframe side but I am not sure how can we defined queue on mainframe for Microfocus.
Please help
I have defined XAR and Listner for microfocus enterprise server but not sure about all the fields. I know that it would be server and client configuration. I am expecting if someone has implemented this before, please help.

How to update Delphi Datasnap server?

I have build a few apps that receive and send data over a Datasnap server.
I have multiple Datasnap servers running on my customers servers.
The Datasnap server runs as a Windows Service on their machines.
How can I remotely update those servers or what is the best way to do this?
Is it maybe better to make the Datasnap Server run on IIS instead of as a Windows Service?
Can I let the server update itself? Maybe if I make a function that sends the new version of it that it can replace itself?
I can see no way of updating the exes on your customers' machines without a) getting them to do it; b) logging in remotely using something like VNC (though I'd be happy to know of a better way).
This is an approach I would consider:
I would look to have a separate application which is called by the service on a regular basis (daily/weekly) that looks for a new versions of software on your server (or somewhere), downloads it stops the service, replaces the service's exe and restarts the service.
In the new service exe I would have something that calls this application periodically, so you only have to do this once.
This assumes the machines that run your software have internet access.
Don't forget to include a mechanism to update the updater application.

IntraWeb / DataSnap?

I'm a hobby programmer trying to build a client/server application suite, using Delphi XE.
I write stand-alone applications occasionally, for my personal use. The problem is I don't know ANYTHING when it comes to networking / multi-tier. I am willing to learn though.
I looked for ways to do this and DataSnap and IntraWeb jump out as the most likely candidates for the job. But, before I start using one or the other, I would like to know a few info I wasn't able to find on the web:
If I build an IW stand-alone app and deploy it on my site (as server) will I be able to connect to it/retrieve data with a client application? I need to do that within my Delphi written app, without using a browser and without using HTML (I know very little HTML and I'm not eager to learn). I know IntraWeb isn't meant for this, but will it work?
If I go with DataSnap and build a server app, will I be able to deploy it to my website? Or do I have to make a computer on the network the server?
In case anyone wants to know, I want to connect 5 computers(from different cities), to exchange information between them, if at all possible using ADO, as I'm very familiar with it.
Intraweb is a server based tool for building web sites, accessed via a browser. It is not "proper" multi-tier, and it sounds like it isn't what you need.
DataSnap is designed to do what you want I think. First, the ADO part would be on the server, and you would define an interface that the server offers to do tasks. Then your clients would call that interface over the internet to get data or do those tasks etc.
As for whether they will work on your web server, that depends on what your server is, and the access that is provided to it. A web server is just a PC, but typical hosting is fairly restricted to running "scripted" languages on that server, which reside in the hosting directory. A Delphi server would be a running executable (usually a Windows Service), listening on a port, and needs much more access to the computer than typical. You would need at least a virtual Windows server with administrator access to the desktop to allow it to work. In the first instance though, you could happily run the server on a DSL line or similar and make it work just fine. You can worry about hosting it on the net when you have customers paying for it.

How can an ejabberd newbie setup a fully functioning ejabberd server?

i am completely new to ejabberd. I have downloaded the installation for both windows and linux (Ubuntu). Somewhere on the web i had seen a demo of how to install and set it up but the installation was configured as a 'demo'. I have the pidgin XMPP client and now am having problems setting up ejabberd.
Another issue is that i have tried to develop chat systems with Nitrogen's comet pools and erlang ETS tables on the backend (thanks to the failover mechanism embedded in ets tables now) i.e ets:give_away/3 [it gives my chat engines fault tolerance, thanks to the guys who maintain the virtual machine who saw how useful this is]
Can we have Web interfaces to ejabberd servers, putting aside its admin interface. Nitrogen Comets are quite cumbersome sometime forexample, the browser time out especially in Nitrogen 2.X.X can not easily be changed.So now i have decided on ejabberd. How can i customize an internal organization chatting system using ejabberd as the backend engine. I wouldnot want every one in the organisation to download Pidgin as a client but want to embed the chat functionality in the web interfaces.
With Erlang, Yaws, Mnesia, Inets, Mochiweb e.t.c i have no problem so even if it requires me to develope an erlang application with a few Gen servers on top of ejabberd, that wont be a problem
Please point me in the right direction to get ejabberd up and running. On the processOne Website and the ejabberd documentation i have still failed to start it well. Please help
If you are a newbie and want to setup and ejabberd server, you should simply use hosted version of ejabberd.
You can easily create your own domain on http://hosted.im
You should be up and running in minutes

guidelines for developing a windows service which communicates with an Oracle server via ADO

I want to develop windows service in Delphi that communicates with an Oracle server via ADO.
Which guidelines should I follow?
I already know ADO, but I don't have experience with the windows services.
Thanks in advance.
I think Tutorial for making a Service Application using Delphi is good point to start.
And If you want to connect database in an service app. you can create second thread in OnStart event of TService class.
As a hint: I did have lot's of problems when developing a service using ADO to an Oracle server. After some testing the problem lied in the fact that the ADO driver from Oracle was unable to handle concurrent connections in multiple threads. In the end we used a single thread to do all ADO connections and sync the resulting datasets to the threads that did the processing.

Resources