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

Significance of COBOL PROGRAM-ID


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

New User


Joined: 22 Sep 2010
Posts: 9
Location: India

PostPosted: Sat Apr 30, 2011 10:44 pm
Reply with quote

hi can any one explain about program id significance, even we won't use to refer element.,,,

i mean we won't mention program id at compilation time or at calling sub program.............
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


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

PostPosted: Sat Apr 30, 2011 10:59 pm
Reply with quote

kumar32149 wrote:
hi can any one explain about program id significance, even we won't use to refer element.,,,

i mean we won't mention program id at compilation time or at calling sub program.............


Have you tried the Cobol manuals to see what they say?

Have you tried removing the Program-Id from your program? Might indicate it has some significance.

Browse your Object or Load module, you'll see the Program-id name.

Try doing a "static" call to a sub-program - how does that work?

Look at your link-edit output. Anything interesting?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sun May 01, 2011 11:10 am
Reply with quote

I suggest that, giuven that level of knowledge, you should join the beginners and students forum. And get a book on COBOL and read it.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sun May 01, 2011 11:25 am
Reply with quote

as already advised ....

We have a separate forum for Students & Freshers that may be more suited to your level of experience.

www.ibmmainframeforum.com/index.php
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
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
Search our Forums:

Back to Top