Ewout
2006-01-30 14:08:40 UTC
I have created a number of autostart job entries for a subsystem. Now,
when one of the autostart job entries crashes for some reason, I want
to restart the particular job. Of course, I could end the whole
subsystem and then restart it again, but I don't want to do that,
because one or more of the other autostart jobs might be busy.
Therefore, I want to restart only the particular job that failed. I
would like to do this in a way that closely resembles the way the job
is started when the subsystem is started. When defining the autostart
job entry, only a job description needs to be specified. Thus, I am
looking for a way to start a job referring only to a job description. I
could use the SBMJOB command, and use *JOBD whenever possible, but I
have the feeling there should be a more elegant way.
Ideally, I would like to use a command like STRAJ (Start Autostart
Jobs). Unfortunately, this command does'nt exist. Note that the command
STRPJ (Start Prestart Jobs) does exist!
Any clues?
Ewout
when one of the autostart job entries crashes for some reason, I want
to restart the particular job. Of course, I could end the whole
subsystem and then restart it again, but I don't want to do that,
because one or more of the other autostart jobs might be busy.
Therefore, I want to restart only the particular job that failed. I
would like to do this in a way that closely resembles the way the job
is started when the subsystem is started. When defining the autostart
job entry, only a job description needs to be specified. Thus, I am
looking for a way to start a job referring only to a job description. I
could use the SBMJOB command, and use *JOBD whenever possible, but I
have the feeling there should be a more elegant way.
Ideally, I would like to use a command like STRAJ (Start Autostart
Jobs). Unfortunately, this command does'nt exist. Note that the command
STRPJ (Start Prestart Jobs) does exist!
Any clues?
Ewout