The FRQJOB command is useful to answer the question, "How does this job get into the system today?" It presents a reverse job flow (reverse trigger flow) based on information in the database. It also checks the status queues (request, ready, and active) for the presence of each job in the structure as it is being built.
The purpose is to identify how the target job is brought into the active scheduling system taking into account jobs that are already in the queues. It tracks backward through triggers from the target job to one or more header jobs. A header job is one that is already in the request, ready, or active queue or one that has one or more defined date/time schedules, or one that has no job/data set/network triggers defined.
The difference between the FRQJOB command and FRJOB is that a check is made in the status queues for each job present in the structure. If it is found in one of the queues, that job is considered a header job even though it may have been triggered by something else. This identifies the shortest possible control path that results in execution of the target job.
This command has the following format:
►►─ FRQJOB ─ ,JOB= ─┬─ jobname ─────────────────┬─────────────────────────────► └─ (jobname1,...jobname10) ─┘ ►─┬──────────────────────┬─┬────────────────────────────────┬────────────────► └─ ,DRMODE= ─┬─ YES ─┬─┘ └─ ,DRCLASS=(class1,...,class8) ─┘ └─ NO ──┘ ►─┬───────────────────────┬─┬──────────────────────┬─────────────────────────► └─ ,JOBNET= ─┬─ * ◄ ──┬─┘ └─ ,LIST= ─┬─ ALL ◄ ─┬─┘ ├─ name ─┤ ├─ HDRS ──┤ └─ mask ─┘ └─ LAST ──┘ ►─┬─────────────────────┬─┬─────────────────────┬────────────────────────────► └─ ,LVL= ─┬─ 100 ◄ ─┬─┘ └─ ,SCHID= ─┬─ 0 ◄ ─┬─┘ └─ nnn ───┘ └─ nnn ─┘ ►─┬──────────────────────┬─┬─────────────────────────┬───────────────────────►◄ └─ ,SYS= ─┬─ * ◄ ────┬─┘ └─ ,TYPE= ─┬─ ACTUAL ◄ ─┬─┘ ├─ system ─┤ └─ ALL ──────┘ └─ mask ───┘
Defines the specific jobs from which the reverse flows is started. The value can be one specific job name, or a substring of 1 to 10 specific job names.
(Optional) Defines the schedule ID of the starting jobs (JOB=) used to start the reverse flow. It can be a value from 0 to 255. The default is 0, which means the next level contains elements that can cause ANY schedule ID of the starting job to be triggered/scheduled.
(Optional) Specifies the option of listing the entire structure or just the first and last jobs.
Specifies to list the entire structure. ALL is the default.
Specifies to list that only those elements identified as 'headers' and the starting job.
Specifies to list only the first and last elements.
Copyright © 2013 CA Technologies.
All rights reserved.
|
|