CALLB,CALLP,CALL

105 pts.
Tags:
ILE for iSeries
ILE RPG
RPG
1. When are dynamic calls(CALL) preferred to static calls(CALLB & CALLP)? 2. Performance wise which one is faster, CALLB or CALLP ? 3. I know CALLP checks the parameters during compile time and has an advantage over CALLB. But any scenarios where CALLB takes the advantage over CALLP ? 4. Performance wise are the below scenarios right ? a.CALLP with non EXTPGM is identical to CALLB b.CALLP with ETXPGM is identical to CALL Thanks in advance Anup

Software/Hardware used:
AS400

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    There is no need for CALL nor CALLB in new programs. CALLP is all that needs to be learned. CALL will call an external program, and it is therefore 'dynamic'. CALLB will call a bound ('B') procedure, and it will be 'static'. CALLP is 'Call with Prototype', and it can be used to call external programs and bound procedures (including late-bound procedures in external service programs) so it can be 'static' or 'dynamic'. Static calls are faster than dynamic. -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following