A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
VISUAL COBOL
That's not a Microsoft product; you should better post to a more related forum.
SQLCODE = 100, "no data" was found
And that's correct, your query don't return a result set.