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 

Pass Data to a Natural Program using Fetch

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


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Sat Mar 18, 2006 2:03 am    Post subject: Pass Data to a Natural Program using Fetch Reply with quote

Hi ALL.


It's a natural question.

If I use FETCH 'aaaa' to implement call function,
I must stack data in invoking pgm and use 'input ' in invoked pgm to receive data.
If I use fetch 'aaaa' #working-area1
then I do not need to stack those data,and I can directly receive data by
input #working-area2,I only need to confirm that #working-area1 and #working-area2 are the same in structure.

Am I right about that?and does the fetch statement has the function to store the data(#working-area1) in stack?or store other place?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Sun Mar 19, 2006 9:48 pm    Post subject: Reply with quote

Hi,

I've got the answer from <program guide>,FETCH and RUN statement both result in placing those parameter into top of stack.THANKS for focusing on this questuion
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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