Scheduling a Program Object to run a macro.

Hi All,
I have a deski report with macro so i created a batch file and schedule it as program object but it is showing status running for a long time ,And when i click the batch file it is opening the report and running the macro sucessfully… BO version is XI r2
Please Help Me… Thanks


mdpasha (BOB member since 2008-04-08)

Go to Home > Objects > Object Settings, select check box ‘run scripts/binaries’ and radio button ‘Schedule with the following operating system credentials’ (windows local admin user account)

.


haider :es: (BOB member since 2005-07-18)

Hi Haider,
Thanks for your prompt response.
I checked the ‘run script/binaries’ and windows local admin user and password.and then i schedule the batch file but it is showing the status Running only…[/quote]


mdpasha (BOB member since 2008-04-08)

If you just run the batch file from Infoview and not schedule does it run.
Or runs only on double click of batch file from windows.

.


haider :es: (BOB member since 2005-07-18)

Hi Haider,

I run the batch file on double clicking the batch file from windows,It took 3-4 min to run the whole report …
But when i schedule it in infoview it is showing status Running…
And Please tell me how to run the program object form infoview it is not showing any option to run but schedule…

My batch file code is like this:
@echo off
:begin
“C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\win32_x86\busobj.exe” -user “administrator” -pass “” -system “wsaj” -auth “enterprise” -once -offline -nologo -document “C:\Documents and Settings\Admin\Desktop\Pending Ageing\Document1.rep”
:end

Thanks & Regards,
pasha.


mdpasha (BOB member since 2008-04-08)

Go to Home > Objects and search the ‘batch file’ object.
Click on it, open history tab there is run now button. But I think this again will schedule it rather than running independently like a report
Also click on process tab, click on logon and set the credentials here too.
Schedule and see if it helps.

.


haider :es: (BOB member since 2005-07-18)

Hi Haider,

I Too think that will also schedule it for “Now”.and one more thing i observe is when i am giving password in logon and reset it . The password is trimming ,Please advice is it the problem?

I did run it as you said it is also running…could you tell me how much time it should take to finish as i mention on double clicking it is taking 3-4 min…

please give me if there is any other workaround.

Once again i would like to thanks you for ur cooperation…

Regards,
pasha.


mdpasha (BOB member since 2008-04-08)