Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What happen's if we do not use Stop run?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
rischith

New User


Joined: 24 Feb 2006
Posts: 9
Location: bangalore

PostPosted: Tue Jul 25, 2006 7:04 pm    Post subject: What happen's if we do not use Stop run?
Reply with quote

hi all,


I need to know what happen's if we donot use STOP RUN in the program?

like what is the output for below snippet?

temp=0
main para:
perform 1-para through 3-para
Display temp.

1-para.
add 1 to temp.

2-para.
add 1 to temp.

3-para.
add 1 to temp
Display temp.
Back to top
View user's profile Send private message

shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Tue Jul 25, 2006 7:16 pm    Post subject: Re: What happen's if we do not use Stop run?
Reply with quote

Hi,

the program compiles succesfully but abends in run time

~Vamsi
Back to top
View user's profile Send private message
rischith

New User


Joined: 24 Feb 2006
Posts: 9
Location: bangalore

PostPosted: Tue Jul 25, 2006 7:26 pm    Post subject: Re: What happen's if we do not use Stop run?
Reply with quote

shreevamsi wrote:
Hi,

the program compiles succesfully but abends in run time

~Vamsi


please tell me the reason y it abends?
Back to top
View user's profile Send private message
jayanta_nit

New User


Joined: 13 Apr 2006
Posts: 22
Location: hyderabad

PostPosted: Tue Jul 25, 2006 8:14 pm    Post subject: Re: What happen's if we do not use Stop run?
Reply with quote

hi rischith,
if u dont use STOP RUN then one ABEND will occur i,e. U4038 and u can see in spool that no STOP RUN or control not reaching to STOP RUN like this type of messege.
...........jayanta,
hyderabad
Back to top
View user's profile Send private message
jayanta_nit

New User


Joined: 13 Apr 2006
Posts: 22
Location: hyderabad

PostPosted: Tue Jul 25, 2006 8:15 pm    Post subject: Re: What happen's if we do not use Stop run?
Reply with quote

hi rischith,
if u dont use STOP RUN then one ABEND will occur i,e. U4038 and u can see in spool that no STOP RUN or control not reaching to STOP RUN like this type of messege.
...........jayanta,
hyderabad
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Stop Process when file is empty Roland Brosio DFSORT/ICETOOL 4 Thu Jun 25, 2015 1:20 pm
No new posts what will happen improper PCB order s... srinivasulu.p IMS DB/DC 1 Mon Mar 24, 2014 8:27 am
No new posts What is supposed to happen when the G... superk JCL & VSAM 10 Fri Dec 13, 2013 9:39 pm
No new posts Ttruncation happen in db2 table while... sivasaras DB2 4 Fri Sep 27, 2013 8:53 pm
No new posts Urgent Issue: Stop the execution of R... ezhavendhan TSO/ISPF 3 Mon Aug 26, 2013 5:21 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us