IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Identification Division


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

New User


Joined: 03 Mar 2016
Posts: 14
Location: India

PostPosted: Sat May 28, 2016 11:51 am
Reply with quote

Is it possible to have 2 Identification Division or 2 Program-ID in a single COBOL program?

I heard that it may be possible using COMMON Clause.

Please confirm me.

Thanks a lot!!! icon_smile.gif
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7312
Location: Inside the Matrix

PostPosted: Sat May 28, 2016 2:08 pm
Reply with quote

Did you consider consulting COMMON in the Language Reference? Does reading now indicate that you necessarily need COMMON?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2508
Location: NY,USA

PostPosted: Tue May 31, 2016 10:59 pm
Reply with quote

If you mean nested cobol programs then YES otherwise NO.
Quote:
I heard that it may be possible using COMMON Clause.
Why don't you look in the manuals by yourself?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> COBOL Programming
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Procedure Division Section COBOL Programming 2
No new posts Extend the decimal values in DIVISION DFSORT/ICETOOL 3
No new posts Starts DEBUGGING by Procedure Divisio... Testing & Performance 4
No new posts IMS DB Structural Changes Identification IMS DB/DC 4
No new posts DB2:: Division of an Integer Column b... DB2 15

Back to Top