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
 

 

need more info on CAA when working on a LE migration prj

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Shruthi Raghavan

New User


Joined: 17 Jan 2007
Posts: 9
Location: India

PostPosted: Fri Jan 19, 2007 10:38 am    Post subject: need more info on CAA when working on a LE migration prj
Reply with quote

I am working on LE migration project and have some issues. Can anybody please help me with the conepts of Common Anchor Area (CAA) and enclave. I need to know more about
- R13 pointing to CAA
- invoke cobol in more than one enclave

I would appreciate any kind of help.
Thanks in advance.
Shruthi
Back to top
View user's profile Send private message

UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Fri Jan 19, 2007 4:14 pm    Post subject:
Reply with quote

Hi Shruthi Raghavan !

When calling LE/370-conforming routines, register 12 points to the address of the CAA.

When a routine makes a call, registers 0-15 contain the following values:

o R0 is used by COBOL static call.
o R1 is a pointer to parameter list or zero if no parameter list passed.
o R2-R11 is unreferenced by LE/370.
Caller's values are passed transparently.
o R12 is the pointer to the CAA if entry to an external routine.
o R13 is the pointer to caller's DSA.
o R14 is the return address.
o R15 is the address of the called entry point.


Here you could find a nice description of the CAA:

http://cenmvst.gov.ab.ca/bookmgr-cgi/bookmgr.exe/BOOKS/BOOKREAD.LANGUAGE.CEEM1003.BOOK/1.3.2.7?SHELF=BOOKREAD.PUBLIC.MESSAGE.BKSHELF

More information:
http://publib.boulder.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=/com.ibm.entcobol4.doc/igym1apc.htm

Regards, UmeySan
Back to top
View user's profile Send private message
Shruthi Raghavan

New User


Joined: 17 Jan 2007
Posts: 9
Location: India

PostPosted: Fri Jan 19, 2007 4:55 pm    Post subject:
Reply with quote

i know that R12 has to point to CAA. But wat is to be done when R12 is used as base registers in teh program.
could you please tell me wat do u mean by 'if entry to an external routine'
Back to top
View user's profile Send private message
Shruthi Raghavan

New User


Joined: 17 Jan 2007
Posts: 9
Location: India

PostPosted: Fri Jan 19, 2007 5:16 pm    Post subject:
Reply with quote

An external routine means a another sub module or does it have any other meaning.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Need info with DBRC recovery ashek15 IMS DB/DC 0 Mon Jan 23, 2017 6:43 am
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts SCRNAME not working on my mainframe? mrsidhu12 TSO/ISPF 7 Thu Sep 01, 2016 2:17 pm
No new posts Db2 migration from V4/6 to V8/10 Venkatesh G DB2 1 Thu Jul 14, 2016 8:54 am


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