Creating and accessing a work ID
These procedures explain how to create and save a new work ID, and how to open an existing work ID.
Before you begin
Ensure that you understand the concepts presented in Overview-of-work-IDs.
To create and save an empty work ID
In the BMC AMI Log Master for Db2 Main Menu, from the Repository Objects category, select 20. Create or Edit Work IDs and press Enter.Log Masterdisplays the Work ID File Menu.
WORKIDWork ID Maintenance
C .-------------------------------------------------.
| FILE Work ID File Menu |
W | |
D | Work ID . . : USER.$$WORKID0002 |
U | |
| Select an Action. Then press Enter. |
W | |
| Actions . . . _ 1. New |
T | 2. Open |
| *. Save |
A | *. Save As |
* | *. Generate JCL |
| |
| F1=Help F3=Exit F12=Cancel |
'-------------------------------------------------'Select New.Log Master displays the Step Type panel.
.--------------------------------------------------------.
| Step Type |
| |
| Step Type . . . 1. Log Scan |
| 2. Log Mark |
| 3. Execute SQL |
| 4. Automated Drop Recovery |
| 5. High-speed Apply JCL Generation |
| 6. Repository Maintenance |
| |
| F1=Help F3=Exit F12=Cancel |
.--------------------------------------------------------.- Press F3 twice to return to the Work ID File Menu (see above figure in step 1).
- Select Save As.Log Master displays the Work ID Name Entry panel.
Accept the default work ID name, security settings, and date format, or enter a new values, and then press F3.Log Master displays the Work ID File Menu (see above figure in step 1).
For a list of editing tasks that you can perform to continue defining the work ID, see following table:
Task
Reference
Specify run time options for a work ID
Add a step to the work ID
Create a batch job from the information in a work ID
To open an existing work ID
- In the BMC AMI Log Master for Db2 Main Menu, from the Repository Objects category, select 20. Create or Edit Work IDs and press Enter.Log Master displays (see above figure in step 1).
- Select Open and press Enter.Log Master displays the Open Work ID panel.
- In the Work ID Name field, type the name of the work ID, or type a partial name and a wildcard, and then press Enter.Valid wildcards are ?, %, and *. For more information about using wildcards, press F1 to access the online Help.
- To select a work ID from the list, type S in the ACT field next to the ID and press Enter.Log Master displays the Work ID Maintenance panel. (For an example, see Work ID Maintenance panel.)
- Add a new log scan step, or edit an existing step:
To add a log scan step, type I in the ACT field and press Enter.
Log Master displays the Step Type panel (see above figure in step 2).
To edit a log scan step, type E in the ACT field and press Enter.
Log Master displays the Log Scan Options panel. (For an example, see Log Scan Options panel.)
Related topic