Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 757
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 LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm
No new posts Need info on EIBCPOSN value in IBM FA... subratarec CICS 11 Wed Jul 12, 2017 3:45 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us