# Node.js adabas-tcp

**URL:** <https://techcommunity.softwareag.com/t/node-js-adabas-tcp/240997>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas\
**Created:** [May 2, 2021, 11:27am UTC](https://techcommunity.softwareag.com/t/node-js-adabas-tcp/240997 "2021-05-02T11:27:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guilherme\_Andre1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guilherme_andre1/32/16187_2.png) [@Guilherme\_Andre1](https://techcommunity.softwareag.com/u/Guilherme_Andre1)\
**Post date:** [May 2, 2021, 11:27am UTC](https://techcommunity.softwareag.com/t/node-js-adabas-tcp/240997/1 "2021-05-02T11:27:03Z")

</div>

Hi, guys!

Is it possible to connect to ADABAS 6.3 using adabas-tcp? How to enable TCP connection to ADABAS?

I’m running ADABAS on Red Hat Linux

```auto
$ adashow 250

Database Id. : 250
Database Name : ADABAS-DESENV
Version : v63004 (default)
Config. file : /users/SAG/ada/db250/DB250.INI
Status : active

```

Running “netstat” command I found 2 listening ports for ADABAS “adanuc.bin”:

```auto
$ sudo netstat -ntp |grep adanuc
tcp 0 0 127.0.0.1:42800 127.0.0.1:9207 ESTABELECIDA4845/adanuc.bin     
tcp 0 0 127.0.0.1:42813 127.0.0.1:9207 ESTABELECIDA5050/adanuc.bin

```

At the same time I have two “adanuc.bin” process running:

```auto
$ ps aux |grep adanuc
sag 4845 0.0 4.6 905700 759560 ? Ssl Jan30 0:37 /users/SAG/ada/v63004/bin/adanuc.bin DBID=100 +
sag 5050 0.3 4.6 1001280 759084 ? Ssl Jan30 438:47 /users/SAG/ada/v63004/bin/adanuc.bin DBID=250 +

```

I just wrote a lab program to start testing ADABAS Connection using Node.js and I’m anxious to know how to enable/connect to the database.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [May 3, 2021, 3:24pm UTC](https://techcommunity.softwareag.com/t/node-js-adabas-tcp/240997/2 "2021-05-03T15:24:37Z")

</div>

I believe TCP support is relatively new. I don’t remember whether it was available in Adabas 6.3. Are the following ADANUC parameters documented/defined?

- ADATCP
- TCPATB
- TCPCONNECTIONS
- TCPRECEIVER

---

<div class="post-metadata">

**Author:** ![Guilherme\_Andre1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guilherme_andre1/32/16187_2.png) [@Guilherme\_Andre1](https://techcommunity.softwareag.com/u/Guilherme_Andre1)\
**Post date:** [May 3, 2021, 3:46pm UTC](https://techcommunity.softwareag.com/t/node-js-adabas-tcp/240997/3 "2021-05-03T15:46:58Z")

</div>

Hi Ralph… Thanks for your reply.

Trying to check these parameters on INI files and service start shells I didn’t found them. There are any other place I can take a look to find them?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Sven\_Born](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/sven_born/32/39756_2.png) [@Sven\_Born](https://techcommunity.softwareag.com/u/Sven_Born)\
**Post date:** [May 3, 2021, 4:10pm UTC](https://techcommunity.softwareag.com/t/node-js-adabas-tcp/240997/4 "2021-05-03T16:10:34Z")

</div>

Hi Andre,

ADATCP is available since Adabas 6.7.0. SSL is available since 6.7.1.  
[ADANUC (Starting The Database, Defining Nucleus Parameters) (softwareag.com)](https://documentation.softwareag.com/adabas/ada67luw/utils/nuc.htm#nucnoadatcp)

Adabas 6.3 is far too old and has no ADATCP support ☹

Maybe the Adabas Docker Community Edition can help you out if you want to have a simple environment for testing purpose? Check out this link: [Software AG Adabas CE](https://hub.docker.com/_/softwareag-adabas-ce)

As far as I can see you have already found [adabas-tcp on github](https://github.com/SoftwareAG/adabas-tcp) 😉

Best regards,  
Sven

---

<div class="post-metadata">

**Author:** ![Guilherme\_Andre1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guilherme_andre1/32/16187_2.png) [@Guilherme\_Andre1](https://techcommunity.softwareag.com/u/Guilherme_Andre1)\
**Post date:** [May 3, 2021, 7:11pm UTC](https://techcommunity.softwareag.com/t/node-js-adabas-tcp/240997/5 "2021-05-03T19:11:41Z")

</div>

Hi Sven,

Thanks for your reply. We are planning a lot of changes on our environment and the version update is an planned task, but it will take a few months to complete.

Before this i will consider the docker version for testing purposes. 😃

Kind regards!

---

<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:** [August 1, 2021, 7:12pm UTC](https://techcommunity.softwareag.com/t/node-js-adabas-tcp/240997/6 "2021-08-01T19:12:11Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
