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
 

 

"XCTL -- LINK"

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: "XCTL -- LINK"
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    Post subject:
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    Post subject:
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    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 Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 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 Multi row fetch - "for read only... Nileshkul DB2 3 Sun Aug 14, 2016 12:52 am
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm


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