How To Create A Custom Forms or Reports Batch Windows Script in 11g (Doc ID 1222297.1)

Last updated on AUGUST 02, 2016

Applies to:

Oracle Reports Developer - Version 11.1.1.1.0 and later
Generic Windows

Goal

The goal of this note is to be able to create on Windows a batch custom script to call several reports or even several Forms Migration Assistants.

The following is a Reports example:
If you create a Windows batch script calling rwrun.bat command to run several reports it will only execute the first one and will terminate the custom batch script leaving the other rwrun.bat report requests not executed.
This is expected behavior on windows as control from child batch script is not returned to the parent script. This is seen in 11G version of Report because here rwrun.bat is the basic script executed out of INSTANCE_HOME to call reports.bat and rwrun.exe
On Unix there is no problem creating a shell script to call rwrun.sh several times. It will execute all the rwrun.sh calls in the shell script.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms