|
"QSCANFSCTL" <QSCANFSCTL@xxxxxxxxxxx> wrote:
Qp0wGetJobID(getpid(), &job_id); // Retrieve our job namefprintf(out,"Job = %.10s %.10s %.6s\n", job_id.jobname, job_id.username, job_id.jobnumber);
I like that idea even better! Thanks!And I just looked it up in the manual. As I understand it, if I pass a zero for the first parameter, I get the current job anyway, without needing the getpid().
My lunch is getting cold. -- JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.