wiki:TorqueUsage/Functions/Pbs_msgjob

Version 1 (modified by bas, 18 years ago) (diff)

added pbs_msgjob

PBS_MSGJOB

Issue a batch request to write a message in an output file of a batch job.

result = pbs.pbs_msgjob(c, job_id, file, message, extend)

In

c::

Connection id

job_id::

Identifies the job to which the message is to be sent; it is specified in the form: sequence_number.server

file::

Indicates the file or files to which the message is to be written. The following values are possible:

  1. pbs.MSG_ERR: directs the message to the standard error stream of the job.
  2. pbs.MSG_OUT: directs the message to the standard output stream of the job.

message::

Is the message string to be written.

extend::

Is reserved for implementation defined extensions

Out

result:

If non-zero an error has occured