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

Nested programs in COBOL


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

New User


Joined: 20 Dec 2007
Posts: 2
Location: India

PostPosted: Thu Jan 10, 2008 2:43 pm
Reply with quote

Hi All,

I want to know if there is any concept of nested programs in COBOL. i mean is it possible that program P1 contains P2, P2 contains P3, P3 contains P4 and so on.

I am not talking about calling a subprogram but about a program containing some other program.

Thanks
Sumat
Back to top
View user's profile Send private message
somnath.barik

New User


Joined: 16 Aug 2007
Posts: 8
Location: mumbai

PostPosted: Thu Jan 10, 2008 3:06 pm
Reply with quote

yes,it is possible........
fast u have to write p1 and then inbetween p1 u have to write p2 and so on..........
Back to top
View user's profile Send private message
k.junaid83

New User


Joined: 19 Apr 2006
Posts: 22
Location: bangalore

PostPosted: Thu Jan 10, 2008 3:11 pm
Reply with quote

Hi Somnath,

Can u provide us some examples.

Thanks
Back to top
View user's profile Send private message
sumatkumar

New User


Joined: 20 Dec 2007
Posts: 2
Location: India

PostPosted: Thu Jan 10, 2008 3:29 pm
Reply with quote

Thanks Somnath for the response.

i also received answer in IBM refence manual.

Please click on the link below to see the example :

publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp?topic=/com.ibm.aix.cbl.doc/tpsubw06.htm
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 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