Task3G/User Guide/Appendices
From Documentation
Revision as of 06:34, 18 April 2006 Daniels (Talk | contribs) ← Previous diff |
Revision as of 07:40, 19 April 2006 Moff (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
- | Appendix A—Installing task3G | + | = Appendix A—Installing task3G = |
- | This chapter describes how to install task3G for your environment. task3G is | + | |
- | installed through the COSMmanager configuration menu. | + | This section describes how to install task3G for your environment. Task3G is installed through the COSMmanager configuration menu. |
- | See Installing COSMmanager Applications in the COSMmanager User Guide for full | + | |
- | details. | + | See Installing COSmanager Applications in the COSmanager User Guide for full details. |
+ | |||
What you need | What you need | ||
- | • the COSMmanager framework installed on the target platform | + | #the COSmanager framework installed on the target platform |
- | • a CDrom containing the task3G software | + | #a CDrom containing the task3G software |
- | • a valid license key | + | #a valid license key |
- | • you must be a COSMmanager user with the Manager role | + | #you must be a COSmanager user with the Manager role |
- | 76 Appendix A—Installing task3G | + | |
- | Installing task3G | + | <br> |
- | 1. Load the CDrom in a CD drive on the local host or a network CD drive. | + | == Installing task3G == |
- | 2. Mount the CDrom using the appropriate mount command for your operating | + | #Load the CDrom in a CD drive on the local host or a network CD drive. |
- | system (listed on the inside of the CD jacket). | + | #Mount the CDrom using the appropriate mount command for your operating system (listed on the inside of the CD jacket). |
- | 3. From the Product configuration menu, select COSMmanager | + | #From the Product configuration menu, select COSmanager configuration > COSmanager applications. |
- | configuration > COSMmanager applications. | + | #Select Application > Install. |
- | 4. Select Application > Install. | + | #Enter the name of the host to which the CD drive is attached. In Install from, enter the file name containing the product distribution. Press Accept. |
- | 5. Enter the name of the host to which the CD drive is attached. In Install | + | #You will see the application contained in the distribution file. Choose the row titled task3G version 4.1. |
- | from, enter the file name containing the product distribution. Press | + | #Enter the name of the directory where you want task3G to be installed and press Accept. |
- | Accept. | + | |
- | 6. You will see the application contained in the distribution file. Choose the | + | COSmanager copies the task3G files from the CD distribution file to the target directory and creates the task3G audit trail. |
- | row titled task3G version 4.1. | + | |
- | 7. Enter the name of the directory where you want task3G to be installed and | + | Figure 20 — Installed COSmanager products |
- | press Accept. | + | |
- | COSMmanager copies the task3G files from the CD distribution file to the target | + | <br> |
- | directory and creates the task3G audit trail. | + | = Appendix B—Job Recovery Action Outcomes = |
- | Figure 20 — Installed COSMmanager products | + | |
- | Appendix B—Job Recovery Action Outcomes 77 | + | The following diagrams contained in this appendix illustrate the actions for each type of job recovery. |
- | Appendix B—Job Recovery Action Outcomes | + | |
- | The following diagrams contained in this appendix illustrate the actions for each | + | Figure 21 — Pre-condition and error recovery |
- | type of job recovery. | + | |
- | 78 Appendix B—Job Recovery Action Outcomes | + | In figure 21, the flow of the pre-condition and error job recoveries are illustrated. One thing to keep in mind is that depending which override status is selected (this is configured in when defining a job, see How to Define a Task on page 36.) will depend on what status the task will end in if an On-error command is defined. |
- | Figure 21 — Pre-condition and error recovery | + | |
- | In figure 21, the flow of the pre-condition and error job recoveries are illustrated. | + | Figure 22 — Kill job and timeout recovery |
- | One thing to keep in mind is that depending which override status is selected (this is | + | |
- | Appendix B—Job Recovery Action Outcomes 79 | + | |
- | configured in when defining a job, see How to Define a Task on page 36.) will depend | + | |
- | on what status the task will end in if an On-error command is defined. | + | |
- | Figure 22 — Kill job and timeout recovery | + | |
Figure 22 illustrates the kill and timeout job recovery actions. | Figure 22 illustrates the kill and timeout job recovery actions. | ||
- | 80 Appendix B—Job Recovery Action Outcomes | + | |
- | Appendix C—Tutorial 81 | + | <br> |
- | Appendix C—Tutorial | + | = Appendix C—Tutorial = |
- | The following diagram represents the relationships between the jobs and tasks that | + | |
- | will be created and run. | + | The following diagram represents the relationships between the jobs and tasks that will be created and run. |
- | 82 Appendix C—Tutorial | + | |
- | Figure 23 — Job content and task relationship representation. | + | Figure 23 — Job content and task relationship representation. |
- | Entering Configuration | + | |
+ | <br> | ||
+ | === Entering Configuration === | ||
+ | |||
To start COSMmanager either: | To start COSMmanager either: | ||
- | 1. Login as a COSMmanager 'Manager' and run 'cos' | + | #Login as a COSMmanager 'Manager' and run 'cos' |
OR | OR | ||
- | 1. Login as 'root' | + | #Login as 'root' |
- | 2. # ksh | + | ## ksh |
- | 3. # cd ~cosmos | + | ## cd ~cosmos |
- | 4. # bin/cos -u cosmos | + | ## bin/cos -u cosmos |
- | 1. Click on the Config button from the COSMmanager menubar. | + | |
- | 2. From the Product Configuration menu select task3G Configuration. | + | #Click on the Config button from the COSMmanager menubar. |
- | You will now be presented with the task3G jobs console. This | + | #From the Product Configuration menu select task3G Configuration. You will now be presented with the task3G jobs console. This is where all configuration is done. |
- | is where all configuration is done. | + | |
- | Appendix C—Tutorial 83 | + | <br> |
- | Tutorial 1: Creating a Queue | + | == Tutorial 1: Creating a Queue == |
- | 1. To configure a queue, select Tables > Queues. At this point you will be | + | |
- | presented with the Job queue details console which contains a list of all currently | + | #To configure a queue, select Tables > Queues. At this point you will be presented with the Job queue details console which contains a list of all currently defined queues. It's from here where you can Add, Change, Clone or Delete queues. |
- | defined queues. It's from here where you can Add, Change, Clone or | + | #Select Maintain > Add to create a queue. |
- | Delete queues. | + | #Enter the following for each relevant field: |
- | 2. Select Maintain > Add to create a queue. | + | |
- | 3. Enter the following for each relevant field: | + | |
Note For more information, see How to Define a Job Queue on page 54. | Note For more information, see How to Define a Job Queue on page 54. | ||
- | 4. When done, press Accept. There should now be an acknowledged that the | + | #When done, press Accept. There should now be an acknowledged that the QUEDEFS has been updated and an addition of the item D_queue was successful. The queue should now appear on the Job queue details console. |
- | QUEDEFS has been updated and an addition of the item D_queue was | + | |
- | successful. The queue should now appear on the Job queue details console. | + | |
You have successfully created a queue. | You have successfully created a queue. | ||
Field Data | Field Data | ||
Line 79: | Line 76: | ||
Rescheduled time 60 | Rescheduled time 60 | ||
Priority 2 | Priority 2 | ||
- | 84 Appendix C—Tutorial | + | |
- | Tutorial 2: Creating a Job | + | <br> |
- | At this point you will be presented with the task3G jobs console which contains a | + | == Tutorial 2: Creating a Job == |
- | list of currently defined jobs and subjobs. It's from here where you can Add, | + | |
- | Change, Clone or Delete jobs | + | At this point you will be presented with the task3G jobs console which contains a list of currently defined jobs and subjobs. It's from here where you can Add, Change, Clone or Delete jobs Repeat these steps for each of the following jobs. |
- | .Repeat these steps for each of the following jobs. | + | #Select Maintain > Add to create a job. |
- | 1. Select Maintain > Add to create a job. | + | #Enter the following for each relevant field: |
- | 2. Enter the following for each relevant field: | + | |
Field Job1 Job2 | Field Job1 Job2 | ||
Job job1 job2 | Job job1 job2 | ||
Line 108: | Line 104: | ||
Appendix C—Tutorial 85 | Appendix C—Tutorial 85 | ||
Note For more information, see How to Define a Job on page 28. | Note For more information, see How to Define a Job on page 28. | ||
- | 3. When done press Accept. | + | #When done press Accept. |
- | The jobs should now appear on the task3G jobs console. You have successfully created | + | |
- | the jobs. | + | The jobs should now appear on the task3G jobs console. You have successfully created the jobs. |
Concurrent jobs | Concurrent jobs | ||
Priority | Priority | ||
Notes | Notes | ||
Field Job1 Job2 | Field Job1 Job2 | ||
- | 86 Appendix C—Tutorial | + | |
- | Tutorial 3: Creating a Subjob | + | <br> |
- | At this point you will be presented with the task3G jobs console which contains a | + | == Tutorial 3: Creating a Subjob == |
- | list of currently defined jobs and subjobs. It's from here where you can Add, | + | |
- | Change, Clone or Delete subjobs. | + | At this point you will be presented with the task3G jobs console which contains a list of currently defined jobs and subjobs. It's from here where you can Add, Change, Clone or Delete subjobs. |
- | 1. Select Maintain > Add to create a job. | + | #Select Maintain > Add to create a job. |
- | 2. Enter the following for each relevant field: | + | #Enter the following for each relevant field: |
Field Subjob1 | Field Subjob1 | ||
Job subjob1 | Job subjob1 | ||
Line 141: | Line 137: | ||
At-end command | At-end command | ||
Clear status N/A | Clear status N/A | ||
- | Appendix C—Tutorial 87 | ||
Note For more information, see How to Define a Job on page 28. | Note For more information, see How to Define a Job on page 28. | ||
- | 3. When done press Accept. | + | #When done press Accept. |
- | The subjob should now appear on the task3G jobs console. You have successfully | + | |
- | created a subjob. | + | The subjob should now appear on the task3G jobs console. You have successfully created a subjob. |
Concurrent jobs N/A | Concurrent jobs N/A | ||
Priority N/A | Priority N/A | ||
Notes | Notes | ||
Field Subjob1 | Field Subjob1 | ||
- | 88 Appendix C—Tutorial | + | |
- | Tutorial 4: Creating a Task | + | <br> |
- | To configure a task, select Tables > Tasks. At this point you will be presented | + | == Tutorial 4: Creating a Task == |
- | with the Tasks console which contains a list of currently defined tasks. Its from here | + | |
- | where you can Add, Change, Clone or Delete tasks. | + | To configure a task, select Tables > Tasks. At this point you will be presented with the Tasks console which contains a list of currently defined tasks. Its from here where you can Add, Change, Clone or Delete tasks. |
+ | |||
Repeat these steps for each of the following jobs. | Repeat these steps for each of the following jobs. | ||
- | 1. Select Maintain > Add to create a task. | + | #Select Maintain > Add to create a task. |
- | 2. Enter the following for each relevant field: | + | #Enter the following for each relevant field: |
Field Task1 Task2 Task3 Task4 | Field Task1 Task2 Task3 Task4 | ||
Task name task1 task2 task3 task4 | Task name task1 task2 task3 task4 | ||
Line 179: | Line 175: | ||
Appendix C—Tutorial 89 | Appendix C—Tutorial 89 | ||
Note: For more information, see How to Define a Task on page 36. | Note: For more information, see How to Define a Task on page 36. | ||
- | 3. When done press Accept. | + | #When done press Accept. |
Notes | Notes | ||
Field Task5 Task6 Task7 Task8 | Field Task5 Task6 Task7 Task8 | ||
Line 203: | Line 199: | ||
Notes | Notes | ||
Field Task1 Task2 Task3 Task4 | Field Task1 Task2 Task3 Task4 | ||
- | 90 Appendix C—Tutorial | + | |
- | The tasks should now appear on the Tasks console. You have successfully created | + | The tasks should now appear on the Tasks console. You have successfully created the tasks. |
- | the tasks. | + | |
- | Appendix C—Tutorial 91 | + | <br> |
- | Tutorial 5: Adding Tasks to a Job and Creating | + | == Tutorial 5: Adding Tasks to a Job and Creating Dependencies == |
- | Dependencies | + | |
- | 1. Highlight job1 and select Maintain > Task in job . At this point you | + | #Highlight job1 and select Maintain > Task in job . At this point you will be presented with the Tasks in job console which contains a list of all tasks in the selected job, being job1 in this case. It's from here where you can add tasks to a job and create dependencies. |
- | will be presented with the Tasks in job console which contains a list of all | + | #Select Maintain > Add to add the tasks. A list of all tasks will be presented. Select all the tasks needed for job1. These are: task1, task2, task3, task4, task5, task6 and task7. |
- | tasks in the selected job, being job1 in this case. It's from here where you | + | #When done press Accept. All the tasks now should appear in the Tasks in job console. In the current configuration all the tasks will run in parallel. Looking at the task relationships within job1 from the diagram presented at the start of this appendix, task1, task2 and task3 are not dependent on any other task and will run in parallel. All other tasks are dependent on another task. |
- | can add tasks to a job and create dependencies. | + | |
- | 2. Select Maintain > Add to add the tasks. A list of all tasks will be presented. | + | |
- | Select all the tasks needed for job1. These are: task1, task2, task3, | + | |
- | task4, task5, task6 and task7. | + | |
- | 3. When done press Accept. All the tasks now should appear in the Tasks in | + | |
- | job console. In the current configuration all the tasks will run in parallel. | + | |
- | Looking at the task relationships within job1 from the diagram presented at | + | |
- | the start of this appendix, task1, task2 and task3 are not dependent on any | + | |
- | other task and will run in parallel. All other tasks are dependent on another | + | |
- | task. | + | |
The following steps create the dependencies for task4. | The following steps create the dependencies for task4. | ||
- | 1. Highlight task4. | + | #Highlight task4. |
- | 2. Select Dependencies > Cut. | + | #Select Dependencies > Cut. |
- | 3. Highlight task1. | + | #Highlight task1. |
- | 4. Select Dependencies > Paste. Task4 should now appear with indentation | + | #Select Dependencies > Paste. Task4 should now appear with indentation under task1. This signifies that task4 is dependent on task1. |
- | under task1. This signifies that task4 is dependent on task1. | + | #Highlight task4. |
- | 5. Highlight task4. | + | #Select Dependencies > Link. |
- | 6. Select Dependencies > Link. | + | #Highlight task2. |
- | 7. Highlight task2. | + | #Select Dependencies > Paste. Task4 should now also appear with |
- | 8. Select Dependencies > Paste. Task4 should now also appear with | + | indentation under task2. This signifies that task4 is dependent on task2. A task can only appear in a job once but dependent on multiple tasks. The first instance of a task in a job dependency structure is displayed normally, and all other instances (multiple dependencies) are represented by links. |
- | indentation under task2. This signifies that task4 is dependent on task2. A | + | |
- | task can only appear in a job once but dependent on multiple tasks. The first | + | |
- | instance of a task in a job dependency structure is displayed normally, and all | + | |
- | other instances (multiple dependencies) are represented by links. | + | |
The following steps create the dependencies for task5. | The following steps create the dependencies for task5. | ||
- | 1. Highlight task5. | + | #Highlight task5. |
- | 2. Select Dependencies > Cut. | + | #Select Dependencies > Cut. |
- | 3. Highlight task3. | + | #Highlight task3. |
- | 92 Appendix C—Tutorial | + | #Select Dependencies > Paste. |
- | 4. Select Dependencies > Paste. | + | |
The following steps create the dependencies for task6. | The following steps create the dependencies for task6. | ||
- | 1. Highlight task6. | + | #Highlight task6. |
- | 2. Select Dependencies > Cut. | + | #Select Dependencies > Cut. |
- | 3. Highlight task4. | + | #Highlight task4. |
- | 4. Select Dependencies > Paste. | + | #Select Dependencies > Paste. |
+ | |||
The following steps create the dependencies for task7. | The following steps create the dependencies for task7. | ||
- | 1. Highlight task7. | + | #Highlight task7. |
- | 2. Select Dependencies > Cut. | + | #Select Dependencies > Cut. |
- | 3. Highlight task4. | + | #Highlight task4. |
- | 4. Select Dependencies > Paste. | + | #Select Dependencies > Paste. |
- | 5. Highlight task7. | + | #Highlight task7. |
- | 6. Select Dependencies > Link. | + | #Select Dependencies > Link. |
- | 7. Highlight task5. | + | #Highlight task5. |
- | 8. Select Dependencies > Paste. | + | #Select Dependencies > Paste. |
+ | |||
All the dependencies have now been created. | All the dependencies have now been created. | ||
- | 1. Select Dependencies > Optimise to check and correct any deadlocks. | + | #Select Dependencies > Optimise to check and correct any deadlocks. |
+ | |||
Move onto the next job. | Move onto the next job. | ||
- | 1. Select View > Another job. | + | #Select View > Another job. |
- | 2. Highlight job2 | + | #Highlight job2 |
- | 3. A list of all jobs will be presented. Select job1. | + | #A list of all jobs will be presented. Select job1. |
- | 4. When done press Accept. At this point you will be presented with the | + | #When done press Accept. At this point you will be presented with the Tasks in job console which contains a list of all tasks in the selected job, being job2 in this case. |
- | Tasks in job console which contains a list of all tasks in the selected job, | + | |
- | being job2 in this case. | + | |
It's from here where you can add tasks to a job and create dependencies. | It's from here where you can add tasks to a job and create dependencies. | ||
- | 1. Select Maintain > Add to add the tasks. A list of all tasks will be presented. | + | #Select Maintain > Add to add the tasks. A list of all tasks will be presented. |
- | 2. Select all the tasks needed for job2. These are: task1, task5 and task8. | + | #Select all the tasks needed for job2. These are: task1, task5 and task8. |
- | 3. When done press Accept. All the tasks now should appear in the Tasks in | + | #When done press Accept. All the tasks now should appear in the Tasks in job console. In the current configuration all the tasks will run in parallel. Looking at the task relationships within job2 from the diagram presented at the start of this appendix, task1 is not dependent on any other task. All other tasks are dependent on another task. |
- | Appendix C—Tutorial 93 | + | |
- | job console. In the current configuration all the tasks will run in parallel. | + | |
- | Looking at the task relationships within job2 from the diagram presented at | + | |
- | the start of this appendix, task1 is not dependent on any other task. All | + | |
- | other tasks are dependent on another task. | + | |
The following steps create the dependencies. | The following steps create the dependencies. | ||
- | 1. Highlight all tasks. | + | #Highlight all tasks. |
- | 2. Select Dependencies > Sequence. | + | #Select Dependencies > Sequence. |
- | 3. Select task5 and holding down the left mouse button, drag task5 to the bottom | + | #Select task5 and holding down the left mouse button, drag task5 to the bottom of the list. The list should be in the following order: task1, task8, task5. |
- | of the list. The list should be in the following order: task1, task8, task5. | + | #When done press Accept. A sequence of dependent tasks should now appear. |
- | 4. When done press Accept. A sequence of dependent tasks should now | + | |
- | appear. | + | |
Configure the subjob. | Configure the subjob. | ||
- | 1. Highlight task8. | + | #Highlight task8. |
- | 2. Select View > Subjob. At this point you will be presented with the Tasks | + | #Select View > Subjob. At this point you will be presented with the Tasks in job console which contains a list of all tasks in the selected subjob, being subjob1 in this case. It's from here where you can add tasks to a subjob and create dependencies. |
- | in job console which contains a list of all tasks in the selected subjob, being | + | #Select Maintain > Add to add the tasks. |
- | subjob1 in this case. It's from here where you can add tasks to a subjob and | + | #A list of all tasks will be presented. Select all the tasks needed for subjob1. These are: task1 and task5. |
- | create dependencies. | + | #When done press Accept. All the tasks now should appear in the Tasks in job console. In the current configuration all the tasks will run in parallel. Looking at the task relationships within subjob1 from the diagram presented at the start of this appendix, task1 and task 5 are not dependent on any other task. Therefore no dependencies need to be configured. |
- | 3. Select Maintain > Add to add the tasks. | + | |
- | 4. A list of all tasks will be presented. Select all the tasks needed for subjob1. | + | You have successfully populated the jobs and created the dependencies. You have successfully populated the jobs and created the dependencies. |
- | These are: task1 and task5. | + | |
- | 5. When done press Accept. All the tasks now should appear in the Tasks in | + | <br> |
- | job console. In the current configuration all the tasks will run in parallel. | + | == Tutorial 6: Creating Wait Conditions == |
- | Looking at the task relationships within subjob1 from the diagram presented | + | |
- | at the start of this appendix, task1 and task 5 are not dependent on | + | #Highlight job2 and select Maintain > Task in job . At this point you will be presented with the Tasks in job console which contains a list of all tasks in the selected job, being job2 in this case. It's from here where you can wait conditions. |
- | any other task. Therefore no dependencies need to be configured. | + | #Select job8. |
- | You have successfully populated the jobs and created the dependencies. You have | + | #Select Dependencies > Wait for. |
- | successfully populated the jobs and created the dependencies. | + | #Enter the following for each relevant field: |
- | 94 Appendix C—Tutorial | + | #Press Check syntax to check the syntax of the wait condition. |
- | Tutorial 6: Creating Wait Conditions | + | #When done press Accept. The wait condition has been created. |
- | 1. Highlight job2 and select Maintain > Task in job . At this point you | + | |
- | will be presented with the Tasks in job console which contains a list of all | + | |
- | tasks in the selected job, being job2 in this case. It's from here where you | + | |
- | can wait conditions. | + | |
- | 2. Select job8. | + | |
- | 3. Select Dependencies > Wait for. | + | |
- | 4. Enter the following for each relevant field: | + | |
- | 5. Press Check syntax to check the syntax of the wait condition. | + | |
- | 6. When done press Accept. The wait condition has been created. | + | |
You have successfully created a queue. | You have successfully created a queue. | ||
Field Wait condition | Field Wait condition | ||
Line 313: | Line 286: | ||
Timeout (mins) | Timeout (mins) | ||
On failure assist | On failure assist | ||
+ | |||
+ | <br> |
Revision as of 07:40, 19 April 2006
Contents |
Appendix A—Installing task3G
This section describes how to install task3G for your environment. Task3G is installed through the COSMmanager configuration menu.
See Installing COSmanager Applications in the COSmanager User Guide for full details.
What you need
- the COSmanager framework installed on the target platform
- a CDrom containing the task3G software
- a valid license key
- you must be a COSmanager user with the Manager role
Installing task3G
- Load the CDrom in a CD drive on the local host or a network CD drive.
- Mount the CDrom using the appropriate mount command for your operating system (listed on the inside of the CD jacket).
- From the Product configuration menu, select COSmanager configuration > COSmanager applications.
- Select Application > Install.
- Enter the name of the host to which the CD drive is attached. In Install from, enter the file name containing the product distribution. Press Accept.
- You will see the application contained in the distribution file. Choose the row titled task3G version 4.1.
- Enter the name of the directory where you want task3G to be installed and press Accept.
COSmanager copies the task3G files from the CD distribution file to the target directory and creates the task3G audit trail.
Figure 20 — Installed COSmanager products
Appendix B—Job Recovery Action Outcomes
The following diagrams contained in this appendix illustrate the actions for each type of job recovery.
Figure 21 — Pre-condition and error recovery
In figure 21, the flow of the pre-condition and error job recoveries are illustrated. One thing to keep in mind is that depending which override status is selected (this is configured in when defining a job, see How to Define a Task on page 36.) will depend on what status the task will end in if an On-error command is defined.
Figure 22 — Kill job and timeout recovery
Figure 22 illustrates the kill and timeout job recovery actions.
Appendix C—Tutorial
The following diagram represents the relationships between the jobs and tasks that will be created and run.
Figure 23 — Job content and task relationship representation.
Entering Configuration
To start COSMmanager either:
- Login as a COSMmanager 'Manager' and run 'cos'
OR
- Login as 'root'
- ksh
- cd ~cosmos
- bin/cos -u cosmos
- Click on the Config button from the COSMmanager menubar.
- From the Product Configuration menu select task3G Configuration. You will now be presented with the task3G jobs console. This is where all configuration is done.
Tutorial 1: Creating a Queue
- To configure a queue, select Tables > Queues. At this point you will be presented with the Job queue details console which contains a list of all currently defined queues. It's from here where you can Add, Change, Clone or Delete queues.
- Select Maintain > Add to create a queue.
- Enter the following for each relevant field:
Note For more information, see How to Define a Job Queue on page 54.
- When done, press Accept. There should now be an acknowledged that the QUEDEFS has been updated and an addition of the item D_queue was successful. The queue should now appear on the Job queue details console.
You have successfully created a queue. Field Data Queue D_queue Description D queue - tutorial Unix queue d Concurrent jobs 2 Rescheduled time 60 Priority 2
Tutorial 2: Creating a Job
At this point you will be presented with the task3G jobs console which contains a list of currently defined jobs and subjobs. It's from here where you can Add, Change, Clone or Delete jobs Repeat these steps for each of the following jobs.
- Select Maintain > Add to create a job.
- Enter the following for each relevant field:
Field Job1 Job2 Job job1 job2 Description Job1 - tutorial Job2 - tutorial Mode manual manual When N/A N/A At time(s) On (day) N/A N/A Access role Other Other Run on host Queue D-queue AT_queue Fixed parameters Prompt form At-submit command Wait condition Timeout (mins) Pre-condition On failure N/A N/A At-end command Clear status submit submit Appendix C—Tutorial 85 Note For more information, see How to Define a Job on page 28.
- When done press Accept.
The jobs should now appear on the task3G jobs console. You have successfully created the jobs. Concurrent jobs Priority Notes Field Job1 Job2
Tutorial 3: Creating a Subjob
At this point you will be presented with the task3G jobs console which contains a list of currently defined jobs and subjobs. It's from here where you can Add, Change, Clone or Delete subjobs.
- Select Maintain > Add to create a job.
- Enter the following for each relevant field:
Field Subjob1 Job subjob1 Description Subjob1 - tutorial Mode subjob When N/A At time(s) N/A On (day) N/A Access role N/A Run on host Queue N/A Fixed parameters N/A Prompt form At-submit command N/A Wait condition Timeout (mins) N/A Pre-condition On failure N/A At-end command Clear status N/A Note For more information, see How to Define a Job on page 28.
- When done press Accept.
The subjob should now appear on the task3G jobs console. You have successfully created a subjob. Concurrent jobs N/A Priority N/A Notes Field Subjob1
Tutorial 4: Creating a Task
To configure a task, select Tables > Tasks. At this point you will be presented with the Tasks console which contains a list of currently defined tasks. Its from here where you can Add, Change, Clone or Delete tasks.
Repeat these steps for each of the following jobs.
- Select Maintain > Add to create a task.
- Enter the following for each relevant field:
Field Task1 Task2 Task3 Task4 Task name task1 task2 task3 task4 Command sleep 5 sleep 5; exit 1 sleep 5; exit 1 sleep 5; exit 1 Run on host As user Subjob N/A N/A N/A N/A Comment Task1 - tutorial Task2 - tutorial Task3 - tutorial Task4 - tutorial Pre-condition On-success cmd On-error cmd Override status N/A no N/A N/A Timeout (mins) On-error assist assist continue assist On pre-cond fail N/A N/A N/A N/A On kill assist assist assist assist On timeout N/A N/A N/A N/A Can re-run yes no yes yes Can continue yes yes yes yes Can kill yes no yes yes Appendix C—Tutorial 89 Note: For more information, see How to Define a Task on page 36.
- When done press Accept.
Notes Field Task5 Task6 Task7 Task8 Task name task5 task6 task7 task8 Command sleep 5 sleep 5; exit 1 sleep 5 N/A Run on host N/A As user N/A Subjob N/A N/A N/A subjob1 Comment Task5 - tutorial Task6 - tutorial Task7 - tutorial Subjob - tutorial Pre-condition On-success cmd On-error cmd Override status N/A N/A N/A N/A Timeout (mins) On-error assist ignore assist assist On pre-cond fail N/A N/A N/A N/A On kill assist assist assist assist On timeout N/A N/A N/A N/A Can re-run yes no yes yes Can continue yes yes yes yes Can kill yes no yes yes Notes Field Task1 Task2 Task3 Task4
The tasks should now appear on the Tasks console. You have successfully created the tasks.
Tutorial 5: Adding Tasks to a Job and Creating Dependencies
- Highlight job1 and select Maintain > Task in job . At this point you will be presented with the Tasks in job console which contains a list of all tasks in the selected job, being job1 in this case. It's from here where you can add tasks to a job and create dependencies.
- Select Maintain > Add to add the tasks. A list of all tasks will be presented. Select all the tasks needed for job1. These are: task1, task2, task3, task4, task5, task6 and task7.
- When done press Accept. All the tasks now should appear in the Tasks in job console. In the current configuration all the tasks will run in parallel. Looking at the task relationships within job1 from the diagram presented at the start of this appendix, task1, task2 and task3 are not dependent on any other task and will run in parallel. All other tasks are dependent on another task.
The following steps create the dependencies for task4.
- Highlight task4.
- Select Dependencies > Cut.
- Highlight task1.
- Select Dependencies > Paste. Task4 should now appear with indentation under task1. This signifies that task4 is dependent on task1.
- Highlight task4.
- Select Dependencies > Link.
- Highlight task2.
- Select Dependencies > Paste. Task4 should now also appear with
indentation under task2. This signifies that task4 is dependent on task2. A task can only appear in a job once but dependent on multiple tasks. The first instance of a task in a job dependency structure is displayed normally, and all other instances (multiple dependencies) are represented by links.
The following steps create the dependencies for task5.
- Highlight task5.
- Select Dependencies > Cut.
- Highlight task3.
- Select Dependencies > Paste.
The following steps create the dependencies for task6.
- Highlight task6.
- Select Dependencies > Cut.
- Highlight task4.
- Select Dependencies > Paste.
The following steps create the dependencies for task7.
- Highlight task7.
- Select Dependencies > Cut.
- Highlight task4.
- Select Dependencies > Paste.
- Highlight task7.
- Select Dependencies > Link.
- Highlight task5.
- Select Dependencies > Paste.
All the dependencies have now been created.
- Select Dependencies > Optimise to check and correct any deadlocks.
Move onto the next job.
- Select View > Another job.
- Highlight job2
- A list of all jobs will be presented. Select job1.
- When done press Accept. At this point you will be presented with the Tasks in job console which contains a list of all tasks in the selected job, being job2 in this case.
It's from here where you can add tasks to a job and create dependencies.
- Select Maintain > Add to add the tasks. A list of all tasks will be presented.
- Select all the tasks needed for job2. These are: task1, task5 and task8.
- When done press Accept. All the tasks now should appear in the Tasks in job console. In the current configuration all the tasks will run in parallel. Looking at the task relationships within job2 from the diagram presented at the start of this appendix, task1 is not dependent on any other task. All other tasks are dependent on another task.
The following steps create the dependencies.
- Highlight all tasks.
- Select Dependencies > Sequence.
- Select task5 and holding down the left mouse button, drag task5 to the bottom of the list. The list should be in the following order: task1, task8, task5.
- When done press Accept. A sequence of dependent tasks should now appear.
Configure the subjob.
- Highlight task8.
- Select View > Subjob. At this point you will be presented with the Tasks in job console which contains a list of all tasks in the selected subjob, being subjob1 in this case. It's from here where you can add tasks to a subjob and create dependencies.
- Select Maintain > Add to add the tasks.
- A list of all tasks will be presented. Select all the tasks needed for subjob1. These are: task1 and task5.
- When done press Accept. All the tasks now should appear in the Tasks in job console. In the current configuration all the tasks will run in parallel. Looking at the task relationships within subjob1 from the diagram presented at the start of this appendix, task1 and task 5 are not dependent on any other task. Therefore no dependencies need to be configured.
You have successfully populated the jobs and created the dependencies. You have successfully populated the jobs and created the dependencies.
Tutorial 6: Creating Wait Conditions
- Highlight job2 and select Maintain > Task in job . At this point you will be presented with the Tasks in job console which contains a list of all tasks in the selected job, being job2 in this case. It's from here where you can wait conditions.
- Select job8.
- Select Dependencies > Wait for.
- Enter the following for each relevant field:
- Press Check syntax to check the syntax of the wait condition.
- When done press Accept. The wait condition has been created.
You have successfully created a queue. Field Wait condition Wait condition $job1:task7 Timeout (mins) On failure assist