|
In a message dated 99-08-17 17:37:25 EDT, you write: > 0353.00 C *IN06 IFEQ '1' > 0354.00 C CALL 'QCAEXEC' > 0355.00 C PARM 'DSPMSG' CMD 6 > 0356.00 C PARM 6 LENGTH 155 > 0357.00 C ELSE > > > 0059.00 D* > 0060.00 DRunCmd pr extpgm('QCMDEXC') > 0061.00 D command 80a const > 0062.00 D length 15p 5 const > 0063.00 D* > > bunch of code, etc. > > 0231.00 C* > 0232.00 C *in06 ifeq *on > 0233.00 C callp RunCmd('DSPMSG':6) > 0234.00 C else > > From a technical viewpoint, are these two chuncks of code equivalent? Yes they are. As long as you are doing things the ILE way, I would change 0232.00 C *in06 ifeq *on to 0232.00 C if *in06 HTH +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.