Real Time Information Director User Documentation
RTID Extensibility 
Hewlett-Packard Company  29 
529618 - 001 
[-i inputFileDirectory]  Specifies the name of a directory containing input XML 
files. 
[-c class name]  Loads the specified class, which is not in the DOCCLASS 
table. 
[filename(s)] Specifies one or more input XML files. 
If you like, you can also specify either of the following argument on the command line: 
-d directoryName    Sets the input directory, and processes the files in it 
-z zipFilename    Processes all files in the specified zip file 
In addition to the command line parameters and the database properties, the Delsert 
program reads the CheckDocumentSequence parameter from the properties file.  
If the value of that property is true, then the Delsert program throws the exception 
DocumentOutOfSequence if an inbound document is out of sequence. For example, 
if an inbound document is ostensibly a new version of an IDoc existing in the data store, 
but the supposed new version has an earlier SOURCE_DT than the stored IDoc, you will 
get a DocumentOutOfSequence exception. To disable out-of-sequence checking, 
set the value of the property to false. 
The Delsert program throws the InvalidInputException if an input document 
does not have all the XML elements that map to the top table’s primary keys. For 
example, if you try to insert an ORDERS05 IDoc that does not have the field BELNR in 
element E1EDK01, then this exception results. 
Example 
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 Delsert an ORDER05 IDoc. 
cd rtid 
java -Dzli.propertyFile=rtsc.properties Delsert -i c:\rtid\ 
rtsc\inputs\ orders05_fusionam_1.xml 
This command should insert the XML IDoc in the database. You can verify by 
querying the database. 
5.  If you did not deploy the new metadata class to the NonStop SQL database, you 
can run the following command to Delsert a new ORDERS05EXT IDoc: 
java -Dzli.propertyFile=rtsc.properties Delsert 
 –c com.hp.rtsc.documents.ORDERS05EXT orders05_ext.xml 
Deleted: 










