|
If you talking about performance of CALL vs CALLP both making a program
there should be no difference at all. CALLP is just interpreted by the
compiler to generate CALL or CALLB code based on what you are calling.
Having said that, you should not be doing either one. CALL, CALLB and CALLP
are all obsolete. What you should be doing is prototyping the program
calls.
d CreateBFile...
d pr ExtPgm('ABCPGM')
d PR_CustomerNumber...
d 8a Const
d PR_Amount...
d 7p 2 Const
/Free
CreateBFile('A0001':
12.50 )
/End-Free
And, of course, if we push it up to the next level, if we are building new
code we shouldn't be doing program calls. We should be encapsulating our
business logic in service programs and making procedure calls.
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.