×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
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.
On Thu, 2021-02-25 at 15:41 -0600, Javier Sanchez wrote:
Folks:
From an RPG program, I use the SBMJOB command to start up some client
job
that is to connect to a server. In this command, the JOB keyword
allows to
specify the job name, and you may programatically construct that name
to
what you need it to be. I have a server side RPG program, that uses
the
spawn() API to launch child processes or jobs. But the spawn API
names my
server-side jobs with the same name as the program that it spawns.
In this case, is there a way to specify or construct the job name
with
which it will run to spawn()?
Thanks!
[
https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com
CONFIDENTIALITY NOTICE
This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.
As an Amazon Associate we earn from qualifying purchases.