I have similar problems with the SQL precompiler for RPG.
I posted some info in the Wiki but its more a complaint rather than a
Having said that others have created custom compile commands.

Try WDSC Help,Help Contents search for
SRCMBR select Command strings for predefined compile names to see the
command defaults.

I am not sure, but I have updated the Wiki (removed the /* */) and in
the Wiki is mentioned SRCPGM( ) thats why I suggest to change PGM
to SRCPGM. Thanks Buck for updating the Wiki. Thanks Nazim and Andrew
for the info.

Rod in your command /* OPTION(*EVENTF) */ is a comment, I believe
you need to modify your command to add this OPTION as aparameter,
and change PGM to SRCMBR.

Thank you everyone for your replies. Unfortunately, I still can't get the
errors to display in the Iseries Error List. I have added /*
OPTION(*EVENTF) */ to the end of WDSC compile command. I am using the
compile option *LSTDBG. I am hoping the OPM compiler would allow *EVENTF.
When we invoke our compiler we are actually using a CL program that calls
another CL program. The WDSC command looks like following:

Frank Kolmann

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].