RunToWindow method: CONQRSMGR class

Syntax

RunToWindow()

Description

Use this method to run a connected query in background mode. Similar to preview mode, running a connected query in background mode results in the output data being displayed in a separate browser window. However, in background mode, the connected query is run through Process Scheduler with a REN server. Running a connected query in this manner prevents blocking on the application server. While the report file is generated, the user can continue working with the PeopleSoft application and the application server environment.

To specify the scheduling information, prior to invoking the RunToWindow method, you must invoke the SetRunControlData method as follows:

&res = &objConQrsInst.SetRunControlData(&objConQrsInst.Const.⇒
RunCntlId_Auto, False);

The RunToWindow method is valid for the RunMode_Window run mode only.

Parameters

None.

Returns

The process ID as a number.