Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Where can I find the full documentation on the repctl commands?
Thanks in advance.
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:
Hope this helps!
Thanks
Lyka
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
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:
Hope this helps!
Thanks
Lyka
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.
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