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
 
'Opcode unsupported' error in CICS call

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Thu Aug 05, 2010 1:18 pm    Post subject: 'Opcode unsupported' error in CICS call
Reply with quote

Hi,

I have COBOL program which is developed for TP transaction.
In the program there is a dynamic call statement.
Once the control goes to the call statement, it directly sends the control to the EXIT para.

I tried to XPED the program and found that the error it shows is
'Unsupported opcode - can't continue'

The structure

PROGRAM1

MOVE 1 TO VAR1
MOVE 0 TO VAR7

CALL C-PROGRAM2 USING VAR1 VAR7
IF VAR7 NOT = 0
DISPLAY 'ERROR IN PROGRA'
END-IF

--------
---------

other statement
----------
---------
--------


T100-PARA-EXIT.
EXIT.

The control goes goes to EXIT when the CALL statement is executed.
When expedited, the control dies not even go to PROGRAM2.

Can someone please help me to track down the reason?

Thanks,
Back to top
View user's profile Send private message

Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Thu Aug 05, 2010 2:37 pm    Post subject:
Reply with quote

Hi Monasu,

Quote:
When expedited, the control dies not even go to PROGRAM2
Is the Program compiled with xpediter=Y option ? Are u able to open the program in the xpediter ?

Quote:
CALL C-PROGRAM2 USING VAR1 VAR7
Is this a new program written by you ? Assembler Program ? Some details on this module if possible ?

Quote:
The control goes goes to EXIT when the CALL statement is executed.
This doesn't make sense ... One way I could think of such a situation is if the return address got corrupted in the PROGRAM-2 ...
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Aug 05, 2010 4:26 pm    Post subject:
Reply with quote

do you have any active Handle Conditions
or Declaratives?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Thu Aug 05, 2010 5:18 pm    Post subject: Reply to: 'Opcode unsupported' error in CICS call
Reply with quote

Sounds like an OP CODE (of a compiler-generated Assembler instruction) was clobbered.

Did this raise a S0C1 abend?

Was the "Called" sub-program translated/compiled as CICS?

If so, check the PROCEDURE DIVISION statement in the listing, for "PROCEDURE DIVISION USING DFHEIBLK DFHCOMMAREA" and so on and so on....

Bill
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm

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