Real Time Information Director User Documentation
RTID Extensibility
Hewlett-Packard Company 31
529618 - 001
Before running this program, you must have a directory for the input files and a separate
directory for the output files. Let’s assume you have the following directories and files:
c:\rtid\rtsc\inputs\orders05_fusionam_1.xml
c:\rtid\rtsc\outputs
1.
Open a DOS window
2.
Change directory to c:\rtid
3.
Run setenv.bat to set the environment.
4.
Run the following command to Reselect an ORDER05 IDoc from the database:
cd rtsc
java -Dzli.propertyFile=rtsc.properties Reselect –i c:\rtid\
rtsc\inputs –o c:\rtid\rtsc\outputs orders05_fusionam_1.xml
The Reselect program will create the following new files:
c:\rtid\rtsc\inputs\orders05_fusionam_1Records.xml
c:\rtid\rtsc\outputs\orders05 _fusionam_1.xml
c:\rtid\rtsc\outputs\ orders05_fusionam_1Records.xml
Note that the Reselect program generates an output file with the same name as the input
file. For this reason, you should always use two different directories to store the input
and output files; otherwise Reselect will overwrite the files.
If you use Windiff or a similar tool, you can easily verify the differences between files in
the input and output directories.
Another example:
java -Dzli.propertyFile=my.properties Reselect -ta -o test/testOut -d test/testing
Creates a records document for each document in the test/testing directory, then selects
each document from the keys of the corresponding records document and stores the
selected documents in the test/testOut directory. Enables SQL tracing.
Dispatch Driver
This driver sends the specified file(s) to the RTID Dispatcher for processing and saves
the RTID response in a file. This driver requires you to specify the file or files to send.
For detailed syntax information, see the Javadoc for the Dispatch driver.
Examples:
java -Dzli.propertyFile=my.properties Dispatch -o test/testOut -d test/testIn