View previous topic :: View next topic
|
Author |
Message |
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hi,
I am planning on using seven $TA,T=hh.mm,'$AJ(jobname)' commands to release held jobs daily for a 1 week.
Would that cause any harm or any considerations I need to take before doing that?
Also could you please let me know how to cancel a $TA command once issued.
Regards, |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 581 Location: London
|
|
|
|
Do you have the necessary access to set the automatic command?
In terms of dangers or considerations, how on earth would we know when we have no idea what the jobs you're releasing will do or not?
According to the JES2 manuel this is how to cancel the automatic command.
>>-$C A--+-,ALL-+----------------------------------------------><
'-cccc-'
Parameters
ALL
JES2 cancels the processing of all automatic command entries you are authorized to cancel and deletes those entries.
Note: Put a comma before this parameter.
cccc
The 1 to 4 character identifier of an automatic command entry. JES2 cancels the processing of the specified command entry and then deletes the entry.
Note: Do not put a comma before this parameter. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Hi Pete, Thank you for your reply.
Quote: |
Do you have the necessary access to set the automatic command? |
Yes
Quote: |
In terms of dangers or considerations, how on earth would we know when we have no idea what the jobs you're releasing will do or not? |
The job being released poses no threat as it is a reporting job which I have been running for about an year and does not do anything complicated.
By considerations I meant, are there any limits to the number of JES commands that could be $ T A 'ed and waiting to run later. Would that impact JES or something similar to keep in mind when doing this.
Regards, |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
I can't remember seeing a limit for the number of automatic commands. Nowadays most people will use some sort of system automation instead anyway.
Depending on the amount of commands and output generated you may run into various kind of buffer shortages, and of course you don't want to issue the commands every 10 seconds.
Another option is to send the output of those jobs to a special destination and then issue one command purging from that destination with a certain age. Check JES2 Commands manual section '$P O Job' for details.
As always, it depends. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Willy, Thank you for insights, I plan on submitting 1 single job daily. Or the most 2 per day.
Regards, |
|
Back to top |
|
|
|