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
 

 

COBOL Program error: control after last line

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

New User


Joined: 12 Dec 2006
Posts: 1
Location: kolhapur

PostPosted: Sat Dec 16, 2006 3:59 pm    Post subject: COBOL Program error: control after last line
Reply with quote

sir when i m submiting cobol jcl,my program abends but giving result-THE FLOW OF CONTROL IN PGM M1 PROCEDDED BEYOND LAST LINE OF PGM.BCZ OF THIS I M NT GETING MAXCC=O.
whats the problem i cant understand?
Back to top
View user's profile Send private message

nbalajibe
Warnings : 1

New User


Joined: 28 Nov 2006
Posts: 75
Location: India

PostPosted: Sat Dec 16, 2006 4:46 pm    Post subject: Re: program problem
Reply with quote

hi,
I think that the loop may be going infinitely.
correct me if i am wrong.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sat Dec 16, 2006 5:50 pm    Post subject:
Reply with quote

One guess would be that last paragraph in your program, one meant to be performed, ended up recieving control via a go to.
Back to top
View user's profile Send private message
sudhakar_lendave

New User


Joined: 21 Nov 2006
Posts: 48
Location: mumbai

PostPosted: Mon Dec 18, 2006 10:17 am    Post subject: Re: COBOL Program error: control after last line
Reply with quote

hi chetya,
can you show me your jcl?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 19, 2006 3:28 am    Post subject:
Reply with quote

Hello,

A possibility is that it "just fell out the bottom".

One possibility is the one that William suggests.

Another is that the program has done all it is supposed to do, but there is no GOBACK or STOP RUN to terminate processing.
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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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