Query _archive config

Find and share HowTos to various installations / configurations!
Search

Post Reply
4 posts • Page 1 of 1
giorgiob
Posts: 31
Joined: Fri Sep 07, 2018 12:53 pm

Query _archive config

Post by giorgiob »

From a CTRL manager, I need to query all dpe names which has _archive config active.

But dpQuery doesn't return any value for '_archive.._type' or '_archive.._archive' attributes in the SELECT field.

Can you help me?
Thanks.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Query _archive config

Post by leoknipp »

Please take into account that configs which are stored during runtime of the project in the driver (_address, _smooth, _cmd_conv, _msg_conv) or in the Data Manager (_archive) cannot be read using a dpQuery() command.

Which type of archiving are you using?

Best Regards
Leopold Knipp
Senior Support Specialist

giorgiob
Posts: 31
Joined: Fri Sep 07, 2018 12:53 pm

Re: Query _archive config

Post by giorgiob »

It's a general issue, both for HDB and RDB.
Thanks.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Query _archive config

Post by leoknipp »

For HDB you can use the information described in the following thread:
viewtopic.php?f=15&t=9202&p=964067&hili ... ve#p964067

For RDB such a solution is not available.
If the script is running on the server you can do
-- an ASCII export for the _archive configs
-- parse the ASCII file with file commands in CTRL

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
4 posts • Page 1 of 1