RPE ships with an example application built on the java API. The source code for the application is found in %RPE_HOME%\lib\api\examples\com.ibm.rational.rpe.examples.zip
To build the application you need to follow the procedure described here: Building the sample application We use Eclipse as the development environment but you can use any Java IDE you want as long as it uses a Java 6 SDK. See Preparing the your environment to use the API
Once your application is built and you export it as a jar you can use it as described in the Command line switches for the example
More information on the API, such as most common use cases is available in the Using the Java API section of the RPE Infocenter.
A build of the example and a Windows script to launch it have been made available on the new RPE Wiki To use them you need to do the following:
- copy the SampleDocgen.jar in %RPE_HOME%\lib
- invoke SampleDocgen.bat with the full path of the DSX you want to run. If the path contains whitespaces you need to enclose it in “
Example: SampleDocgen.bat “d:\rpe\test API\sample.dsx”

hello Dragos- I tried to access some of the URLs on this page and they dont work
Hey Werner,
which links do not open for you, I just tried and all the links in this page and they open OK. If it’s the link with the zip file maybe your firewall and/or antivirus prevent you from accessing the zip file.
For another detailed discussion on using the Java API see this too: https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014927789&ps=25
Regards,
Dragos