Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Calling subroutine of an include program

Former Member
0 Likes
955

Hi,

I have a function group which has an include program. I want to call the subroutine of that include program from a class using the PERFORM statement. Is this possible?

Using PERFORM statement we call the subroutines of an executable program. Similary I want call a subroutine of an include program.

Thanks & Regards,

Reena

Hi,

I have a function group which has an include program. I want to call the subroutine of that include program from a class using the PERFORM statement. Is this possible?

Using PERFORM statement we call the subroutines of an executable program. Similary I want call a subroutine of an include program.

Thanks & Regards,

Reena

2 REPLIES 2
Read only

Former Member
0 Likes
536

hi,

u try inserting that include name using the INCLUDE statement in class. Then call the perform.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
536

Are you sure that no changes will be madu to the routine of that include ?

Instead create a method with same code of that routine in the same class and use it.