While attempting to suspend the hvrstats job error F_JG0F02 is thrown.

Problem Summary: While attempting to suspend the hvrstats job error F_JG0F02 is thrown.

Description:

The sample error looks like below

F_JG0F02: Could not convert list ((os_user “xyz”) (job () )) into JSON because it did not match requiredprototype “os_user’ : <str> ‘jobs’ : (jobname<str>+)’.

This usually happens if one of the previous hvrinit fails midway and the hvrstats job was not created. This error means that user is trying to suspend a job which is not present in the list. If this is indeed the case follow below steps to get over this error

1)To remove the empty job group right click on the hvrtstats folderand select delete

2)Recreate this job using below command on the hub machine

For eg use below command for Oracle hub database

hvrstats-Cj <hubdb username>/<hubdb password>

For eg use below command for SQL Server hub database

hvrstats-hsqlserver-Cj <db>