Академический Документы
Профессиональный Документы
Культура Документы
Basic
C3: Protected
Icons Used
Questions Hands-on Exercise
A Welcome Break
Coding Standards
Reference
Demo
Key Contacts
Enter the hostname or IP address of the server where DataStage is installed Enter your operating system username and password
Adding Projects
Provided that you have the proper permissions, you can add as many projects to the DataStage server as necessary. In normal projects any DataStage developer can create, delete, or modify any object within the project once it has been created.
Tip: The default directory path in which to create projects is located under the root directory of the DataStage server installation. For example, if the server was installed to /appl/Ascential/DataStage the projects would be installed to /appl/Ascential/DataStage/Projects/{project name}.
Copyright 2005, Cognizant Academy, All Rights Reserved 9
Deleting Projects
Highlight the project to be deleted
Make sure you have a current backup of your project, just in case!
10
11
12
13
14
15
Verification that the currently selected user account can schedule jobs
16
17
Server Commands
Select a project and click Command
When you execute the command, a new window will show the response from the engine
18
19
20
21
22
23
24
25
27
Validating a Job
You can check that a job or job invocation will run successfully by validating it. Jobs should be validated before running them for the first time, or after making any significant changes to job parameters. When a server job is validated, the following checks are made without actually extracting, converting, or writing data. Connections are made to the data sources or data warehouse. SQL SELECT statements are prepared. Files are opened. Intermediate files in Hashed File, UniVerse, or ODBC stages that use the local data source are created, if they do not already exist.
28
Click Validate when Job Run Options and parameters have been set
Copyright 2005, Cognizant Academy, All Rights Reserved 29
Running a Job
Click Run when Job Run Options, parameters and tracing options have been set
Copyright 2005, Cognizant Academy, All Rights Reserved 30
Monitoring a Job
31
Stopping a Job
32
Resetting a Job
If a job has stopped or aborted, then it is difficult to determine whether all the required data was written to the target data tables. When a job has a status of Stopped or Aborted, you must reset it before running the job again. By resetting a job, you set it back to a runnable state and, optionally, return your target files to the state they were in before the job was run. To reset a job or job invocation: 1. Select the job or invocation you want to reset in the Job Status view. 2. Choose Job > Reset or click the Reset button on the toolbar. A message box appears. 3. Click Yes to reset the tables. All the files in the job are reinstated to the state they were in before the job was run. The jobs status is updated to Has been reset.
Copyright 2005, Cognizant Academy, All Rights Reserved 33
34
36
Where to stop showing log entries What type of log entries to show How many log entries to show
37
38
39
Schedule View
40
41
42
43
44
Cleaning Up Resources
If the Enable Job Administration in Director option has been set in the DataStage Administrator, then certain functions are available to help you clean up the resources of a job that has hung or aborted or return a job to a state in which you can rerun it after the cause of the problem has been fixed. You should use them with care, and only after you have tried to reset the job and you are sure it has hung or aborted. The Cleanup Resources command lets you: View and end job processes View and release the associated locks
45
46
Select a hung job and select Clear Status File from Job menu
47
48
49
50
Disclaimer: Parts of the content of this course is based on the materials available from the Web sites and books listed above. The materials that can be accessed from linked sites are not maintained by Cognizant Academy and we are not responsible for the contents thereof. All trademarks, service marks, and trade names in this course are the marks of the respective owner(s).
Copyright 2005, Cognizant Academy, All Rights Reserved 52