The following method allows AppObjects or SubAppObjects to create ProcObjects that share an application server connection with an existing AppObject or SubAppObject:

Syntaxs

public ProcObject createPO_ProcObject()

For example, a procedure AccountInfo.p added in ProxyGen as persistent, single-run, or singleton generates this Java method:

public AccountInfo createPO_AccountInfo()

Note that AccountInfo.p cannot be run as single-run or singleton if it has parameters in its main block, and ProxyGen will not allow you to designate a procedure as single-run or singleton if that procedure has parameters in its main block.