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 the transfer is controlled in XCTL and LINK commands

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How the transfer is controlled in XCTL and LINK commands
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    Post subject:
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    Post subject: Re: How the transfer is controlled in XCTL and LINK commands
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    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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 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 Invoking CA 7 commands through REXX kenshin CLIST & REXX 10 Fri Aug 12, 2016 9:33 pm
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
No new posts Event-driven programming (BTS) VS (ST... Rohit Umarjikar CICS 2 Sat Jun 11, 2016 2:05 am


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