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
 

 

What does level means in XCTL,LINK

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: What does level means in XCTL,LINK
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    Post subject: Hi,
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    Post subject: Re: What does level means in XCTL,LINK
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    Post subject: Hi
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    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 DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 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 Event-driven programming (BTS) VS (ST... Rohit Umarjikar CICS 2 Sat Jun 11, 2016 2:05 am
No new posts LINK Call srajendran2 CICS 2 Fri Apr 22, 2016 1:35 am
No new posts Replacing Start Transid with LINK pkmurali CICS 12 Tue Apr 19, 2016 8:22 pm


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