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
 

 

LINK, XCTL, RETURN - Differences

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: LINK, XCTL, RETURN - Differences
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    Post subject: Reply to: LINK, XCTL, RETURN - Differences
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    Post subject:
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    Post subject: Reply to: LINK, XCTL, RETURN - Differences
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    Post subject: Reply to: LINK, XCTL, RETURN - Differences
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    Post subject:
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    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 EXIT or RETURN cvnlynn CLIST & REXX 9 Wed Jul 19, 2017 2:50 am
No new posts DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm


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