0% found this document useful (0 votes)
19 views35 pages

OPC Documentation

The OPC/ESA tool automates and controls batch processing operations, enhancing resource utilization and reducing operator tasks. It features long-term and current planning functions, automatic job submission, and job tracking to optimize workflow. Additionally, it supports Event Trigger Tracking (ETT) for managing unplannable jobs based on triggering events.

Uploaded by

SaKetGupTa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views35 pages

OPC Documentation

The OPC/ESA tool automates and controls batch processing operations, enhancing resource utilization and reducing operator tasks. It features long-term and current planning functions, automatic job submission, and job tracking to optimize workflow. Additionally, it supports Event Trigger Tracking (ETT) for managing unplannable jobs based on triggering events.

Uploaded by

SaKetGupTa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 35

OPC (Operations Planning & Control) Tool:

OPC/ESA
 OPC/ESA is a key step towards unattended operations.
 OPC/ESA expands the scope for automation of data processing operations. It
automates, monitors, and controls the flow of batch work. It plans and automatically
schedules the batch work load on a daily and long-term basis.
 Increased automation improves utilization of resources and gives more control over
assets and better management of batch processing.
 The job tracking function automates batch processing by controlling the execution of
jobs in accordance with priorities, required resources, available resources and
dependencies. This promotes optimum use of resources, improves systems
availability, and reduces the number of complex and repetitive operator tasks.
 OPC/ESA long-term planning function enables you to maximize utilization of system
resources. You can produce long-range plans that accurately display the future
workload and its impact on the data processing environment.
 OPC/ESA gives detailed real-time information about the processing of the workload.

Type ‘O’ in the command line to select OPC/ESA

OPC Panel
Long-Term Plan :

The long-term plan is a high-level schedule of processing activities for the forthcoming
weeks and months.

The long-term planning function plans production runs of applications and enables to
examine and analyze the expected future work load.

Current Plan :

The current plan is an online working copy of the daily plan. It contains essential
information about individual operations, current status information that is updated online.
This status is used by job tracking to submit the operations for processing.

Automatic Job Submission:

The job tracking function automates batch processing by controlling the submission of
jobs in accordance with the:

 Dependencies among operations and applications


 Job priorities
 Specified time for execution of certain jobs
 Availability of resources required for execution.

It promotes the optimum use of resources, improves systems availability, and reduces the
number of complex and repetitive operator tasks.
Schedule an application

Select the Modify current plan by giving the option ‘5’

Select the Add new occurrence by giving the option ‘1’


Give the application which has to be scheduled and press enter

Give the input arrival date and time (i.e. date and time at which the job should start) and
also the deadline date and time. Then give the line command ‘op’ or ‘oper’
If we want the job should be submitted automatically when the input arrival date n time is
reached, give the Opt S as ‘Y’ otherwise give ‘N’ and if we want the job to start only when
the input arrival date and time is reached give Opt T as ‘Y’, if T is set ‘N’ then job will stat to
run immediately after coming out of the MCP
 Operation ws : Specify the name of a workstation, 1-4 alphanumeric
characters, the first alphabetic or national.

 Operation no. : Specify the operation number. Valid values are 1-255.

 Operation text: Specify a description of the operation, up to 24 characters.

 Jobname : Specify the name of the job, 1-8 alphanumeric characters, the
first alphabetic or national.

 PS : Specify the number of parallel servers

 Duration: Specify the approximate time needed to complete the operation at the
workstation, in the HH.MM format.

 Opt S: Specify if the operation should be submitted automatically.


Y = Yes. Submit the operation.
N = No. Do NOT submit the operation.

 Opt T: Specify if the job is time dependent or if it is submitted as soon as possible.


Y = Yes. Do not start the job before the input arrival time is
reached.
N = NO. Start the job as soon as predecessors are
 Ext S/P: Shows if the operation has external dependencies, successors S and
predecessors P.

 Res S: Shows if special resources are required:


Y = Yes. Special resources are required.
N = No. Special resources are NOT required.

 Res R1: Specify the required number of workstation


R2: Resource 1 and 2. Valid values are 0-99.

 Status New: Specify a new status code for the operation.


Optional.
C - Complete.
I - Interrupted.
R - Ready for processing.
S - Started.

 Status Cu: Shows the current status of the operation:


A - Ready, no predecessors were defined.
C - Complete.
D- Deleted.
E - Operation ended in error.
I - Interrupted operation.
R - Ready for processing, predecessors complete.
S - Started.
U - Undecided. The status is not known.
W - Waiting for a predecessor to complete.
* - Ready, at least one predecessor was
defined at a non-reporting workstation.

Find out how many jobs are there in the application :


Type ‘1’ in the command line to select the Data Base

Type ‘4’ in command line to select Application Description


Type ‘1’ to List the applications

Enter the name of the application to be listed


Select the application by typing the row command ‘S’

 T: Shows the type of application:


A = Application.
G = Group definition.

 S: Shows the application status:


A = Active. The application can be selected for processing.
P = Pending. The application CANNOT be selected for processing.

To see the Jobs in the application type ‘op’ or ‘oper’ in the command line
------------------------------------------------------------------------------------------------------
Check operator instructions for a Job

