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

Linkage section and it's functioning


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

New User


Joined: 10 Jun 2007
Posts: 36
Location: Chennai

PostPosted: Thu Sep 20, 2007 2:40 pm
Reply with quote

Please let me know about Linkage section and it's functioning.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Sep 20, 2007 2:53 pm
Reply with quote

Linkage section
The linkage section describes data made available from another program or method.
Record description entries and data item description entries in the linkage section provide names and descriptions, but storage within the program or method is not reserved because the data area exists elsewhere.
Any data description clause can be used to describe items in the linkage section with the following exceptions:
v You cannot specify the VALUE clause for items other than level-88 items.
v You cannot specify the EXTERNAL clause.
You can specify the GLOBAL clause in the linkage section. The GLOBAL clause has no effect for methods, however.
Back to top
View user's profile Send private message
anu2
Warnings : 1

New User


Joined: 10 Jun 2007
Posts: 36
Location: Chennai

PostPosted: Thu Sep 20, 2007 3:31 pm
Reply with quote

Thanks !

Is there aything specific about 4 bytes of information in Linkgae section ?


Also , can u please give me an example(code) of how data is being passed from JCL and received in COBOl pgm in Liknkage Section.


If length variable is not specified in Linkage section then what's the case ?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Sep 20, 2007 3:41 pm
Reply with quote

anu2 wrote:
Is there aything specific about 4 bytes of information in Linkgae section ?
Huh?
Quote:
Also , can u please give me an example(code) of how data is being passed from JCL and received in COBOl pgm in Liknkage Section.
Try searching, like here
Quote:
If length variable is not specified in Linkage section then what's the case ?
Huh?
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 COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
No new posts OPTLINK linkage convention PL/I & Assembler 3
No new posts Sections: need one appearance of cer... DFSORT/ICETOOL 4
Search our Forums:

Back to Top