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

Purpose of AOR/TOR regions


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

New User


Joined: 15 May 2006
Posts: 23
Location: Jamshedpur

PostPosted: Fri Jul 24, 2009 9:15 am
Reply with quote

I know what is AOR and TOR but not in details. I don't understand where they fir in CICS architecture. Are they part of each CICS region, if yes, can someone explain what are the purpose of these regions.

Rgds,
Rakesh
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Jul 24, 2009 10:23 am
Reply with quote

Rakesh,

Quote:
AOR and TOR but not in details.


AOR - Application Owning region
TOR - Terminal Owning region

All the termianal related programs (Translator, co-ordinator) will be coded in TOR and API (Application program interface) will be coded in AOR.

To put in simple words - screen handling , function keys logic, function keys validations will be in programs coded in TOR and all business logic (valid processing, updating the database) in AOR.

Quote:
I don't understand where they fir in CICS architecture


TOR ---> AOR which interacts with DOR (Data owning region)



Quote:
Are they part of each CICS region,


Yes, T/A/DOR R - region
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 24, 2009 10:23 am
Reply with quote

Hello,

AOR (Application Owning Region) and TOR (Terminal Owning Region) are used by MRO (Multiple Region Option) for load balancing and control. Users log into terminals attached to a tor and from there access an application in an aor.
Back to top
View user's profile Send private message
rakesh_mishra18

New User


Joined: 15 May 2006
Posts: 23
Location: Jamshedpur

PostPosted: Fri Jul 24, 2009 11:43 am
Reply with quote

Thanks for quick replies..

Aaru,

I have a doubt on following statement(marked in bold).

To put in simple words - screen handling , function keys logic, function keys validations will be in programs coded in TOR and all business logic (valid processing, updating the database) in AOR.
But all the above are normally part of one application program. Can u pls clarify.

Rgds,
Rakesh
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Jul 24, 2009 12:32 pm
Reply with quote

Rakesh,

Quote:
But all the above are normally part of one application program. Can u pls clarify.


When you say "one application program" Is that one program or collection of programs?

In the online project that I had worked on, for any business logic or functionality We would code pgm A in TOR and B in AOR.

A would have code for screen validations, pre-requisite checks and terminal related commands and B would have the business logic coded.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sat Jul 25, 2009 5:39 am
Reply with quote

Aaru Vedam,

Quote:
In the online project that I had worked on, for any business logic or functionality We would code pgm A in TOR and B in AOR.


This is not the industry normal practice.

TOR handles the terminal I/O driven by applications residing in
the AOR.

As Dick pointed out, TOR/AOR is part of MRO environment to handle
load balancing.
Back to top
View user's profile Send private message
rakesh_mishra18

New User


Joined: 15 May 2006
Posts: 23
Location: Jamshedpur

PostPosted: Sun Jul 26, 2009 11:41 pm
Reply with quote

Thanks Earl,

I also feels the same as I hvae not seen doing this in any of our project so far. I am not sure if an application programmer can define that out of 100 programs 10 shoould be part of TOR and 90 as AOR. If yes, I would like to know how ? I feel TOR consist of system programs which handle terminal I/O operations and the programs written by application programmer as part of AOR. I guess this is decided by CICS as part of load balancing. Pls explain.

Thanks,
Rakesh
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Mon Jul 27, 2009 11:48 am
Reply with quote

Quote:
TOR handles the terminal I/O driven by applications residing in
the AOR.

As Dick pointed out, TOR/AOR is part of MRO environment to handle
load balancing.


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

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Jul 28, 2009 3:29 am
Reply with quote

Rakesh,

To explain would be lengthy. You need to ask your co-workers
for additional information regarding TOR/AOR (or your CICS Technical
support).

Is there any CICS training classes available to you in India?

Thanks,
Earl
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 28, 2009 5:38 am
Reply with quote

Hello,

Is the interest in mro because of performance problems with an existing application or is this in anticipation of some new large application?

If this is to deal with an existing poorly performing application, suggest the time will be better spent improving the performance of the existing code/design.

Implementing mro is not a good choice for dealing with an application that has been poorly designed and/or coded.
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 Retrieving IMS message processing reg... CLIST & REXX 7
No new posts What is the purpose of z/OS dataset e... All Other Mainframe Topics 3
No new posts Need to track the CICS transaction fr... CICS 3
No new posts File sharing between two online regions CICS 1
No new posts Transfer Mainframe files ( PS & P... JCL & VSAM 11
Search our Forums:

Back to Top