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

How the transfer is controlled in XCTL and LINK commands


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

New User


Joined: 27 Sep 2005
Posts: 16

PostPosted: Sat Oct 22, 2005 2:24 pm
Reply with quote

Hi,

Considering Transid - T1 is with program - p1

in p1 if xctl is used with program - p2 the current program will be terminated and the control will be transferred to the p2 with same trans-id T1.

I want to know that whether in PCT both the programs p1 and p2 will be having T1 as transaction ids . If so is it possible for single transid to have more than one program entry.

Clear me how the control is transferred to the p2 with in the same Transid-T1

While using Link command can we have different transid's or only one transid as in the case of Xctl .


Make me clear how the control is transferred to the program p2 in both the cases of Xctl and Link.

regards,

JawadShaik
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Sun Oct 23, 2005 8:05 pm
Reply with quote

Only one program can be defined in a PCT. Programs will therefore not have the same transid as the program XCTL'ed of LINK'ed to.
Back to top
View user's profile Send private message
prakash271082

New User


Joined: 09 Sep 2005
Posts: 53

PostPosted: Mon Oct 24, 2005 12:08 pm
Reply with quote

Hi,
As said by one of our friend, there can be only one TRANS-ID registered in PCT for a particular transaction. Here is the Transaction is the main program. XCTL-ed program is said to be sub-task within the transaction with respect to main program. It is not transaction, so it doesn't involve any TRANS-ID at all.
The same is applicable to LINK also.

Hope this helps....
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 MFT File transfer problems All Other Mainframe Topics 5
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 Console Commands All Other Mainframe Topics 4
No new posts Transfer TB of data from Mainframe to... All Other Mainframe Topics 2
Search our Forums:

Back to Top