Operating System - OpenVMS
1748011 Members
3876 Online
108757 Solutions
New Discussion юеВ

Re: DCL Synchronize command

 
SOLVED
Go to solution
├Еge R├╕nning
Trusted Contributor

Re: DCL Synchronize command

Could it be that you've got SYNCHRONIZE problems because qmgr reused an entry number between the time the original job was submitted and the batch stream went to synchronize with it?

One possible workaround is to subm/retain=until="TOMORROW"
to make sure you sync against correct entry.

You might want to delete the entry at the end of your procedure to clean up the queue.
VMS Forever
Ian Miller.
Honored Contributor

Re: DCL Synchronize command

re your side note about seeing how commands are defined - see Joe Meadows VERB utility from e.g http://vms.process.com/scripts/fileserv/fileserv.com?VERB
____________________
Purely Personal Opinion
Mike O'Malley
New Member

Re: DCL Synchronize command

Regarding your batch queue definition:

Batch queue UPENN2_SYSBATCH, idle, on UPENN2::
/BASE_PRIORITY=10 /JOB_LIMIT=20 /OWNER=[1,4] /PROTECTION=(S:M,O:D,G:R,W:SD)
/RETAIN=ERROR


Adding W:SD allows anyone on the system to submit (S) to the queue and delete (D) any job in the queue. The delete access you need is already available with O:D (owner of job may delete it).
Antoniov.
Honored Contributor

Re: DCL Synchronize command

Hi,
I have same problem. Some year ago I've used SYNCHRO command but DCL procedure sometimes fails; now I don't remember the reason but now I use a DCL procedure to synchonize work.
You can see the example DCL procedure that you can change.
If you are interesting I can search in my old documentation to discover exactly reason of this problem.

Bye
Antoniov
Antonio Maria Vigliotti
Antoniov.
Honored Contributor

Re: DCL Synchronize command

OOPS
file .com means binary in windows; you cannot see attachment.
Now I changed name to SYNCHRO.TXT.
Antonio Maria Vigliotti
Jesse Chambless
Advisor

Re: DCL Synchronize command

To all who responded.

Many thanks! I have made several modifications to the command procedure but the following seems to have fixed/worked around the problem.

I added a 30 second delay before the synchronize command to give the job controller time to get everything set up and open. I also am using the entry number vice the name in the procedures.

Again, many thanks to all who responded.
Antoniov.
Honored Contributor

Re: DCL Synchronize command

Hi Jessie
Sumbit som point to Pauli has helped giving a good idea.

Bye
Antoniov
Antonio Maria Vigliotti