Uploaded image for project: 'SonarCOBOL'
  1. SonarCOBOL
  2. SONARCOBOL-1240

False Negative CICS.StatementWithUntestedReturnCodeCheck: "RESP" is used as a data value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6, 2.7
    • Fix Version/s: 3.0
    • Component/s: CICS, Rules
    • Labels:
      None

      Description

      Rule "Test return code of CICS commands with RESP or NOHANDLE conditions" RSPEC-1593 should raise an issue on the following code:

             ID DIVISION.
             PROCEDURE DIVISION.
                 EXEC CICS RECEIVE 
                    INTO(MSG)
                    RESP(RESP)
                 END-EXEC.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pierre-yves.nicolas Pierre-Yves Nicolas
                Reporter:
                pierre-yves.nicolas Pierre-Yves Nicolas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: