Cisco Cisco Workload Automation 6.3 User Guide

Page of 78
50
 
Creating a File Dependency
Creating a Job with a File Dependency
Viewing the Job in Production
To view the job in production:
1.
Open the Job Activity pane.
2.
The EDI_Download job first appears with a Waiting on Dependencies status. It goes through different stages and 
ends in a Scheduled status.
3.
Select the EDI_Download job occurrence.
4.
Right-click the EDI_Download job and select Details from the context menu to see its Job Detail dialog.
5.
Click the Dependencies tab to view the file dependency status.
The Job Detail dialog displays the file dependency for this job.
6.
Click OK to close the dialog.
Creating a File to Satisfy the Dependency
In this example, the dependency only requires that the file exists and does not require any specific data. For this exercise, 
we just create an empty file since the job does not require any data from the file. Normally, however, this kind of 
dependency is set up because the job uses the data from the file’s input.
To create a file to satisfy the dependency:
1.
Open a new document in a text editor or word processing program for your platform, such as Notepad or Microsoft 
Word (Windows) or vi, joe, or pico (UNIX).
2.
Save the file as EDI_File.txt in the location that you specified when defining the file dependency for your platform:
Windows
C:\Program Files\<Installation Directory>\Agent\Tutorial EDI_File.txt
Substitute the name of the directory where CWA is installed for
 <Installation Directory>.
UNIX
/Edi_File.sh