View previous topic :: View next topic
|
Author |
Message |
frame_kan
New User
Joined: 03 Jun 2005 Posts: 5
|
|
|
|
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 |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
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 |
|
|
frame_kan
New User
Joined: 03 Jun 2005 Posts: 5
|
|
|
|
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 |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
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 |
|
|
|