pbs_msgjob(3B)
β¨ NAME β¨
Okay so this is the PBS manual page for pbs_msgjob(3B) π«Ά and it's literally all about recording a message for a running pbs batch job.
pbs_msgjobβ record a message for a running pbs batch job
π SYNOPSIS π
#include <pbs_error.h>
#include <pbs_ifl.h>
int pbs_msgjob(int connect, char *job_id, int file, char *message,
char *extend)
π DESCRIPTION π
Bestie, what this does is send off a batch request that writes a message into an output file of a batch job. It builds a Message Job batch request and ships it to the server over the connection you pass as connect β and that connect is the return value of pbs_connect() β¨.
The job_id argument tells the server which job the message is for; it goes in the form sequence_number.server π.
The file parameter says which file or files the message string should be written to. These values are defined in pbs_ifl.h:
#define MSG_ERR 2
#define MSG_OUT 1
MSG_ERR(#define MSG_ERR 2) β sends the message to the standard error stream of the job.MSG_OUT(#define MSG_OUT 1) β sends the message to the standard output stream of the job.
The message parameter is the actual message string that gets written βοΈ.
The extend parameter is reserved for implementation defined extensions β so hands off that one for now, okay? π
π¦ SEE ALSO π¦
Go peek at qmsg(1B) and pbs_connect(3B) β¨
π DIAGNOSTICS π
When the batch request generated by the pbs_msgjob() function has been completed successfully by a batch server, the routine returns 0 (zero) π. Otherwise, a non zero error is returned. That error number is also set in pbs_errno β so check it, bestie.
Sign-off from the Local corner: source/version is Local, page is pbs_msgjob(3B), and the footer doesn't list a date, so no made-up date here π
π
π¦ where this page comes from
- epel 9: torque-devel 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
- nixos 26.05: torque 6.1.3h2
- nixpkgs unstable: torque 6.1.3h2
- Copyright (c) 1999-2000 Veridian Information Solutions, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms