MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Query Regarding Call Statement

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
erasani_p
Beginner


Joined: 28 Jun 2004
Posts: 14
Topics: 10

PostPosted: Tue Jul 20, 2004 2:14 pm    Post subject: Query Regarding Call Statement Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Jul 20, 2004 2:43 pm    Post subject: Reply with quote

Prashanth,

The job will complete successfully without any problem.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Wed Jul 21, 2004 6:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group