ANOTHER IT CO

DataStage Version 5 Tools

The following tools are provided on an "as-is" basis without warranty of any kind. Please refer to the agreement in each tool for complete details.

The following tools were developed using Universe Basic for pre-version 6 DataStage. They must be copied to, compiled, and run on your DataStage server. If you are unsure how to do this, send me an email, and I will try to help.

List hash files used by all jobs in a project.

Sample Output:

RUN BP LIST_HASH
3 record(s) selected to SELECT list #2.
Job: FirstJobName
  Stage: YourStageName     Link Name: YourLinkName
    Hash File Name: YourHashFileName
      Column1Name,Column2Name

Job: SecondJobName
  Stage: StageName         Link Name: YourLinkName
    Hash File Name: YourHashFileName
      Column1Name,Column2Name

Job: ThirdJobName             <== This job has no hash files.

List Oracle OCI8 tables used by all jobs in a project.

Sample Output:

RUN BP LIST_OCI
3 record(s) selected to SELECT list #2.
Job: FirstJobName
  Stage: YourStageName     Link Name: YourLinkName
    Hash File Name: YourHashFileName
      Column1Name,Column2Name

Job: SecondJobName
  Stage: StageName         Link Name: YourLinkName
    Hash File Name: YourHashFileName
      Column1Name,Column2Name

Job: ThirdJobName             <== This job has no hash files.

List Oracle ODBC tables used by all jobs in a project.

Sample Output:

RUN BP LIST_ODBC
3 record(s) selected to SELECT list #2.
Job: FirstJobName
  Stage: YourStageName     Link Name: YourLinkName
    Hash File Name: YourHashFileName
      Column1Name,Column2Name

Job: SecondJobName
  Stage: StageName         Link Name: YourLinkName
    Hash File Name: YourHashFileName
      Column1Name,Column2Name

Job: ThirdJobName             <== This job has no hash files.

List parameters used by all jobs in a project.

Sample Output:

RUN BP LIST_PARAMETERS
2 record(s) selected to SELECT list #0.
Processing job: FirstJobName
  Processing job number: 1
     Job1Parameter1Name

Processing job: SecondJobName
  Processing job number: 2
     Job2Parameter1Name
     Job2Parameter2Name

List all jobs in a project that use a specific table via an Hash stage.

Sample Output:

RUN BP SEARCH_HASH
Enter table name to search for: YourTableName

5000 record(s) selected to SELECT list #2.
Job: FirstJobNameThatUsesYourTable

Job: SecondJobNameThatUsesYourTable

Job: ThirdJobNameThatUsesYourTable

Done.

List all jobs in a project that use a specific table via an OCI8 stage.

Sample Output:

RUN BP SEARCH_OCI
Enter table name to search for: YourTableName

5000 record(s) selected to SELECT list #2.
Job: FirstJobNameThatUsesYourTable

Job: SecondJobNameThatUsesYourTable

Job: ThirdJobNameThatUsesYourTable

Done.

List all jobs in a project that use a specific table via an ODBC stage.

Sample Output:

RUN BP SEARCH_ODBC
Enter table name to search for: YourTableName

5000 record(s) selected to SELECT list #2.
Job: FirstJobNameThatUsesYourTable

Job: SecondJobNameThatUsesYourTable

Job: ThirdJobNameThatUsesYourTable

Done.

Copyright 2016 Another IT Co