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
 

 

How and where to use XCTL and Link

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How and where to use XCTL and Link
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    Post subject: How and where to use XCTL and Link
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    Post subject: Re: How and where to use XCTL and Link
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    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 DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 pm
No new posts compile and link program in 6.1 brigitte pruett COBOL Programming 3 Tue Aug 16, 2016 12:09 am
No new posts Event-driven programming (BTS) VS (ST... Rohit Umarjikar CICS 2 Sat Jun 11, 2016 2:05 am
No new posts LINK Call srajendran2 CICS 2 Fri Apr 22, 2016 1:35 am
No new posts Replacing Start Transid with LINK pkmurali CICS 12 Tue Apr 19, 2016 8:22 pm


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