Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Cancelling $T A JES commands

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Tue Feb 16, 2016 10:48 pm    Post subject: Cancelling $T A JES commands
Reply with quote

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
View user's profile Send private message

Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Wed Feb 17, 2016 12:10 am    Post subject:
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Wed Feb 17, 2016 1:17 am    Post subject:
Reply with quote

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
View user's profile Send private message
Willy Jensen

New User


Joined: 01 Sep 2015
Posts: 94
Location: Switzerland

PostPosted: Wed Feb 17, 2016 9:56 pm    Post subject:
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Wed Feb 17, 2016 10:08 pm    Post subject:
Reply with quote

Willy, Thank you for insights, I plan on submitting 1 single job daily. Or the most 2 per day.

Regards,
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Invoking CA 7 commands through REXX kenshin CLIST & REXX 10 Fri Aug 12, 2016 9:33 pm
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
No new posts Issuing IMS-Commands from a program w... SWP COBOL Programming 1 Fri Jun 03, 2016 4:31 pm
This topic is locked: you cannot edit posts or make replies. How to get local time using CICS comm... DAVID JOHN CICS 10 Wed Feb 10, 2016 3:16 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us