On AIX, how to find out the uDAPL version?

# lslpp -la "*udapl*"
  Fileset                      Level  State      Description
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  udapl.rte                 7.1.1.15  COMMITTED  uDAPL

Path: /etc/objrepos
  udapl.rte                 7.1.1.15  COMMITTED  uDAPL

But the above only tells the IBM AIX packager version and not the version of the uDAPL that is being used.

To find out the uDAPL version being used, it is easier to just look at the header files.

# grep Version /usr/include/dat/dat.h
 * 3) under the terms of the "GNU General Public License (GPL) Version 2" a
 *              Library, Version: 1.2"

The above tells that we have uDAPL  version 1.2 support.

But let us check if we have uDAPL version 2.0 support also

# grep Version /usr/include/dat2/dat.h
 * 3) under the terms of the "GNU General Public License (GPL) Version 2" a
 *              Library, Version: 2.0"

The above confirms that we have uDAPL  version 2.0 support also.