|
Not sure which is more evil - RQSDTA does not strip trailing blanks.
CMD
gives you promptability but is weird when using CALLs - as Tom
suggests,
maybe CMD parameter should not process CALLs.
So you want to compare weirdness, huh? :)
Which is weirder: RQSDTA('CALL MYPGM PARM(''A'' 123 ''= ''''*NONE'''''')')
Or
CMD(CALL MYPGM PARM('A' 123 '= ''*NONE'''))
(Note, I believe the above RQSDTA above to be a correct match for the CMD
below it. I haven't actually ported to the i to compare.) This is not an
exaggeration (at all) when you are passing commands like OPNQRYF command as
parameters themselves. In fact, this is mundane compared to some I have
encountered. Yes, recently.
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
The first meeting of the Apathy Society has been postponed due to lack of
interest.
This mailing list archive is Copyright 1997-2026 by midrange.com 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.