A simplified method would be to submit these jobs to a single threaded job queue. This doesn't prevent all locking but it does reduce the number of occurrances.
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
Running Concurrent jobs
Collapse
X
-
Running Concurrent jobs
Hi! Is there any type of job management code, api, etc.. to keep a job from running because the same job was submitted by a user earlier. We are having locking problems and keep getting the infamous C,D,I,R message that there is an allocation problem. Thank you most gratefully for your time and effort. Steve
-
Running Concurrent jobs
A typical way to handle this is to create a control object. Such as a Data area. Have the prgram use ALCOBJ to acquire an exclusive lock on the data area. Use MONMSG to detect if data area is already locked - meaning that another version of the program is already running. Good luck, Kevin
Comment
Comment