i have source like
deptno,sal
1,2000
2,3000
3,4000
1,2300
4,5000
5,1100
i want target like
target1
deptno,sal
1,2000
3,4000
4,5000
target2
2,3000
1,2300
5,1100
with out using transformerstage
Answer Posted / thippareddy.p
From source copy the data into sets using copy or peak
stage then for each copy stage use remove duplicate stage
with duplicate to retain first and last you will get
desired output.....
Hope thios will help u.......
| Is This Answer Correct ? | 1 Yes | 16 No |
Post New Answer View All Answers
Why do we use exception activity in Datastage?
What is use Array size in datastage
Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also
What are the different common services in datastage?
options available in sequence job to run,validate?
Name the different types of Lookups in Datastage?
Describe routines in datastage? Enlist various types of routines.
Why fact table is in normal form?
create a job that splits the data in the Jobs.txt file into
four output files. You will direct the data to the
different output files using constraints. • Job name:
JobLevels
• Source file: Jobs.txt
• Target file 1: LowLevelJobs.txt
− min_lvl between 0 and 25 inclusive.
− Same column types and headings as Jobs.txt.
− Include column names in the first line of the output file.
− Job description column should be preceded by the
string “Job
Title:” and embedded within square brackets. For example, if
the job description is “Designer”, the derived value
is: “Job
Title: [Designer]”.
• Target file 2: MidLevelJobs.txt
− min_lvl between 26 and 100 inclusive.
− Same format and derivations as Target file 1.
• Target file 3: HighLevelJobs.txt
− min_lvl between 101 and 500 inclusive.
− Same format and derivations as Target file 1.
• Rejects file: JobRejects.txt
− min_lvl is out of range, i.e., below 0 or above 500.
− This file has only two columns: job_id and reject_desc.
− reject_desc is a variable-length text field, maximum
length
100. It should contain a string of the form: “Level out of
range:
How to RD using transformer?
What are system variables and sequencers in datastage
What are the important features of datastage?
What is the difference between Datastage 7.5 and 7.0?
What are the differences between datastage and informatica?
Difference between IBM DATA STAGE8.5 and DATA STAGE9.1 ?