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

LINK, XCTL, RETURN - Differences


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

New User


Joined: 21 Jan 2008
Posts: 39
Location: chennai

PostPosted: Fri Aug 21, 2009 2:04 pm
Reply with quote

Hi,

Could you please explain my query below.

LINK - transfers control to lower level expecting return
XCTL - transfers the control to same logical level
RETURN - To return to next higher level program.

Query is what does level mean - Lower, higher and same level?. Please explain.

Thanks in Advance,
Ranjith
Back to top
View user's profile Send private message
ranjithmainframe

New User


Joined: 21 Jan 2008
Posts: 39
Location: chennai

PostPosted: Fri Aug 21, 2009 2:11 pm
Reply with quote

Hi,

Can you brief what does same/lower logical level mean?.. I am unable to get an example for the same.



Ranjith
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Fri Aug 21, 2009 2:20 pm
Reply with quote

Hi Ranjith

When you are logging on to CICS, you are in the 0 level in CICS. That is the highest level. When you run a transaction, your transaction works under CICS, that is your transaction is in level 1. When the transaction issues a LINK, the linked program works under level 1, i.e. under the main program. So the linked program is in level 2. If the main program issues a XCTL, the XCTLed program works in the same level as the main program, i.e. level 1 itself. Similarly when the main program issues a RETURN , the RETURNed program also works in the same logical level as that of the main program.

Hope this will help you
Regards
Raghu
Back to top
View user's profile Send private message
ranjithmainframe

New User


Joined: 21 Jan 2008
Posts: 39
Location: chennai

PostPosted: Fri Aug 21, 2009 2:28 pm
Reply with quote

Hi Raghu,

Thanks for your quick response.

Explaination given is very usefull!!

Thanks,
Ranjith
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Fri Aug 21, 2009 2:43 pm
Reply with quote

You are welcome

Raghu
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sat Aug 22, 2009 5:59 am
Reply with quote

Please post these type of entry level and interview questions on another forum.
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 Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
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 REXX GETMSG does not return £HASP880... CLIST & REXX 2
Search our Forums:

Back to Top