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

"XCTL -- LINK"


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

New User


Joined: 15 May 2006
Posts: 20
Location: chennai

PostPosted: Tue May 30, 2006 11:35 am
Reply with quote

hi all,

I have a small clarification on this XCTL and LINK commands.

suppose when coding XCTL command if we give a same program name instead of a differnt program ( ie) the called and calling program are the same what will happen ?

I would like to know whether the call will be ignored or will it go for an " invalid request " abend or the working storage values will be reset and the program will be executed as before.

and what will happen if the same is done with the LINK program.

Thanks,
Prasanna Subramaniam.
Back to top
View user's profile Send private message
rajakumar10

New User


Joined: 03 Aug 2005
Posts: 12

PostPosted: Wed May 31, 2006 4:20 pm
Reply with quote

It doesn't fail or abend. The program goes into a loop
Back to top
View user's profile Send private message
gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Thu Jun 01, 2006 1:45 pm
Reply with quote

it won't abend.
But It will go in loop or not can only be decided only after we see your program logic. Is this XCTL statment performed everytime your program is called? or it is possible that depending on teh commarea data your program execution will be routed another way or stopped before XCTL statement?

Is this just out of curiousity or it is serving some business purpose?
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 PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 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 RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
Search our Forums:

Back to Top