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.
Query _archive config
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Query _archive config
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
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
It's a general issue, both for HDB and RDB.
Thanks.
Thanks.
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Query _archive config
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
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