Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Abend INVREQ in return with the transaction id.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Abend INVREQ in return with the transaction id.
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 22, 2010 5:24 pm    Post subject: Reply to: Abend INVREQ in return with the transaction id.
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    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Thu Jul 22, 2010 6:21 pm    Post subject:
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    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 EXIT or RETURN cvnlynn CLIST & REXX 16 Wed Jul 19, 2017 2:50 am
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us