Skip to main content

Control M : Commands entered against a job or task


 ? (WHY) Displays what a job is waiting on.   This shows only what a job is currently waiting on at that      
 time.   It will not show conditions that have already been met, and, certain requirements may change.
  ex – you may check a job and it is waiting on a certain job/in-condition one minute.  you check 5 minutes
         later and the in/condition may have been met, but it now is waiting on an INIT. 
    Also, within this screen, you can add an IN-CONDITION.  USE CAUTION when doing this.  It should
    only be used when you are ABSOLUTELY SURE that you want to add this condition as it will add it for
    any job on the schedule looking for it- and any other job looking for it on that day.
L  (log) Displays IOA log entries for that job. 
H (hold) Puts job in held status.  A job held will not change states until it is freed.  For example, if a job
        is executing is held, even though the job ends, Control M will not change it’s state to ENDED until
        the job is freed.   Also, a job that is held (even one ended-ok) will never leave the AJF until it is freed.
Z  (zoom) Dispays schedule definition attributes for that job.  You can also change most of the attributes
        defined here, but the job must be held first.   After making changes, type save at the top, and then you
         must free the job.   See more detail on the Zoom screen below. 
R  (rerun) Performs rerun on job, will bring up confirmation and rerun option box.
         A couple of the options you have in the rerun box are picking the steps to run from(start job from this
         step) and to (only run to this step-NEVER USE).  Also, you can tell CTR to ignore condition and
         abend codes from previous steps.  This is only to be used at discretion of programmer.
A  (activate) Activates a job that is in DISAPPEARED or FAILED –REASON UNKNOWN status. Rarely if ever used.
O  (force ok)  Sets job to ENDED OK status without submitting job.  Remember, you are telling CTM that this job has ended ok, and it will post it’s OUT-CONDITIONS. 
V  (view) View archived sysout(s) for job.  You can used this for any job that has ended (ok or not). 
N  (net) Displays network of job.  Remember your network is reliant on your SHOW setup.  If your current show screen has a prefix of one job, that one job is all you will see, or if you have ‘ended ok’ flagged as N,
you won’t any jobs that ended ok within that network of jobs.
D  (delete) Deletes entry (entry must be held)  Remember to check if a job has dependencies.  If it does, it should not be deleted without first accounting for those dependent jobs. 
F  (free) Frees held entry
S (stats) Displays run stats for entry.  Stats goes back 20 runs (not 20 days, but 20 runs, if a job runs 5x’s a day, you will see about 4 days worth of stats.)  Stats include start/end time, duration, and average run time on top. 
U (undelete) returns deleted job to it’s status prior to delete request
J  (jcl edit) brings up jcl member from the overlib library – only used on jobs that are abended and have jobs in the RERUN library.
C (confirm) confirms job (only used on jobs that are in WAIT CONFIRMATION state

Comments

Popular posts from this blog

Restarting a abended job in CA7

To restart the job, type xQ command to get into the CA7 Queue Maintenance. Tab down to the job you want to restart, type an 'F' beside it, and hit the Enter key. You will get into restart panel. Options for restarting the job: Resubmit for production: Resubmits the job with no changes.  Force complete: Indicates whether to flag the job as normally completed. If force complete is selected, the previous abnormal status of the job is ignored, and normal job completion processing is performed instead of a restart. CA-11 restart/rerun :Complete the following fields for a CA-11 restart/rerun: Pseudo(Optional) Indicates whether this job uses the CA WA Restart Option pseudo processing feature. Usage(Optional) Indicates an optional CA WA Restart Option usage code, the character to use in the restart/rerun. For values, see the CA WA Restart Option documentation. This option is honored only when CA WA Restart Option is in use and CA Workload Automation CA 7 Ed

Control M: Zoom Screen

This section breaks down the various fields you see within a job using the Zoom command.    Many of the fields within the zoom     screen can be altered.   There a few (they will show a different color) that cannot.   To make any changes, a job must be in a HELD     state before zooming, then when in the zoom screen make the changes and type SAVE at the command line.   Remember to FREE     the job when you are satisfied with your change.   Type CANCEL instead of SAVE if you don’t want your changes to be saved. MEMNAME – schedule member name, should be same as jobname. MEMLIB – denotes where CTM will scan for jcl, standard is GENERAL, which will default to the                     predefined concatenation.   An entry of DUMMY indicates a dummy job, or one that will not execute jcl.   These                    are used as schedule placeholders.   OWNER – owner id of job. TASKTYPE – JOB – batch job, STC – started task, GRP – group entry, CYC – cyclical job o