Skip to content

Commit

Permalink
Update QSHQRYSRCR.RPGLE
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschoen authored Feb 7, 2025
1 parent c3082e1 commit bfc2c3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion QSHQRYSRCR.RPGLE
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
// Assume that SQL source members are structured
// as such.
if %trim(srcdta) <> '';
p_SQL = %trim(p_SQL) +' ' + %trim(srcdta);
// Ignore comments
if %subst(srcdta:1:2) <> '--';
p_SQL = %trim(p_SQL) +' ' + %trim(srcdta);
endif;
endif;

enddo;
Expand Down

0 comments on commit bfc2c3e

Please sign in to comment.