Nesting a Submit command in another Submit command
G J
cassinih at hotmail.com
Fri Jan 3 14:42:26 CST 2014
Hi all,
I am trying to loop a submit command in another submit command so every "tomorrow" it automatically
re-runs itself . But the problem is that if I execute the @ command the submit statement will hold in the
BATCH QUEUE but if instead of executing the @ command I use a SUBMIT command it kills off the job.
OpenVMS V8.3
sample code:
$!_______________________________________________________________________
$!PROGRAM : PURGE_SERVER.COM 07-NOV-2013 GJ
$!DESCRIPTION: PURGES THE VARIOUS DIRECTORIES DATA WAS TRANSFERRED TO.
$!_______________________________________________________________________
$!
$SUBMIT/AFTER=TOMORROW PURGE_SERVER
$PURGE/LOG/KEEP=2 DKX500:[000000...]*.*
EXIT
$@PURGE_SERVER works
Batch queue SYS$BATCH, idle, on TRSS3::
Entry Jobname Username Status
----- ------- -------- ------
329 PURGE_SERVER SYSTEM Holding until 4-JAN-2014 00:00:00.00
HOWEVER
$Submit PURGE_SERVER.com DOES NOT WORK
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sowder.com/pipermail/powerh-l/attachments/20140103/c648126c/attachment.htm>
More information about the powerh-l
mailing list