View previous topic :: View next topic |
Author |
Message |
erasani_p Beginner
Joined: 28 Jun 2004 Posts: 14 Topics: 10
|
Posted: Tue Jul 20, 2004 2:14 pm Post subject: Query Regarding Call Statement |
|
|
Hi,
Calling Program:
Call 'prg-1' using a,b
Called Program:
procedure division using x,y,z
What will happen if this code is executed.
I dont have mainframe access rightnow. so please dont suggest me to try for myself.
Thanks
Prashanth |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Jul 20, 2004 2:43 pm Post subject: |
|
|
Prashanth,
The job will complete successfully without any problem.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Wed Jul 21, 2004 6:37 am Post subject: |
|
|
kolusu wrote: | Prashanth,
The job will complete successfully without any problem.
Kolusu | ...as long as you don't attempt to use variable z in the subroutine as no value has been passed for this and the results will be unpredictable |
|
Back to top |
|
|
|
|