Methods

ITPDS.Job provides methods for setting the job parameters and for job submission.

Clearing the list of job parameters
Method
Sub ClearParameters
Description

Use ClearParameters to clear the list of job parameters.

Adding a job parameter
Method
Sub AddParameter (
String Parm
)
Parameter
Parm

Parameter (value) to add to the list of parameters.

Response value ExchangeData event
Method
Sub RespondExchangeData (
String value
)
Parameter
value

Sets the response value for the ExchangeData event. This is the value returned to the script.

Response value VerifySend event
Method
Sub RespondVerifySend (
String file
)
Parameter
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.

Response value VerifyReceive event
Method
Sub RespondVerifyReceive (
String file
)
Parameter
value

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.

Job Submission
Method
Function Submit (
Boolean Sync
) As Boolean
Parameter
Sync

Specifies whether or not the method should wait until the job has been processed.

Return value

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.