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: 
rgmartinezdezayas
Contributor II
Contributor II

REPCTL Documentation

Hello,

Where can I find the full documentation on the repctl commands?

Thanks in advance.

Labels (1)
2 Solutions

Accepted Solutions
lyka
Support
Support

Hello,

 

There are only a few functions with repctl that are documented and supported.  Please see the user guide that corresponds to your version for that very limited list. 

 

For Replicate May 2022 release:

https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/Guides.htm

 

For additional command line needs please see the: "Qlik Enterprise Manager API guide".  There we list many functions that can be invoked through the command line.

 

For QEM May 2022 release:

https://help.qlik.com/en-US/enterprise-manager/May2022/Content/EnterpriseManager/EnterpriseManager_A...

 

Hope this helps!

 

Thanks

Lyka

View solution in original post

Nanda_Ravindra
Support
Support

Hello @Heinvandenheuvel 

Use this command to get the general instructions on how to use repctl:

C:\Program Files\Attunity\Replicate\bin>repctl help

 

To get the list of commands:

C:\Program Files\Attunity\Replicate\bin>repctl  help ?

command help:

    request arguments:

    option:optional enum, valid values:

            01 - HELP_COMMAND_LIST

            02 - HELP_OBJECT_LIST

            03 - HELP_ALL

 

    command:optional string

    error:optional int32

[help command] Succeeded

I would suggest using option #3 and redirecting to a file to get the complete list,

Like this:

C:\Program Files\Attunity\Replicate\bin>repctl help option=03 > C:\Temp\export.txt

Here is an example to get the tablesstatus from the repctl command:

Repctl gettablesstatus task="New Task for XXX" mask=127 last_update_time=1657655393(value in epoch time)

 

Hope this helps!

Thanks,

Nanda

View solution in original post

3 Replies
lyka
Support
Support

Hello,

 

There are only a few functions with repctl that are documented and supported.  Please see the user guide that corresponds to your version for that very limited list. 

 

For Replicate May 2022 release:

https://help.qlik.com/en-US/replicate/May2022/Content/Replicate/Main/Guides.htm

 

For additional command line needs please see the: "Qlik Enterprise Manager API guide".  There we list many functions that can be invoked through the command line.

 

For QEM May 2022 release:

https://help.qlik.com/en-US/enterprise-manager/May2022/Content/EnterpriseManager/EnterpriseManager_A...

 

Hope this helps!

 

Thanks

Lyka

Heinvandenheuvel
Specialist III
Specialist III

While not supported and minimally documented, the REPCTL commandline interface to Replicate has been rather stable over the past decade or so.

As per @lyka check the Userguide for basic documentation. Next you can get a list of potentially available commands using:

>> repctl -d "replicate_data_folder" help option=1

I used the word potentially because this list of commands is generated from an internal command /api list some actions require parameter passing methods not available through a command line specially when a structure is required as input. Still, most of the commands just work. For further help on a command follow the command with a question mark. For example for help on 'gettaskstatus' use:

>> repctl -d "replicate_data_folder" gettaskstatus ?

hth,
hein.

Nanda_Ravindra
Support
Support

Hello @Heinvandenheuvel 

Use this command to get the general instructions on how to use repctl:

C:\Program Files\Attunity\Replicate\bin>repctl help

 

To get the list of commands:

C:\Program Files\Attunity\Replicate\bin>repctl  help ?

command help:

    request arguments:

    option:optional enum, valid values:

            01 - HELP_COMMAND_LIST

            02 - HELP_OBJECT_LIST

            03 - HELP_ALL

 

    command:optional string

    error:optional int32

[help command] Succeeded

I would suggest using option #3 and redirecting to a file to get the complete list,

Like this:

C:\Program Files\Attunity\Replicate\bin>repctl help option=03 > C:\Temp\export.txt

Here is an example to get the tablesstatus from the repctl command:

Repctl gettablesstatus task="New Task for XXX" mask=127 last_update_time=1657655393(value in epoch time)

 

Hope this helps!

Thanks,

Nanda