Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us