Stop run



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Stop run

Postby vinod_rana » Fri May 06, 2011 1:30 pm

i have mainprogram and subgram...if i compile mainprogram
without stop run..what will u get in compilation time?
vinod_rana
 
Posts: 8
Joined: Thu Apr 21, 2011 12:58 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Stop run

 

Re: Stop run

Postby prino » Fri May 06, 2011 2:06 pm

How hard is it to try it yourself??????
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: Stop run

Postby Robert Sample » Fri May 06, 2011 2:46 pm

If your main program has no statement to stop it, how do you expect it to finish?
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: Stop run

Postby BillyBoyo » Fri May 06, 2011 10:10 pm

Is there another question behind this?

If you really want to know, look in the manual, it is specific, or try it.

If you are on a very old Cobol, your program would "run off the end" rather than stopping. Maybe that is too much of a hint.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Stop run

Postby dvsunaina » Wed Jul 20, 2011 2:53 pm

stop run statement in a program is return the control to os,
if not place stop run control is not pass to os.
dvsunaina
 
Posts: 2
Joined: Fri Jun 24, 2011 2:33 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Stop run

Postby BillyBoyo » Wed Jul 20, 2011 3:07 pm

Really? And your source for this is what?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Stop run

Postby prino » Wed Jul 20, 2011 11:35 pm

dvsunaina wrote:stop run statement in a program is return the control to os,
if not place stop run control is not pass to os.
They stopped you access to Mark's anti-privacy tool, and being bored you're now posting your nonsense here?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post