Type ‘1’ in the command line to select the Data Base


Select the application description by giving the command ‘4’

Give the application name


Select the application by giving the row command ‘S’

Give the command ‘op’ or ‘oper’


Select the job to by giving the row command ‘s’

Select the operator instruction by giving the option ‘7’


Type ‘1’ to List the applications

Enter the name of the application to be listed

Select the application by typing the row command ‘S’


 T: Shows the type of application:
A = Application.
G = Group definition.

 S: Shows the application status:


A = Active. The application can be selected for processing.
P = Pending. The application CANNOT be selected for processing.

To see the Jobs in the application type ‘op’ or ‘oper’ in the command line
View whether an application is running or not

Select MCP by giving the option 5


Give the application name or job name

Check whether the Status field ‘S’ if its ‘c’ job completed, if ‘s’ job submitted, if ‘w’ job is
waiting and if ‘E’ ended in error. Give row command ‘B’ to see the jobs in that nest
Status of each job can be checked. To see more details of the job select the job by giving the
row command ‘S’

More information can be viewed by selecting appropriate options


-------------------------------------------------------------------------------------------------------
View JCL

JCL can be Viewed or edited only in the Current Plan. Select List by giving the
Option ‘2’

Give the application name or job name and then press Enter
Give the row command ‘m’ to open the application in the modify mode or ‘b’ to browse

Give the line command ‘op’ or ‘oper


Give the row command ‘J’ to view the JCL of that particular job

If it is opened in browse mode we can see the JCL or if in modify mode we can make
Changes to JCL
Restart a job :
Force complete a job :
Give ‘e’ in the status field to list application which ended in error

Give the row command ‘m’ to open the application in modify mode
 Row cmd: Specify one of the following commands:
B - Browse the occurrence.
C - Complete the occurrence.
CG - Complete the occurrence group. All occurrences belonging to
this group will be completed.
D - Delete the occurrence.
DG - Delete the occurrence group. All occurrences belonging to this
group will be deleted.
M - Modify the occurrence.
R - Rerun the occurrence.
RG - Remove from the occurrence group. The group definition id.
will be erased.
W - Set the occurrence to waiting.
 S: Shows the occurrence status:
C = Complete. All operations are complete.
E = Ended-in-error. One or more failed operations.
S = Started. One or more started operations.
U = Undecided. The status is not known.
W = Waiting. No operation has started.

 P: Shows the priority, where 1 = low, 2-7 = medium, 8 = high, and 9 = urgent

 G: Shows whether occurrence is a member of a group.


Y = Occurrence is a member of an
occurrence group.
N = Occurrence is not a member of
an occurrence group.
 Add func: Shows which function added the occurrence:
Blank - Daily planning batch program
A - Automatic recovery (AR)
D - Dialog (MCP dialog)
E - Event-triggered tracking (ETT)
P - Program interface (PIF)

Give the line command ‘op’

Give the Status New as ‘r’ to restart the job or ‘c’ to force complete the job
------------------------------------------------------------------------------------------------------- Create ETT
application:

Event Trigger Tracking (ETT)


 For a job to be tracked, usually it is define as an operation in an application in the
OPC/ESA databases and it must be scheduled, included in the current plan.

Using ETT, it is possible to track 'unplannable' jobs, jobs whose runtimes cannot be
determined in advance, and which, therefore, cannot be planned and then scheduled. ETT
dynamically adds these jobs to the current plan at the time of a triggering event.

 The triggering event occurs,


– when a non-OPC/ESA job matches an ETT specification or
– when the availability status of a special resource is changed to 'yes' by a user
action.

Type ‘1’ in the command line to select the Data Base

Type ‘4’ in command line to select Application Description


Give ‘2’ in the command line to select the Modify option

Type a new Trigger name which is to be created and then press Enter
Give the Row command ‘I’ to insert a new row and give the Trigger name, ID of the
application to which that trigger should be associated and Event types etc (This screenshot
is for browsing ETT that’s why there is no option for row command)
 E T: Shows the type of Trigger event which adds the associated
application to Current plan

J - A job reader event is the triggering event.

R - A special resource availability event is the triggering event.

 J R: Shows job-name replace, which is only valid with event type J.


Indicates if the job name of the first operation in the associated
application should be replaced.

Y - The name of the first operation is replaced by the job name of the
triggering job.

N - The application is added unchanged.

 D R: Shows the dependency resolution, which indicates if external dependencies


should be resolved automatically when occurrences are added to the Current Plan.
Y - External dependencies will be resolved.
N - External dependencies will NOT be resolved.
P - Only external predecessors will be resolved.

 A S: Availability status switch indicator. Only valid if the event type is R .


Indicates if ETT should add an occurrence only if there is a true availability status
switch for a special resource from status available=no to available=yes, or if ETT should add
an occurrence each time the availability status is set to available=yes (regardless of the
previous status of the special resource). For event type J this field must have the value N or
blank. Y means that ETT adds an occurrence only when there is a true availability status
switch from status available=no to available=yes. N means that ETT adds an occurrence
each time the availability status is set to available=yes.

You might also like