pbs_delresv(3B)
β¨ NAME β¨
Okay bestie, this is pbs_delresv(3B) from PBS Professional β the page all about deleting a reservation. π
pbs_delresv β delete a reservation. Thatβs it, thatβs the tweet. β¨
πΈ SYNOPSIS πΈ
#include <pbs_error.h>
#include <pbs_ifl.h>
int pbs_delresv(int connect, char *reservationID, char *extend)
π DESCRIPTION π
It fires off a batch request to delete a reservation, no cap.
Under the hood, this function builds a Delete Reservation (72) batch request and sends it to the server over the connection you pass in connect. Slay.
π¨ Real talk: if the reservation is in state RESV_RUNNING, and there are jobs in the reservation queue, those jobs are deleted before the reservation is deleted. Like, theyβre gone first. Periodt.
π ARGUMENTS π
connectβ the return value ofpbs_connect(). It specifies the connection over which the batch request gets sent to the server. Lowkey itβs the βwhere am I sending thisβ vibe. π«ΆreservationIDβ the reservation to be deleted. The formats are exact, bestie:- Format for advance reservation:
R<sequence number>.<server name> - Format for standing reservation:
S<sequence number>.<server name> - Format for maintenance reservation:
M<sequence number>.<server name>
- Format for advance reservation:
extendβ a character string for extensions to the command. Not currently used. Yes, itβs giving βwhy am I hereβ energy, but itβs in the signature. π
π₯ RETURN VALUE π₯
The routine returns 0 (zero) on success. Iconic.
On error, the routine returns a non-zero exit value, and the error number is available in the global integer pbs_errno. So check that, fr fr.
π SEE ALSO π
pbs_rdel(1B)pbs_connect(3B)
Signed with love from Local, 15 November 2019, on pbs_delresv(3B) ππ«Άβ¨
π¦ where this page comes from
- nixos 26.05: openpbs 23.06.06-unstable-2026-04-02
- nixpkgs unstable: openpbs 23.06.06-unstable-2026-04-02
- Copyright (C) 1994-2021 Altair Engineering, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms