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

What does level means in XCTL,LINK


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

New User


Joined: 03 Jun 2005
Posts: 5

PostPosted: Wed Jul 06, 2005 5:08 pm
Reply with quote

Hello ,


We all know that XCTL will transfer the command to same level prg, and control will not come back , Similarly in link it will transfer the command to lower level ,

Can any one tell me what is exactly this level ,

Any practical Example will help me more

Regards
Kenneth
Back to top
View user's profile Send private message
vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Wed Jul 06, 2005 8:59 pm
Reply with quote

Level here means the logical levels.

In XCTL where the command is transferred to another program at the same we mean to say that the program 1 is released from the memory and program 2 is replaced.

For ex.

we have a cics screen which is the menu screen and has various options like insert,update etc.

If suppose we give an option of insert ,the control is intially at the menu loical level.When we enter an option say insert the control will be transferred to the insert screen level from the menu screen level.

whereas in link, the command is transferred to another program at a lower logical level.here the menu pgm is retained in memory while the insert is being called.After the insert operation is performed the control shift's back to the menu pgm.
Link command funtions like a subroutine.

Hope I was clear enough.
Back to top
View user's profile Send private message
frame_kan

New User


Joined: 03 Jun 2005
Posts: 5

PostPosted: Thu Jul 07, 2005 1:50 pm
Reply with quote

Hi madhuri

Thx for ur quick response, I am going to bother you again as it is not clear.
you have given example of menu screen , For xctl control goes permanently to insert screen ,Is the same logical level means that XCtl'ed pgm should be in Prg 1 . IF it is so
Then i am confused for link

As you said that same menu screen ,control will go to inset screen then control will come back.

My question is is MENU and INSERT pgm are on same level , if they are in same logical level then how link can be done .

I am confused about logical level

Please make me clear

Kenneth
Back to top
View user's profile Send private message
vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Thu Jul 07, 2005 11:46 pm
Reply with quote

Logical levels means the different triggers(conditiond like transid,functions like xctl,link) which cause the program to execute.
When we say the pgm is executing at the highest logical level it is that pgm which executes when the transid is entered.

I will send u a cbt of cics that I.The module 9 of this covers xctl and link.It will help u clear u doubts.
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 How to load to DB2 with column level ... DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
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 JPM Reports for each DB2 V12 Function... DB2 0
Search our Forums:

Back to Top