The jomGetExecInstances call, shown in the following example, returns the object ids of the environmental objects associated with the process.
int jomGetExecInstances(const DskHandle *pHandle, DskObjectId *pGlobal, DskObjectId *pApp, DskObjectId *pRootSchema, DskObjectId *pSchema, DskObjectId *pSystem, DskObjectId *pNode, DskObjectId *pProcess, DskObjectId *pSession, UInt32 lineNo)
The parameters for this call are described in the following subsections.