Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
aniketgoel
Contributor
Contributor

How to make Control-m on mainframe trigger QlikSense CLI to run a data injection job on QlikSense

Control-M job needs to be extended, at the end of the job, it needs to write a message to QlikSense Command Line Interface(CLI) tool.

The QlikSense CLI tool can then initiate the scheduled data ingestion requests.

 

If anyone has tried implementing this it would be helpful to know the steps to follow and code line to include in extended Control-M job.

2 Replies
Brett_Bleess
Former Employee
Former Employee

About the best I can offer is a point to the API documentation where you will find the APIs for the calls:

https://help.qlik.com/en-US/sense-developer/September2020/APIs/EngineAPI/index.html

https://help.qlik.com/en-US/sense-developer/September2020/APIs/EngineAPI/services-Doc-DoReload.html

https://help.qlik.com/en-US/sense-developer/September2020/APIs/EngineAPI/services-Doc-DoReloadEx.htm...

There are likely other APIs that are going to be needed to create a full setup for things.  I am not aware of anyone having written anything such as was done in the QlikView side regarding an exe file etc., but maybe someone else will reply, sorry I do not have something better.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
Marc
Employee
Employee

When you say "QlikSense Command Line Interface(CLI) tool" are you referring to the PowerShell Module Qlik-CLI? https://github.com/ahaydon/Qlik-Cli-Windows/wiki 

If so, you can write your PowerShell script to connect to the QRS apis and perform the necessary tasks and validate that it is working correctly. 

Then you can use the following article to schedule it in Control-M

https://communities.bmc.com/docs/DOC-64328