Connecting Mainframe MQ manager from Microfocus Enterprise Server - mqtt

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.

Related

Connection Delphi Printer

I need to connect my Delphi software to a SmartDate x40 printer, I've tried using winslock. I'm very new at Delphi and I'm unable to make it work, I'd highly appreciate any tips or little help any of you kind guys could make.
I've seen a few posts about using Winslock with Delphi, tho all of them use a client-server connection in whish is the client the one making the connection, I'd need being the server initiating the communication to the SmartDate machine being able to send a few ASCII orders.
Thank you very much.
Perhaps you misunderstand the terms client and server. The printer is the server (it serves the client application'. Your application is the client (it asks the printer to do something.) That is why the examples are as they are. Your application could be a server for something else, but it is still a client of the printer.

How to initiate a Windows Service from a COBOL Mainframe

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 ?

Read/write example codes for TPipeServer and TPipeClient components and security check

I need IPC between a windows service and a GUI application both written in Delphi 2010. I decided to use named pipe for this.
I built and installed successfully Russell Libby's TPipeServer and TPipeClient components (link).
I followed other answers like this.
But my service received only empty messages from the client. After many test I concluded that I was using those components erroneously, so i don't want to post any code here.
So I'm looking for a valid example about how these components work in order to write/read strings in a named pipe (from client to server and viceversa). Any help is really appreciated, even using other free named pipes components or source codes.
Thank you.
Edit: I need a valid way to pass security check in windows server 2008 / windows vista / windows 7
The Cromis-IPC component by Iztok Kacin is a versatile IPC communication Delphi component utilizing windows named pipes. On the given link is a client/server example, and in the source code of the component is a full example.
The Cromis IPC can be used for process communication within the same computer as well as communication between computers on a network. Permissions are easy to handle when doing communication within the same computer. For a detailed description how to handle permissions, see windows doc Named Pipe Security and Access Rights.

How to load dependencies(MS-SQLServer Win-Service) before windows-services

help me with an issue please.
My windows service depended on MS SQL server, and It has to load some information on start up, but it is starts before MS SQL and stops with an exception. I set dependency with a "sc" tool (sc config MyService depend= MSSQL) but my service still does not start on system load. MS SQL added as depednecy, I can see it in dependency tab of service properties and sc qc MyService command but my service still does not start. Can anyone help? My system is Win7, MS SQL Server 2008 R2, my service runs under local system and MS SQL is network service. Thanks a lot.
P.S. Sorry for poor English.
I think you should use dependencies
How to delay loading of specific services
or use "Automatic (Delayed Start)" option for your service Please read
WS2008: Startup Processes and Delayed Automatic Start
or
You can manage this through programming logic, that if resource is unavailable
repetitively check for it and when its available proceed for normal operation,
and you can intimate Service Client though appropriate response
Hopes that helps

MQ (from an iSeries) and Delphi

Has anyone had any experience of talking between an iSeries (using IBM's Websphere MQ) and PC code - hopefully using Delphi 2009.
Modification:
I have a large PC based program (that talks to an iSeries) that I need to rewrite. One option would be to do most of the tricky and processor intensive processing on the iSeries and then have that program signal the PC based program (written in Delphi at the moment) to do the part of the processing that are best done on the PC. So I need to signal the final part somehow from the iSeries, without it polling the iSeries all the time.
First option: add a Java app to the Delphi side which uses a JMS client to listen to an event topic on the MQ server, which receives a complete message from the worker process and forwards this message to the Delphi app (over TCP/IP or other simple IPC methods).
Second option: implement a simple web service server in the Delphi app which has only one method notify() and call this service from the WebSphere side. An example for a stand-alone SOAP server for Delphi 7 (but can be modified to work with D2009 too) using Indy can be found here.
I haven't tried to get it to work, but this looks interesting - http://jamiei.com/blog/2009/02/Delphi-mqtt-client/

Resources