SonarQube Server 2026.1
RPG
Define the data structure for this “IN” statement in its D spec - S1633
False positive on in *dtaara. This is a keyword that allows you to get all data areas defined in the program at once, which is useful for stored variables that are used to populate screens. However, this means that it still reports that the data structure is not defined for the data area when they have to be by definition, as they must be declared as a data area to be pulled in with the IN operation.
dcl-ds testarea qualified dtaara;
name char(25);
id packed(5);
end-ds;
in *dtaara; // Raises warning when it is already defined