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

Difference between Call and Link in Cobol..


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ravindra reddy

New User


Joined: 21 Jan 2008
Posts: 7
Location: banglore

PostPosted: Wed Apr 16, 2008 10:39 am
Reply with quote

What is the difference between Call and Link in COBOL?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Apr 16, 2008 10:51 am
Reply with quote

As far as I know, LINK is not a COBOL statement.

O.
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 275
Location: Bang,iflex

PostPosted: Wed Apr 16, 2008 11:01 am
Reply with quote

Hi,

CALL statement used in COBOL program

for ex
Code:
CALL 'SUBPROG' USING VAR1, VAR2.



LINK statment is used in CICS statement

for ex:
Code:
           EXEC CICS
                      LINK ('SUBPROG')
                      COMMAREA(------------)
                      LENGTH( LENGTH OF ---------)
           END-EXEC.       
Back to top
View user's profile Send private message
ravindra reddy

New User


Joined: 21 Jan 2008
Posts: 7
Location: banglore

PostPosted: Wed Apr 16, 2008 11:13 am
Reply with quote

Thanks alot ofer71,vasanthkumarhb icon_smile.gif
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top