Using Jacl:
set newds [$AdminConfig getid /Cell:mycell/Node:mynode/JDBCProvider:JDBC1/DataSource:DS1/]
Example output:
DS1(cells/mycell/nodes/mynode:resources.xml$DataSource_1)
Using Jacl:
$AdminConfig create ConnectionPool $newds {}
Example output:
(cells/mycell/nodes/mynode:resources.xml#ConnectionPool_1)
Using Jacl:
$AdminConfig save