View previous topic :: View next topic
|
Author |
Message |
rashmirgowda
New User
Joined: 18 Jun 2008 Posts: 25 Location: india
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
rashmirgowda
New User
Joined: 18 Jun 2008 Posts: 25 Location: india
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
|