Close Reports Background Engine from reports
Hi,
I have a report that calls another report via SRW.run_report. Qhen the other report is called, Reports Background Engine opens and stays open, even after closing the called report.
How to programmatically close Reports Background Engine when closing the report. I have read on the forum some procedure to close it from "Forms", but not from report.
Thank you,
J
you can not close the RBE from reports as it would require a report to be executed ... i guess you get the problem.
the only way to close the RBE is from forms.
thanks,
ph.
Similar Messages
-
Closing Reports Background Engine from VB
I have a Visual Basic 6 application that runs Reports 6 reports with the ActiveX control Rwsxa60.ocx. When you close the application, the Reports background engine is still open. Is there a way to close the engine through VB? Thanks in advance for any suggestions.
you can not close the RBE from reports as it would require a report to be executed ... i guess you get the problem.
the only way to close the RBE is from forms.
thanks,
ph. -
Reports Background Engine Automatic Shutdown
Hi There!
Is there any command to automatically close the Reports Background Engine when Reports are run from Forms....
Thanks!
Viduhello,
if you submit a job to the reports server and the first parameter in the parameterlist is
add_parameter(var,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'Yes');
then the RBE will shut down.
regards,
the oracle reports team -
What is "Report Background engine"and How to use it ?
Hi
I see this window shows up when I run Report each time, what dose it do?
"Report Background engine"The Reports Background Engine waits for any command lines to run reports. When it receives a command line,
it places that report in its queue. Typically, the Reports Background Engine receives command lines from a form or
graphic using the RUN_PRODUCT packaged procedure, or from a report using SRW.RUN_REPORT.
On Windows, you can use RWISV60 to submit a report to the Reports Background Engine for execution.
This is a more efficient method because it incurs less performance overhead than Reports Runtime. The command
line arguments for RWISV60 are the same those for RWRUN60. RWRBE60 is only used to run reports locally.
Thanks,
Siva -
How to close the report background engine programatically in developer 6.0?
Friends,
We have developed our application using Oracle Developer 6.0 as front end and Oracle 9iR2 as a back end.
whenever the user is opening the application one session is creating after that if he runs any report the report background engine is started and that engine also creating one session. So, unnecessarily two sessions are opening for a single application.
So, how can we close the report background engine programatically after the report displays all the records?
Moreover, when the user close the application, the report background engine is still open. the user has to close the report background engine manually.
so how can we solve this issue?
Thanks
Sathyguyi got this while searching but its not working.....
Problem Description
Starting reports using a RUN_PRODUCT on Windows platforms starts a
Reports Background Engine (RBE). After leaving the forms application the
background engine is still running and must be terminated by the user.
Solution Description
This is intendet behaviour.
To close the Background Engine programmatically use the Reports Runtime parameter
ORACLE_SHUTDOWN. E.g.
Perform the following actions to stop the RBE when closing the Forms
application:
1) Create a dummy report which only does e.g. a SELECT * FROM DUAL
This report has a DESTYPE=FILE and a DESNAME to e.g. C:\TEMP\DUMMY.OUT
2) In the POST-FORMS trigger add the following code:
DECLARE
pl_id ParamList;
BEGIN
pl_id := Create_Parameter_List('dummy');
Add_Parameter(pl_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'Yes');
Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
Run_product(REPORTS,'<<name dummy rapport>>',SYNCHRONOUS, RUNTIME,
FILESYSTEM,pl_id,NULL);
END;
Explanation
The Report Background Engine runs separately from the Forms application and
there is no direct relation between these processes. The Forms should signal
the RBE that is being closed.
When the Form is closed the POST-FORM triggers sends a dummy report to
the RBE. Since the ORACLE_SHUTDOWN=Yes parameter is used after running the
report the RBE is terminated.
A small side-effect of the solution is that a small file (5Kb) is created on
the file-system contaning the output of the dummy report. -
Reports Background Engine - How To Automatically Close?
I use Developer 6. When I run a Reports, using RUN_PRODUCT built-in from a menu, a REPORTS BACKGROUND ENGINE starts up automatically, and it opens a session with the server, and runs reports. Since it is in another session, I cannot use uncommitted records created in my Forms Runtime session in any of the reports.
Further, when I exit out of my application, this REPORTS BACKGROUND ENGINE stays put. The user is expected to physically go and close this window, and consequently the Oracle session at the server end.
I've been unsuccessful in figuring out how to close this window and exit from my Application.
Could any one enlighten me on how to close this REPORTS BACKGROUND ENGINE while exiting out of my application programatically please?
Regards,
Ramhello,
you can use the ORACLE_SHUTDOWN parameter to shutdown the RBE.
regards,
the oracle reports team --pw -
Automatically close report background engine
After running a report with a graph in it from Forms using run_product, how can you automatically close the reports background engine and the graphics engine that get left open.
Thanks!Hi,
If you add another parameter to the parameter list as shown below, it will shutdown the background engine when you close the report.
ADD_PARAMETER(PL_ID,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');
Hope this helps,
Haritha -
How to close "Reports Background Engine" automatically
Dear Sir,
I wanna close "Report Background Engine" automatically after closing the report.
I tried to add the following parameter to close it in the caller form, but it didn't work:
add_parameter(p1, 'oracle_shutdown', TEXT_PARAMETER, 'Yes') ;
Waitting for Help!Hi,
I think the problem might be with oracle_shutdown being in small case letters or you are using a version of forms6 or 6i that this line doesn't work due to a bug via Oracle in the engine ..
Here is my line to shut down the report background engine.
Add_Parameter(pl_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'Yes');
Thanks
Mary Santry -
Report Background Engine Memory Increasing on Reports 6i
Hi... we recently upgraded our ERP system from Developer 2000 to 6i. Some of our functions require many reports to print at once (labels, invoices, pick tickets, etc).. What we've noticed is that when we do this, the report background engine increases in memory significantly and does not release the memory when finished.... and can cripple the work station.
We know we can issue the Oracle_shutdown parameter to close the RBE after each report, but are there any other options as we feel this may slow down our printing?
Thanks,
ScottIf you use "dynamic" ref cursor, your package specification must have "dynamic" ref cursor type for (dynamic) query
(from 9i we can use predefined SYS_REFCURSOR built-in data type) and "static" ref cursor type for Report Layout.
SELECT statement in "dynamic" ref cursor must have the same number and type of columns as "static" ref cursor type.
And, of course, your package must be stored (=database) package, because PL/SQL engine in Reports 6i is v.8.0
but "dynamic" ref cursor is a new feature of PL/SQL v.8.1.
See
re:re:re:Can we create report based on stored procedure
Regards,
Zlatko -
Report Background Engine Crashes
I have a problem with Report Background Engine. When I try running a report through forms, the Report Background Engine and the Forms Runtime hangs. And If I End Task the Forms Runtime, the forms runtime closes and the background engine shows the report properly. Now I am not able to run reports properly from the Forms.
In my coding I use RUN_PRODUCT for calling the report from the forms. The O/s is Windows 98.
Please provide me with a solution asap.Please apply latest 6i patchset and try. (Yours is very old. Latest is 6.0.8.0.24. So many bug fixes have gone in since your patchset)
-
Reports Background Engine caused error and had to be closed
"Reports Background Engine caused error and had to be closed"
we are encountering this error when trying to run any report on some machines.with windows 2000.
we tried to login (on the machines having problems) using another windows user,
sometimes it works and sometimes not.
we also tried to reinstall the reports runtime and it never worked.
we have developer 6i, Oracle database 10g express edition.
Does anyone have a solution to this random problem ?
Thanksdear all
you can pass parameter from form to report to close report server after close report
add_parameter(pl_id, 'oracle_shutdown',text_parameter, 'Yes');
then it will be ok
good luck
Message was edited by:
nim
Message was edited by:
nim -
Get rig of Reports Background Engine at the bottom of screen
The Reports Background Engine is automatically placed at the bottom when a report is called from Form Builder. It remains there even if closing the report or exiting out of the application. Is there a way to close it automatically on exiting the application?
Any solutions?
Thanks.
nullHi,
The answer is to use HOST calls:
host('runrep user/password ...');
See the details for the runrep command.
This should do. -
Reports Background Engine in taskbar?
How do I start the Reports background engine in the taskbar. Currently i have a .bat program launching it. The user has to minimize it and close it when done. I would like to put it in the taskbar. Any help is appreciated.
Use the D2KWUTIL.PLL, attach this library to the form, if you are calling the report form the Form and then use the following in the PRE-FORM trigger
win_api_shell.winexec('d:\orant\bin\r30rbe32',WIN_API.SW_SHOWMINNOACTIVE) ;
You can also check whether this is running or not using WIN_API_SESSION.Find3rdPartyApp function from the d2kwutil package -
How avoid multi reports background engine (D2K6I + patch7 C/S)
after Developer tools migrate from D2K60 to D2k6i (with patch7), if call multi reports with ASYNCHRONOUS comm mode from forms, these will have multi reports background engine will startup, so need more session will connect to database, this is my need.
So I need have method to avoid startup multi reports background engine.
Not suggest me with SYNCHRONOUS comm mode or automatic close report background engine. the above two methods are difficulty to carry through for me.
Thanks & test regards!Before developer tools migration, When run a set of reports with ASYNCHRONOUS comm mode, only one reports background engine startup, and all report as queue requests in the reports background engine, this is my need. I don't want any change because developer tools migration
Please give me your idea, Thanks again. -
hi
i am using reports6i. every time i run a report, the report background engine appears in my task bar. By closing the report, it still persists in the task bar, and i have to close it manually.
Is there any way that by closing the report, the report background engine shuts down automatically.
tofa Mustafa Ghulam
Lahore, Pakistan.You can try to add this parameter to the call of report
"oracle_shutdown=yes"
Sorry, but i am not sure of the name of the parameter and i cannot find the reference anywhere. If i find it i will post an update.
Maybe you are looking for
-
I can see my thumbnails for my events in iphoto, but when I click to open the folder, no photos show up. However, when I hover over the thumbnail, it shows the flicker of images that should be inside the folder, as well as # of images in each folder.
-
Where can i set the location of the LogonTicket cookies in the visual admin
hello: where can i set the location of the LogonTicket cookies in the visual administrator? thanks!!
-
Gaussian Blur = 0 still blurry
Could someone please help me with a search? I'm trying to animate a blur, but at the first keyframe (blur amount=0), it's still noticeably blurry...which will result in a jump during the playback. I disable the blur and it's normal. I've tried search
-
Hi Folks, Can we have a setting for the Oracle Server that for a particular user, if a query is taking beyond a particular time (say 2 mins), it should be timed out. Regards, Gaurav
-
Hi all, Is there any Function Module which can be used to call a search help and read the values returned by this search help? Thanks, Sukru