Está en la página 1de 2

Exercises Check the no. of PCs which has DataStage 7.

5 installed and accordingly divide yourself into teams of n participants each


1. Create a sample project in the Administrator named Training<n> where n is the team number/participant number 2. In the respective projects, create a job named Team<n>Job1. a. Add a sequential file as source b. Add a Transformer c. Add a sequential file as target d. Set the properties for source and target sequential files e. View Data at the source and target levels f. Validate the job and the run the job g. View Data at the source and target levels again 3. Create a job named Team<n>DS1 a. Add a Oracle stage as source b. Go to properties and provide the connection parameters and the table name to be populated c. Import Metadata using Orchestrate Schema Definitions d. Add a Dataset stage as target e. Run the job and see the log 4. For the above job, go to properties and add the Environment Variable for Configuration file and pass path for configx4.apt file. If theres no such file, then create one using Manager. Run the job and see the log for the changes. 5. Create a job named Team<n>Trans1 a. Add a Oracle stage as a source b. Set the properties for the source stage c. Add a transformer stage d. Add a sequential file as target stage and link the stages e. Set the target properties f. Set the Transformer properties g. Add new field Record_Date at the target end of type VARCHAR. h. Use @Date with OCONV function to populate target Record_Date i. Run the job and verify the result and the log 6. For the above job, add a record at the back end with some field with a NULL value a. Add a sequential file stage as a reject stage b. Add a constraint in the Transformer NOT(ISNULL(Fieldname)) c. Set the Reject property of the transform for Reject link d. Run the job and verify the result and the log 7. Use different functions like TRIM, UCASE, NUM, DIGITS, built-in date transforms and routines available in the Transformer stage for your exercises 8. Create a job named Team<n>Aggr1. You need to find out the max salary grouped by dept a. Add an Oracle stage as source and set the properties. Use EMP table b. Add a Aggregator stage c. Add a sequential file stage as target and set the properties d. Set the Aggregator properties by including grouping key and the column to be aggregated e. Run the job and verify the result and the log. 9. Similarly, use other Aggregator functions and explore 10. Check to what extent naming conventions have been used in the jobs developed earlier. Include all the recommendations not used. 11. Create a job named Team<n>SeqFile1

12. 13.

14.

15.

16. 17.

18. 19.

a. Add a sequential file as source stage b. Add a Oracle stage/dataset as a target stage c. Set the properties for source and target. Choose that file which has good number of rows. Else, create a sequential file of 100,000 rows using Row Generator d. Run the job and verify the result and the log For the above, job set the sequential stage properties and choose Number of Readers per Node option and set the value to 4. Run the job and verify the result and the log Create 10 sequential files in the same directory with the names SeqFile1a.txt, SeqFile2a.txt, SeqFile10a.txt having the same format (Use Row Generator). a. For the above job, Choose Read Method property as File Pattern b. Provide the pattern SeqFile*a.txt c. Run the job and verify the result and the log For the above job, change the configuration file and then run the job and verify the result and the log Create a job Team<n>Sort1 a. Add a Oracle/Sequential File stage as source and set the properties b. Add a Sort stage c. Add Oracle/Sequential File/Dataset stage as target and set the properties d. Set the properties in the Sort stage by providing the sorting columns e. Run the job and verify the result and the log Use your own examples and use different RDMBS stages Use a Sequencer for the above jobs a. Use a Sequencer and add the different Job Activity stages b. Set the jobs in each of the Job Activity stage c. Add a Job Sequencer stage and connect a few jobs to the Job Sequencer d. Link the Job Sequencer to another job e. Set the property of the Job Sequencer to Any f. Run the Sequence and verify the result and the log Use the above Sequence and set the Job Sequencer property to all and run the Sequence. Identify the difference between running the Sequence in All and Any modes by verifying the log. Use different DSEE stages by modifying the exercises carried out earlier

También podría gustarte