Sonarqube scanning is unable to recognize the below syntax in Cobol code during JSON Generate. This also causes Sonarlint to not show any results for modules having this syntax-
SUPPRESS WHEN LOW-VALUES
Sonarqube scanning is unable to recognize the below syntax in Cobol code during JSON Generate. This also causes Sonarlint to not show any results for modules having this syntax-
SUPPRESS WHEN LOW-VALUES
Hey there.
Can you share some (complete) sample code using this syntax?
Can you also share what version of SonarQube you’re using?
We are using Sonarqube 9.9.4 version. Below is a sample of this code-
JSON GENERATE OUTBOUND-DATA
FROM testdata
COUNT IN WS-RX-JSON-DATA-LEN
NAME OF testdata is OMITTED
testName is
‘testFullName’
testAddress is
‘testFullAddress’
testId is ‘id’
testIdType is ‘idType’
testAddresstype is ‘type’
testCount is ‘testCount’
SUPPRESS WHEN LOW-VALUES
Thanks. I’ll flag this for some language experts.