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

Abend INVREQ in return with the transaction id.


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

New User


Joined: 18 Jun 2008
Posts: 25
Location: india

PostPosted: Thu Jul 22, 2010 5:15 pm
Reply with quote

Hi,

Please give me solution for this.

my requirement is based on the choices given in the main menu, it should go to the linked screen and populated the values based on the ip which we given in the main menu.

i have finished both the main and sub program coding. but in linked program while sending the map its displaying properly with all the values but while in returning with transaction id getting the response code as 16(INVREQ).

Thanks,
Rashmi
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Thu Jul 22, 2010 5:24 pm
Reply with quote

You cannot issue a RETURN TRANSID from a LINKED-TO sub-program. You must issue this from the Main Program, which is defined to the transaction-id in the PCT entry.

Bill
Back to top
View user's profile Send private message
rashmirgowda

New User


Joined: 18 Jun 2008
Posts: 25
Location: india

PostPosted: Thu Jul 22, 2010 6:14 pm
Reply with quote

Hi,

Thanks for your response. if i use XCTL in the main program, How i have to handle in subprogram ??

Can you please eloborate?

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

Global Moderator


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

PostPosted: Thu Jul 22, 2010 6:21 pm
Reply with quote

from a hierarchical standpoint, you do not XCTL to a subprogram.

when you have XCTL'd to program-b, program-b is the main program,
from which you can issued a RETURN.
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 ISAM and abend S03B JCL & VSAM 9
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to identify the transaction categ... IMS DB/DC 3
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
Search our Forums:

Back to Top