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

COBOL Program error: control after last line


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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: 3156
Location: Tucson AZ

PostPosted: Sat Dec 16, 2006 5:50 pm
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
Reply with quote

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

Moderator Emeritus


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

PostPosted: Tue Dec 19, 2006 3:28 am
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 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 Using API Gateway from CICS program CICS 0
No new posts Error to read log with rexx CLIST & REXX 11
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Error when install DB2 DB2 2
Search our Forums:

Back to Top