ITPDS.Job provides methods for setting the job parameters and for job submission.
Sub ClearParameters
Use ClearParameters to clear the list of job parameters.
Sub AddParameter (
String Parm
)
Parameter (value) to add to the list of parameters.
Sub RespondExchangeData (
String value
)
Sets the response value for the ExchangeData event. This is the value returned to the script.
Sub RespondVerifySend (
String file
)
Sets the response value for the VerifySend event. This is the name of the file that will be send to the ITP/Server server.
Sub RespondVerifyReceive (
String file
)
Sets the response value for the VerifyReceive event. This is the name of the file that the data received from the client will be written to.
Function Submit (
Boolean Sync
) As Boolean
Specifies whether or not the method should wait until the job has been processed.
The Submit method returns when one of the following is true: ITP/Server has queued the request and the Sync parameter is False, or ITP/Server has finished processing the request and the Sync parameter is True.
If the function succeeds, the return value is True and otherwise False. When an error has occurred an error will be raised that can be catched or checked in the calling program.