Re: SQL query replnodes

2022-09-26 Thread Loon, Eric van (ITOP DI) - KLM
Hi Rick, I'm using the command in a Spectrum Protect server script, so return codes are the only option... Kind regards, Eric van Loon Core Infra -Original Message- From: ADSM: Dist Stor Manager On Behalf Of Rick Saylor Sent: maandag 26 september 2022 14:45 To: ADSM-L@VM.MARIST.EDU Sub

Re: SQL query replnodes

2022-09-26 Thread Rick Saylor
Hi Eric, I had the same issue with the q replnode always returning a RC 0. I worked around it by assuming the node was replicated UNLESS either ANR2726E or ANR1701E was found in the q replnode output. I know it is not the most elegant approach but it worked for me. As always you'll need to ve

Re: SQL query replnodes

2022-09-26 Thread Loon, Eric van (ITOP DI) - KLM
Hi Andy, The problem with using the q replnode command is that it always returns RC 0, even if a replnode does not exist. I'm trying to create a script which should only execute a remove replnode when one exists, but if(rc_notfound), nor if(error) is working... Thanks for your help! Kind regar