View previous topic :: View next topic
|
Author |
Message |
piyush2129
New User
Joined: 26 Sep 2006 Posts: 4
|
|
|
|
when can the USING phrase be included in the call statement? |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
If you have to transfer data form one pgm to another you do this
by invoking the other pgm with the call statement and the using phrase.
Call SUBPGM using FIELD-1
FIELD-2
End-Call
Remember, the called program has to have the receiving fields declared in the linkage section in same order and length.
Regards, UmeySan |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
Back to top |
|
|
|