Running an ITP Model: ITPRun

This command runs an ITP Model.

Note

The command ITPRun replaces the command ITP that was present in ITP/Document Services. If you are using scripts made for ITP/Document Services, please replace the command ITP by ITPRun. Refer to Do not use the ITP command for more information.

You can use this command in your scripts as follows:

ITPRun
      Model("model by name")
Result("result document path, name and extension")

  /* The following section is optional. Keys and extras are
expected in a certain order from top to bottom in a model.
The order in which they are listed here must be the same.Note
that it is possible to pass an empty value; value 2 of the
Keys below is empty as is value 3 of the extras */
	
      Keys("value1;;value3;value4")
      Extras("value1;value2;;")
      DisablePostIncludes (True or False)
      Environment (name of the environment)

  /* The following section is AS/400 only and optional.
     See also AS/400 Connection parameters below. */

      PreCMD("…")
      OnSuccessCMD("…")
      OnFailureCMD("…")
      PostCMD("…")
   
;	/* Closing semicolon, required. */