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

CICS prog flow - abend


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venktv

New User


Joined: 29 Mar 2006
Posts: 59
Location: Montreal

PostPosted: Thu Mar 19, 2009 9:40 am
Reply with quote

Hi All,

Just I would like to know why below ABEND occurs and how to solve

ABEND:

IGZ0037S The flow of control in program OET040 proceeded beyond the last line of the program.

From compile unit OET040 at entry point OET040 at compile unit offset + +00000446 at entry offset +00000446 at address15E6A21E.

CEE3DMP V1 R9.0: Condition processing resulted in the unhandled condition.

Task Number: 2380 Transaction ID: ET04



Following is the CICS program:



ENVIRONMENT DIVISION.

CONFIGURATION SECTION.

SOURCE-COMPUTER. IBM-4331.

OBJECT-COMPUTER. IBM-4331.

DATA DIVISION.

WORKING-STORAGE SECTION.



COPY MAET040.



01 DFHPF3 PIC X VALUE '3'.



PROCEDURE DIVISION.

IF EIBAID = DFHPF3

GO TO 100-EXIT-MENU

END-IF.



EXEC CICS SEND CONTROL ERASE

END-EXEC.

EXEC CICS SEND MAPSET('MAET040')

MAP('MAET040')

MAPONLY

ERASE

END-EXEC.



EXEC CICS RETURN TRANSID ('ET04')

END-EXEC.



100-EXIT-MENU.

EXEC CICS ISSUE DISCONNECT

END-EXEC.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 19, 2009 4:48 pm
Reply with quote

Code:
IF EIBAID = DFHPF3

GO TO 100-EXIT-MENU

END-IF.
and
Code:
100-EXIT-MENU.

EXEC CICS ISSUE DISCONNECT

END-EXEC.
The error message is pretty much self explanatory -- hit PF3, go to 100-EXIT-MENU, and your code has neither a GOBACK nor EXEC CICS RETURN END-EXEC at the end of this paragraph. Your program ran past the end of the code.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top