|
message: 2
date: Thu, 25 Feb 2021 21:57:34 +0000
from: Kevin Bucknum <Kevin@xxxxxxxxxxxxxxxxxxx>
subject: Re: Setting the JOB NAME with the SPAWN API
Reading the API, I would say no. Two flags control the name:
SPAWN_SETJOBNAMEPARENT_NP - If this is on, then the IBM simple job name
is the name of the parent process.
SPAWN_SETJOBNAMEARGV_NP - If the above is off, and this is off, then
the simple name is going to be based on the path parameter, which is
the name of the executable that is running. If the above is off, and
this is on, then whatever is passed into ARGV[0] is used, however,
there is this blurb later on.
The first element in the array, argv[0], is automatically set to the
name of the program. Any value specified for argv[0] during the call
to spawn() will be overwritten.
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.