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

How and where to use XCTL and Link


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

New User


Joined: 07 Apr 2005
Posts: 11
Location: Bangalore

PostPosted: Wed Aug 10, 2005 7:27 pm
Reply with quote

Hi all,

I have 3 screens. I am using XCTL to move from Screen 1 to Screen 2 and XCTL again from Screen 2 to screen 3.While coming back from screen 3 to screen 2 I tried using XCTL and its not working. Each Screen has associated program and each program has different transaction id.

What could be the problem ?

Ps: I tried using Link from one program to another and while returning back I used return statement. It was giving me INVREQ (AEIP Abend code).

Could you please suggest me what to do
Back to top
View user's profile Send private message
khaarthikm

New User


Joined: 08 Aug 2005
Posts: 15

PostPosted: Thu Aug 11, 2005 2:05 pm
Reply with quote

Hey Mani,

i think in this case u can use Pseudo conversation, u can return with the transid of the screen u need... also in case of XCTL i dont think you can go back from the called program to calling program. Link should work for this case and am not sure why it fails for you.

On my point of view its better to use the pseduo conversaion for this case.
Back to top
View user's profile Send private message
gowtham_srgp

New User


Joined: 09 Jun 2005
Posts: 38

PostPosted: Fri Aug 12, 2005 12:18 pm
Reply with quote

hai mani....


XCTL is used when you transfer control to another program in the same logical level. It does not expect the control to return back to it. Only because of it, you get AEIP i feel. You can go with LINK. There should not be any problem with that. For this case, you always prefer psuedo conversation. That'll be of great help..........


gowtham
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 executing XCTL command in COBOL witho... CICS 10
No new posts How can i link the RHDCSNON programa ... IDMS/ADSO 2
No new posts Run don't walk to your nearest ZOWE l... All Other Mainframe Topics 4
No new posts LE Modules in Link Edit COBOL Programming 1
No new posts Defining SYSLIB to USS c++ (cxx) comp... All Other Mainframe Topics 2
Search our Forums:

Back to Top