I am running a DB2 embedded sql application on DB27.1 for AIX. How can I get the application id of current application from the same program?

Thanks.