‎2007 May 18 10:59 PM
‎2007 May 18 11:00 PM
Yes as long as you pass the parameters in the way it is expected by the subroutine.
You can have a statement like this in program B to call a subroutine in program A
PERFORM subroutine_of_a IN PROGRAM a TABLES .... USING .... CHANGING...
‎2007 May 18 11:00 PM
Yes as long as you pass the parameters in the way it is expected by the subroutine.
You can have a statement like this in program B to call a subroutine in program A
PERFORM subroutine_of_a IN PROGRAM a TABLES .... USING .... CHANGING...
‎2007 May 18 11:02 PM
‎2007 May 18 11:03 PM
‎2007 May 18 11:05 PM
Typically if you want to change the value of a passing parameter within the subroutine code, you will use CHANGING. You can read the help on PERFORM which will explain all the options in detail.