Skip to content

Commit

Permalink
Update compound conditional to include QMQRY
Browse files Browse the repository at this point in the history
  • Loading branch information
McJablesSupreme authored Apr 11, 2024
1 parent 4ef218d commit 961f81f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WRKQRY2SQL.sqlrpgle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
IFNULL(OBJTEXT, '') AS OBJTEXT
FROM TABLE(qsys2.object_statistics('{library}', 'ALL'))
WHERE OBJTYPE = '*QRYDFN'
OR OBJTYPE = '*QMQRY'
FOR READ ONLY;

EXEC SQL OPEN C1;
Expand All @@ -64,4 +65,4 @@
EXEC SQL CLOSE C1;

*InLr = *On;


0 comments on commit 961f81f

Please sign in to comment.