In a "plain" COBOL program this statement would not be valid. MYSELF
would be an entry below an OCCURS
(a "table cell") and STATUS
would be the index to use (= a numeric variable).
But as the SET
statement can only ("standard COBOL") adjust variables of type POINTER
or INDEX
and both cannot be set to be negative this statement would normally be invalid.
There are some implementations where you can use SET
to adjust any numeric variable (where the -1 would be valid if the target is a signed variable), but as @JerryTheGreek pointed out it looks to be NO COBOL but the "Task-Attribute Identifiers (Extension to ANSI X3.23-1974 COBOL)".