IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

When can the USING phrase be included in the call statement


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
piyush2129

New User


Joined: 26 Sep 2006
Posts: 4

PostPosted: Mon Oct 30, 2006 2:53 pm
Reply with quote

when can the USING phrase be included in the call statement?
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Mon Oct 30, 2006 3:02 pm
Reply with quote

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Oct 30, 2006 3:03 pm
Reply with quote

Have you tried the fine manual?

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
Search our Forums:

Back to Top