# using multiple Adabas SVC's with Natural under CICS

**URL:** <https://techcommunity.softwareag.com/t/using-multiple-adabas-svcs-with-natural-under-cics/59887>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [March 31, 2005, 1:51pm UTC](https://techcommunity.softwareag.com/t/using-multiple-adabas-svcs-with-natural-under-cics/59887 "2005-03-31T13:51:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelK](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@MichaelK](https://techcommunity.softwareag.com/u/MichaelK)\
**Post date:** [March 31, 2005, 1:51pm UTC](https://techcommunity.softwareag.com/t/using-multiple-adabas-svcs-with-natural-under-cics/59887/1 "2005-03-31T13:51:07Z")

</div>

Dear fan’s,

I have a customer evaluating CICS with Software AG products Adabas and Natural. Now I got the question ‘how to setup and use multiple Adabas SVC’s under CICS in conjunction with Natural under CICS’.  
Before re-inventing the wheel I like to ask, if we have already a ‘cookbook’ out for this issue. But I am not  
Talking about ‘installing mutliple Adabas SVC’s’. This is quite clear to the customer.

The point is the use of mutliple SVC’s under CICS. Compare to Complete this is not transparent. Under Complete we just can set a parameter.

questions:

1. what are the requirements in terms of modules ‘adabas’, ‘adatrue’, …
2. what are the requirements in terms of natural setup?

Thanks in advance  
With regards

Michael

---

<div class="post-metadata">

**Author:** ![Wayne\_Campos](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wayne_campos/32/104_2.png) [@Wayne\_Campos](https://techcommunity.softwareag.com/u/Wayne_Campos)\
**Post date:** [April 2, 2005, 1:27am UTC](https://techcommunity.softwareag.com/t/using-multiple-adabas-svcs-with-natural-under-cics/59887/2 "2005-04-02T01:27:00Z")

</div>

ADABAS  
You will probably have to create 2 ADABAS interface modules (default name is ADABAS). The SVC comes from the ADAGSET macro. So, you can create ADABAS (SVC 249, for example) and ADA250 (SVC 250). You will have to use different ADAGSET macros for each interface.

NATURAL  
NATURAL has a parameter, ADANAME, that specifies the name of the ADABAS link routine. It can be specified in the NATPARM module and it can be supplied as a dynamic parameter.

Assuming that SVC 249 is your default SVC, to use SVC 250 you would simply start your NATURAL nucleus with ADANAME = ADA250.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2005, 3:03am UTC](https://techcommunity.softwareag.com/t/using-multiple-adabas-svcs-with-natural-under-cics/59887/3 "2005-04-02T03:03:34Z")

</div>

Drawback:

This only works when you want to use databases on different SVCs alternatively, not when you need to access them concurrently.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 4, 2005, 1:12pm UTC](https://techcommunity.softwareag.com/t/using-multiple-adabas-svcs-with-natural-under-cics/59887/4 "2005-04-04T13:12:19Z")

</div>

If you want to communicate across two different SVCs within the same session the “Adabas Migration Tool” might help you.

For further information see chapter “INSTALLING AND USING THE ADABAS MIGRATION TOOL” in Adabas installation manual for z/OS.  
There is no intro description so you have to read through the hole story to see to which degree it can help you.

Com-plete users got it much much easier 🙂 .

Best regards,  
Mogens

---

<div class="post-metadata">

**Author:** ![MichaelK](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@MichaelK](https://techcommunity.softwareag.com/u/MichaelK)\
**Post date:** [April 28, 2005, 8:14pm UTC](https://techcommunity.softwareag.com/t/using-multiple-adabas-svcs-with-natural-under-cics/59887/5 "2005-04-28T20:14:04Z")

</div>

final information:  
the question is solved by using the setup for the adabas migration tool. for more infromation about this please have a look into the installation manual.  
what have we done:  
for each and every svc we have create a spearate ADAENAB module, ADATRUE module, ADALNK module and ADAGSET marco with the relevant settings. example:

- ADAEN48, ADATR48, ADAL48 for SVC 248, ADAGSET macro
- ADAEN49, ADATR49, ADAL49 for SVC 249, ADAGSET macro  
for all the modules the CICS table entries are created.  
then we have created the migration module ‘ADAMIGR’, which contains the following entries:  
MIGLINK TYPE=LINK,LINK=ADAL48  
MIGLINK,TYPE=LINK,LINK=ADAL49  
MIGLINK DBID=3,LINK=ADAL48  
MIGLINK DBID=5,LINK=ADAL49  
MIGLINK TYPE=END

the Natural parm ADANAME shall point then to the migration module.  
this allows you the access in the same natural sessions databases running under different SVC’s. but keep in mind, that the DBID still must be unique.,

regards  
MichaelK 😃😃

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/using-multiple-adabas-svcs-with-natural-under-cics/59887/6 "2021-04-02T14:40:07Z")

</div>


